The Many Shades of reference_wrapper
• assignment rebinds a different object to the reference • like Python 10 CppCon 2020reference_wrapper dialog = some_object; if (cond) dialog = some_other_object; process(dialog); 11 CppCon 2020models f(vectorconst& v) { reference_wrapper r = v[0]; // reference_wrapper } 14 CppCon 2020Create from non-const lvalue void f(vector v) { reference_wrapper r = std::as_const(v[0]); } 15 C++20only binds to lvalue reference_wrapper r = "foo"s; // doesn’t compile auto& r = "foo"s; // doesn’t compile 16 CppCon 2020only binds to lvalue, too reference_wrapper r = "foo"s; // 0 码力 | 49 页 | 575.61 KB | 5 月前3Apache Karaf 3.0.5 Guides
shutdown command. START, STOP, RESTART, CONNECT 27 Integration in the operating system: the Service Wrapper In the previous chapter, we saw the different scripts and commands to start, stop, restart Apache provides the "Service Wrapper". The service wrapper allows you to directly integrate Apache Karaf: • like a native Windows Service • like a Unix daemon process The "Service Wrapper" correctly handles It also includes advanced fault detection software which monitors an application. The "Service Wrapper" is able to detect crashes, freezes, out of memory and other exception events, then automatically0 码力 | 203 页 | 534.36 KB | 1 年前3Apache Karaf Container 4.x - Documentation
Status 4.3.4. Restart 4.3.5. SystemMBean 4.4. Integration in the operating system 4.4.1. Service Wrapper 4.4.2. Service Script Templates 4.5. Using the console 4.5.1. Available commands 4.5.2. Subshell Service Wrapper • Service Script Templates The above methods allow you to directly integrate Apache Karaf: • like a native Windows Service • like a Unix daemon process 4.4.1. Service Wrapper The "Service "Service Wrapper" correctly handles "user log outs" under Windows, service dependencies, and the ability to run services which interact with the desktop. It also includes advanced fault detection software0 码力 | 370 页 | 1.03 MB | 1 年前3MuPDF 1.22.0 Documentation
Class-aware C++ API C++ wrapper classes wrap most fz_* and pdf_* C structs. • Class names are camel-case versions of the wrapped struct’s name, for example fz_document’s wrapper class is mupdf::FzDocument be treated as values and copied arbitrarily. Class-aware functions and methods take and return wrapper class instances instead of MuPDF C structs. • No fz_context* arguments. • MuPDF exceptions are the corresponding wrapper class. 141 MuPDF Documentation, Release 1.21.2 • Where a MuPDF function returns a pointer to a struct, the class-aware C++ wrapper will return a wrapper class instance by value0 码力 | 175 页 | 698.87 KB | 7 月前3MuPDF 1.24.0 Documentation
Class-aware C++ API C++ wrapper classes wrap most fz_* and pdf_* C structs. • Class names are camel-case versions of the wrapped struct’s name, for example fz_document’s wrapper class is mupdf::FzDocument be treated as values and copied arbitrarily. Class-aware functions and methods take and return wrapper class instances instead of MuPDF C structs. • No fz_context* arguments. • MuPDF exceptions are the corresponding wrapper class. 201 MuPDF Documentation, Release 1.24.0 • Where a MuPDF function returns a pointer to a struct, the class-aware C++ wrapper will return a wrapper class instance by value0 码力 | 249 页 | 830.15 KB | 7 月前3MuPDF 1.23.0 Documentation
Class-aware C++ API C++ wrapper classes wrap most fz_* and pdf_* C structs. • Class names are camel-case versions of the wrapped struct’s name, for example fz_document’s wrapper class is mupdf::FzDocument be treated as values and copied arbitrarily. Class-aware functions and methods take and return wrapper class instances instead of MuPDF C structs. • No fz_context* arguments. • MuPDF exceptions are the corresponding wrapper class. 201 MuPDF Documentation, Release 1.23.0 • Where a MuPDF function returns a pointer to a struct, the class-aware C++ wrapper will return a wrapper class instance by value0 码力 | 245 页 | 817.74 KB | 7 月前3waitress Documentation v1.1.0
Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper waitress-serve Glossary Change History 1.1.0 (2017-10-10) Features Waitress now has a __main__ com/nose-devs/nose/issues/407 for more information. Give the WSGI app_iter generated when wsgi.file_wrapper is used (ReadOnlyFileBasedBuffer) a close method. Do not call close on an instance of such a class of extremely large output buffers (greater than 2GB, suspected to be buffers added via wsgi.file_wrapper) might cause an OverflowError on Python 2. See https://github.com/Pylons/waitress/issues/47. When0 码力 | 36 页 | 41.63 KB | 1 年前3waitress Documentation v2.1.1
Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper waitress-serve Socket Activation Glossary Change History 2.1.1 Security Bugfix Waitress now validates is no longer supported by Waitress Python 3.10 is fully supported by Waitress Bugfix wsgi.file_wrapper now sets the seekable, seek, and tell attributes from the underlying file if the underlying file which non-seekable subclasses of io.IOBase would trigger an exception when passed to the wsgi.file_wrapper callback. See https://github.com/Pylons/waitress/pull/249 1.2.1 (2019-01-25) Bugfixes When given0 码力 | 53 页 | 58.27 KB | 1 年前3waitress Documentation v2.1.0
Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper waitress-serve Socket Activation Glossary Change History 2.1.0 Python Version Support Python is no longer supported by Waitress Python 3.10 is fully supported by Waitress Bugfix wsgi.file_wrapper now sets the seekable, seek, and tell attributes from the underlying file if the underlying file which non-seekable subclasses of io.IOBase would trigger an exception when passed to the wsgi.file_wrapper callback. See https://github.com/Pylons/waitress/pull/249 1.2.1 (2019-01-25) Bugfixes When given0 码力 | 52 页 | 57.95 KB | 1 年前3waitress Documentation v3.0.1
Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper waitress-serve Socket Activation Glossary Change History 3.0.1 (unreleased) Fix a bug that would is no longer supported by Waitress Python 3.10 is fully supported by Waitress Bugfix wsgi.file_wrapper now sets the seekable, seek, and tell attributes from the underlying file if the underlying file which non-seekable subclasses of io.IOBase would trigger an exception when passed to the wsgi.file_wrapper callback. See https://github.com/Pylons/waitress/pull/249 1.2.1 (2019-01-25) Bugfixes When given0 码力 | 55 页 | 56.36 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100