THE NETWORKINGTS FROM SCRATCH: IO ObjectsTHE NETWORKING TS FROM SCRATCH ## I /O Objects Robert Leahy - rleahy@rleahy.ca ISO C++ Networking is blocked on Executors (P0443) Target for Networking is currently C++23 (P0592) Used standalone Asio of composed asynchronous operations depend on those guarantees being honored transitively ## “I/O objects” provide a handle to low level asynchronous functionality within the framework of the Networking (perhaps including one or more I/O objects) is a useful pattern Service objects own completion handlers thereby breaking the potential ownership cycle Service objects are owned by an ExecutionContext0 码力 | 35 页 | 900.82 KB | 1 年前3
Object Introspection: A Revolutionary Memory Profiler for C++ Objects## +23 ## Object Introspection: A Revolutionary Memory Profiler for C++ Objects ## JONATHAN HASLAM & ADITYA SARWADE 20 23 October 01 - 06 ## Scene Setting “... functions then provide the basic p4_1.jpg) ## Object Introspection (Ol) Goals - Byte level memory footprint analysis for objects • Complete object type hierarchies • Dynamic allocations and containers • Optimised, production Unused container memory: Unused Sz = (C.capacity() - C.size()) * sizeof(element) • 2800 nested objects of type ‘FooBar’ were analysed. Top of the list: |Name|TypeName|Number|ElemStatSz|Length|Capac0 码力 | 62 页 | 2.24 MB | 1 年前3
Flask Documentation (1.1.x)Setup Define and Access the Database Blueprints and Views Templates Static Files Blog Blueprint Make the Project Installable Test Coverage Deploy to Production Keep Developing! Templates • Why Blueprints? • The Concept of Blueprints • My First Blueprint • Registering Blueprints • Blueprint Resources • Building URLs • Error Handlers • Extensions this part of the documentation is for you. • API Application Object Blueprint Objects o Incoming Request Data o Response Objects o Sessions o Session Interface o Test Client o Test0 码力 | 428 页 | 895.98 KB | 2 年前3
PostGIS 3.0 dev Manual|Loader/Dumper| 3. PostGIS Frequently Asked Questions 1. Using PostGIS: Data Management and Queries GIS Objects OpenGIS WKB and WKT PostGIS EWKB, EWKT and Canonical Forms SQL-MM Part 3 PostGIS Geography Type Information Systems) objects to be stored in the database. PostGIS includes support for GiST-based R-Tree spatial indexes, and functions for analysis and processing of GIS objects.  */ /* Bytes object that holds location info */ /* to support weakrefs to code objects */ /* cached co_* attributes */ /* index of first traceable instruction */ /* array of line offsets •Specializing Adaptive Interpreter • Inline cache ## Faster Startup ## Frozen imports / Static code objects Python cach > time python3.10 -c 'pass' ectory to speed up module loading. Previously 0m0.008s In Python 3.11, the core modules `essys` `0m0.001s` `ozen`. This means that their code objects (and bytecode) are statically allocated by the interpreter. This reduces the steps in module execution0 码力 | 21 页 | 3.18 MB | 2 年前3
Flask Documentation (1.1.x)might find surprising or unorthodox. For example, Flask uses thread-local objects internally so that you don't have to pass objects around from function to function within a request in order to stay threadsafe localhost:5000 ☆ : ## TypeError TypeError: cannot concatenate 'str' and 'NoneType' objects Traceback (most recent call last) File "/Users/mitsuhiko/Development/flask/flask.py", line %endif % } } Inside templates you also have access to the request, session and $ g^{1} $ objects as well as the get_flashed_messages() function. Templates are especially useful if inheritance is0 码力 | 291 页 | 1.25 MB | 2 年前3
Apache Unomi 1.x - Documentationsystem you can use the command: unomi:rule-list 1000 The 1000 parameter is the limit of number of objects to retrieve. As the number of rules can grow quickly in an Apache Unomi instance, it is recommended |name|String||Action name| |hidden|Boolean||Define if the action is hidden or not. It is usually used to hide objects in a UI.| |parameters|List<Parameter>||The parameters of the actions, also defined by annotations| not meant to be modified by end users. These tags may include values that help classify associated objects.| The function contained within the Groovy Action must be called execute() and its last instruction0 码力 | 158 页 | 3.65 MB | 1 年前3
Apache Unomi 2.x - Documentationmodel. One of the key differences is the removal of open maps. The properties field in the events objects provided by unomi are now restricted by JSON schema. This means object properties must be declared not create dynamic mapping contrary to the properties field of the events. Here is an example for objects that used dynamic properties for URL parameters: The following event example in Apache Unomi 1.x: 2 migration process will handle the data model changes for you. If you are using custom events/objects, please refer to the detailed migration guide for more details. ##### 1.1.5. NEW WEB TRACKER Apache0 码力 | 117 页 | 4.78 MB | 1 年前3
Celery 3.0 Documentationthat I must introduce the canvas primitives... ## The Primitives These primitives are signature objects themselves, so they can be combined in any number of ways to compose complex work-flows. Note: These models import User @app.task #### 2.3. User Guide def create_user(username, password): User.objects.create(username=username, password=password) There are also many options that can be set for the the decorator: @app.task(serializer='json') def create_user(username, password): User.objects.create(username=username, password=password) How do I import the task decorator? And what's0 码力 | 703 页 | 2.60 MB | 2 年前3
Celery v4.0.0 Documentationthat I must introduce the canvas primitives... ## The Primitives These primitives are signature objects themselves, so they can be combined in any number of ways to compose complex work-flows. Note: These models import User @app.task #### 2.3. User Guide def create_user(username, password): User.objects.create(username=username, password=password) There are also many options that can be set for the the decorator: @app.task(serializer='json') def create_user(username, password): User.objects.create(username=username, password=password) How do I import the task decorator? And what's0 码力 | 701 页 | 2.59 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
I/O ObjectsExecutorsCompletion handlersOwnership cyclesExecutionContextObject IntrospectionMemory ProfilerType ReconstructionCode GenerationDebug InfoFlaskApplication ObjectBlueprint ObjectsJinjaWerkzeugPostGISPostgreSQLGiST-based R-TreeGIS objectsPostGIS extensionsPython启动速度PyCDS设计与实现Frozen importsStatic code objectsCPython 3.11优化Jinja2扩展配置管理Apache Unomi配置安全性事件REST APIApache Unomi 2.0GraphQL APIJSON SchemaProfiles AliasesScopesCelery分布式系统任务队列任务流程定义性能优化任务调度版本更新













