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 月前3运维上海2017-从理论到实践,深度解析MySQL Group Replication -徐春阳
int handle(const uchar *data, ulong len)! 267 {! 268 this->incoming->push(new Data_packet(data, len));! 269 return 0;! 270 }! �:���process_notification������������� ������ Applier_module::applier_thread_handle! ��incoming������! ����(packet)�����������! Applier��! ���DATA_PACKET_TYPE���binlog�����apply_data_packet��! Certification_handler::handle_event ����! Certificati applier_thread_handle���� ! this->incoming->front(&packet); // blocking! ! switch (packet->get_packet_type())! {! case ACTION_PACKET_TYPE:! this->incoming->pop();! �0 码力 | 32 页 | 9.55 MB | 1 年前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 月前3User guide to IPC/DEBIAN10-81A-64 – a 64-bit Debian Linux by Syslogic
AG | All rights reserved Seite 7 von 24 3 Managing Debian IPC/DEBIAN10-81A-64’s basic packet manager is “dpkg”, whereas “aptitude” works on top of dpkg and resolves package dependencies. Apt-get ispell …. The first row is the packet action: u=unknown, i=install, r=remove (delete without config), p=purge (delete with config) The second row is the current packet status: n=not installed, i=installed configuration, h=half installed dpkg –i packet.deb Install packet.deb dpkg –r packet.deb Remove packet.deb, keep configuration files dpkg –p packet.deb Remove packet.deb, also delete configuration files0 码力 | 24 页 | 468.63 KB | 1 年前3.NET玩转音视频操作 FFmpeg
}) .WriteAll(fc); fc.WriteTrailer(); void LogPacket(FormatContext fc, Packet packet) { AVRational timebase = fc.Streams[packet.StreamIndex].TimeBase; Util.FixedFont(string.Format("pts:{0} pts_time:{1} av_ts2str(packet.Pts), av_ts2timestr(packet.Pts, timebase), av_ts2str(packet.Dts), av_ts2timestr(packet.Dts, timebase), av_ts2str(packet.Duration), av_ts2timestr(packet.Duration, timebase), packet.StreamIndex)) 示例1 纯代码生成视频·技术要点 1. Yuv420pSequence 2. IEnumerable 3. IEnumerable<Packet>0 码力 | 14 页 | 1.43 MB | 1 年前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 月前3Preserve Original Source Address within Istio
#IstioCon LVS ① user send traffic to LVS ② PREROUTING chain intercept packet and send it to INPUT ③ LVS work on INPUT, modify the packet dest ip + port and forward it to POSTROUTING ④ send out to real and init a connection to server with original user’s address (IP_TRANSPARENT) ⑤ Server’s response packet is flowing through the same path (TPROXY + Custom Route) #IstioCon TOA Address Caveats : install response packet redirected back to envoy -A PREROUTING -p tcp -m mark --mark 0x539 -j CONNMARK --save-mark --nfmask 0xffffffff -- ctmask 0xffffffff # mark connection 1337 according to packet sent to application0 码力 | 29 页 | 713.08 KB | 1 年前3Reference guide for FCL units. Document version 3.2.2
TDataPacketFormat Value Explanation dfAny Data packets can be in any supported format (detected by the packet reader) dfBinary Data packets are in binary format dfDefault Use the default XML format. Same as TBufDataset TDatapacketReaderClass = Class of TDatapacketReader Class type used to create data packet readers for TBufDataset TDBCompareStruct = Array of TDBCompareRec TDBCompareStruct is an array enumeration. TRow- State is used to indicate the state for records loaded and saved using the data packet handler in TBufDataset. TRowStateValue = (rsvOriginal,rsvDeleted,rsvInserted,rsvUpdated, rsvDetailUpdates)0 码力 | 953 页 | 2.21 MB | 1 年前3Node.js Manual & Documentation
If allowHalfOpen is true, then the socket won't automatically send FIN packet when the other end of the socket sends a FIN packet. The socket becomes non-readable, but still writable. You should call fileDescriptor,并在另一端监听'fd'事件。 socket.end([data], [encoding]) Half-closes the socket. I.E., it sends a FIN packet. It is possible the server will still send some data. 发送一个 FIN 数据包,关闭 socket 半连接。服务器仍可能发送一些数据。 sent on an idle socket. Set initialDelay (in milliseconds) to set the delay between the last data packet received and the first keepalive probe. Setting 0 for initialDelay will leave the value unchanged0 码力 | 153 页 | 1.21 MB | 1 年前3
共 646 条
- 1
- 2
- 3
- 4
- 5
- 6
- 65
相关搜索词
ChangingLegacyCodeWithConfidence运维上海2017理论实践深度解析MySQLGroupReplication春阳JustinTimeCompilationBastienCppCon2020failingsuccessfullyUserguidetoIPCDEBIAN1081A64bitDebianLinuxbySyslogicNET玩转音视视频音视频操作FFmpegWritingPythonBindingsforC++LibrariesEasyusePerformancePreserveOriginalSourceAddresswithinIstioReferenceFCLunitsDocumentversion3.2NodejsManualDocumentation