MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / get_long

Function get_long

Tools/parse.h:28–33  ·  view source on GitHub ↗

Read an 8-byte integer

Source from the content-addressed store, hash-verified

26
27// Read an 8-byte integer
28inline int64_t get_long(istream& s)
29{
30 int64_t n;
31 s.read((char*) &n, 8);
32 return be64toh(n);
33}
34
35// Read several integers
36inline void get_ints(unsigned* res, istream& s, int count)

Callers 2

parseMethod · 0.85
parse_operandsMethod · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected