MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / read_u64

Function read_u64

server/src/server/disk_prefix_cache.cpp:183–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181
182static bool read_u32(FILE * f, uint32_t & out) { return std::fread(&out, 4, 1, f) == 1; }
183static bool read_u64(FILE * f, uint64_t & out) { return std::fread(&out, 8, 1, f) == 1; }
184static bool read_i64(FILE * f, int64_t & out) { return std::fread(&out, 8, 1, f) == 1; }
185static bool read_u16(FILE * f, uint16_t & out) { return std::fread(&out, 2, 1, f) == 1; }
186

Callers 2

read_fileMethod · 0.85
read_headerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected