MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / zero

Function zero

libcaf_io/caf/io/basp/header.cpp:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15template <class T>
16bool zero(T val) {
17 return val == 0;
18}
19
20bool server_handshake_valid(const header& hdr) {
21 return !zero(hdr.operation_data);

Callers 7

server_handshake_validFunction · 0.70
client_handshake_validFunction · 0.70
direct_message_validFunction · 0.70
routed_message_validFunction · 0.70
monitor_message_validFunction · 0.70
down_message_validFunction · 0.70
heartbeat_validFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected