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 月前3Oracle VM VirtualBox 4.3.36 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 码力 | 380 页 | 3.79 MB | 6 月前3Oracle VM VirtualBox 5.2.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. Some adapters strip VLAN tags in hardware. This does not allow to0 码力 | 387 页 | 4.27 MB | 6 月前3Oracle VM VirtualBox 5.2.12 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. Some adapters strip VLAN tags in hardware. This does not allow to0 码力 | 380 页 | 4.23 MB | 6 月前31.3 Go practices in TiDB 姚维
Worker GC Worker BG Job Worker Schema Manager Privilege Manager Feedback SQL Data Data Data Data Packet Command Data AST Distributed system testing ● Errors can happen anywhere, any time ● Hardware ○0 码力 | 32 页 | 1.76 MB | 5 月前3
共 21 条
- 1
- 2
- 3