MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / DecodeFixed64

Function DecodeFixed64

tensorflow/core/lib/core/raw_coding.h:55–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55inline uint64 DecodeFixed64(const char* ptr) {
56 if (port::kLittleEndian) {
57 // Load the raw bytes
58 uint64 result;
59 memcpy(&result, ptr, sizeof(result)); // gcc optimizes this to a plain load
60 return result;
61 } else {
62 uint64 lo = DecodeFixed32(ptr);
63 uint64 hi = DecodeFixed32(ptr + 4);
64 return (hi << 32) | lo;
65 }
66}
67
68} // namespace core
69} // namespace tensorflow

Callers 8

TESTFunction · 0.85
GetMetadataMethod · 0.85
ReadRecordMethod · 0.85
Hash64Function · 0.85
Fetch64BatchFunction · 0.85
Hash64AVX_64_ImplFunction · 0.85
Hash64V3_Batch512Function · 0.85
ReadRecordMethod · 0.85

Calls 1

DecodeFixed32Function · 0.85

Tested by 1

TESTFunction · 0.68