Changing Legacy Code: With Confidence
private: void NewPacketCallback(Packet pkt); UpdateRate mCurrentUpdateRate; }; VHFDevice.hpp Following member variables void VHFDevice::NewPacketCallback ( Packet pkt) { ... if(pkt.updateRate == private: void NewPacketCallback(Packet pkt); UpdateRate mCurrentUpdateRate; }; VHFDevice.hpp Following member variables void VHFDevice::NewPacketCallback ( Packet pkt) { ... if(pkt.updateRate == { VHFRadio_Set_Sleep_Enabled(1); } ... } VHFDevice.cpp void VHFDevice::NewPacketCallback ( Packet pkt) { ... if(pkt.updateRate == GetUpdateRate()) { return; } if(IsDeviceAsleep()) { WakeUp();0 码力 | 114 页 | 982.54 KB | 5 月前3Just-in-Time Compilation - J F Bastien - CppCon 2020
Demultiplexing using Dynamic Code Generation A new packet-filter system, DPF (Dynamic Packet Filters), that provides both the traditional flexibility of packet filters and the speed of hand- crafted demultiplexing demultiplexing routines. DPF filters run 10–50 times faster than the fastest packet filters reported in the literature. DPF’s performance is either equivalent to or, when it can exploit runtime information declarative packet-filter language that is aggressively optimized using dynamic code generation. — 1994 (read)DPF Fast, Flexible Message Demultiplexing using Dynamic Code Generation A new packet-filter0 码力 | 111 页 | 3.98 MB | 5 月前3failing successfully
struct packet_processor_begin { packet_processor& processor; }; struct device_processor_end : device_processor_begin { std::error_code ec; std::exception_ptr ex; device* which; }; struct packet_processor_end : packet_processor_begin { std::exception_ptr ex; session* which; }; struct processor_manager_callback { virtual void on(const device_processor_begin& e) = 0; virtual void on(const packet_processor_begin& = 0; virtual void on(const packet_processor_end& e) = 0; }; 38 struct device_processor_begin { device_processor& processor; }; struct packet_processor_begin { packet_processor& processor; }; struct0 码力 | 44 页 | 625.44 KB | 5 月前3Writing Python Bindings for C++ Libraries: Easy-to-use Performance
the python thread run def print_packet(packet): print(packet) my_network_library = MyNetworkLibrary() my_network_library.register_callback_on_packet(print_packet) my_network_library.listenAndBl significantly more flexible now! def print_packet(packet): print(packet) my_network_library = MyNetworkLibrary() my_network_library.register_callback_on_packet(print_packet) my_network_library.listenInThread()0 码力 | 118 页 | 2.18 MB | 5 月前3Oracle VM VirtualBox 4.1.40 User Manual
the receive direction. Guest operating systems trying to use this feature will observe this as a packet loss, which may lead to unexpected application behavior in the guest. This does not cause problems address in the Ethernet header of an outgoing packet to make sure the reply will be sent to the host interface. When VirtualBox sees an in- coming packet with a destination IP address that belongs to one interfaces provided by the sky2 driver on the Marvell Yukon II EC Ultra Ethernet NIC is known to cause packet losses under certain conditions. 2For Mac OS X and Solaris hosts, net filter drivers were already0 码力 | 310 页 | 4.87 MB | 6 月前3Oracle VM VirtualBox 4.2.32 User Manual
the receive direction. Guest operating systems trying to use this feature will observe this as a packet loss, which may lead to unexpected application behavior in the guest. This does not cause problems address in the Ethernet header of an outgoing packet to make sure the reply will be sent to the host interface. When VirtualBox sees an in- coming packet with a destination IP address that belongs to one interfaces provided by the sky2 driver on the Marvell Yukon II EC Ultra Ethernet NIC is known to cause packet losses under certain conditions. 2For Mac OS X and Solaris hosts, net filter drivers were already0 码力 | 348 页 | 5.93 MB | 6 月前3TiDB v8.5 Documentation
• HANDLER statement • CREATE TABLESPACE statement • “Session Tracker: Add GTIDs context to the OK packet” • Descending Index #2519 • SKIP LOCKED syntax #18207 • Lateral derived tables #40328 2.4.2 Differences connections for keep-alive. If you often see the following error in your Java application: The last packet sent successfully to the server was 3600000 milliseconds ago �→ . The driver has not received any parameter. It is a MySQL Connector/J parameter used for debugging that will keep the buffer of the data packet. This might cause the connection to close unexpectedly. DO NOT turn it on. Way to avoid Do not0 码力 | 6730 页 | 111.36 MB | 9 月前3TiDB v8.3 Documentation
• HANDLER statement • CREATE TABLESPACE statement • “Session Tracker: Add GTIDs context to the OK packet” • Descending Index #2519 • SKIP LOCKED syntax #18207 • Lateral derived tables #40328 2.4.2 Differences connections for keep-alive. If you often see the following error in your Java application: The last packet sent successfully to the server was 3600000 milliseconds ago �→ . The driver has not received any parameter. It is a MySQL Connector/J parameter used for debugging that will keep the buffer of the data packet. This might cause the connection to close unexpectedly. DO NOT turn it on. Way to avoid Do not0 码力 | 6606 页 | 109.48 MB | 9 月前3TiDB v8.4 Documentation
• HANDLER statement • CREATE TABLESPACE statement • “Session Tracker: Add GTIDs context to the OK packet” • Descending Index #2519 • SKIP LOCKED syntax #18207 • Lateral derived tables #40328 2.4.2 Differences connections for keep-alive. If you often see the following error in your Java application: The last packet sent successfully to the server was 3600000 milliseconds ago �→ . The driver has not received any parameter. It is a MySQL Connector/J parameter used for debugging that will keep the buffer of the data packet. This might cause the connection to close unexpectedly. DO NOT turn it on. Way to avoid Do not0 码力 | 6705 页 | 110.86 MB | 9 月前3TiDB v8.2 Documentation
• HANDLER statement • CREATE TABLESPACE statement • “Session Tracker: Add GTIDs context to the OK packet” • Descending Index #2519 • SKIP LOCKED syntax #18207 • Lateral derived tables #40328 2.4.2 Differences connections for keep-alive. If you often see the following error in your Java application: The last packet sent successfully to the server was 3600000 milliseconds ago �→ . The driver has not received any parameter. It is a MySQL Connector/J parameter used for debugging that will keep the buffer of the data packet. This might cause the connection to close unexpectedly. DO NOT turn it on. Way to avoid Do not0 码力 | 6549 页 | 108.77 MB | 9 月前3
共 57 条
- 1
- 2
- 3
- 4
- 5
- 6