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

Function ByteAs64

tensorflow/core/lib/hash/hash.cc:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31// 0xff is in case char is signed.
32static inline uint32 ByteAs32(char c) { return static_cast<uint32>(c) & 0xff; }
33static inline uint64 ByteAs64(char c) { return static_cast<uint64>(c) & 0xff; }
34
35uint32 Hash32(const char* data, size_t n, uint32 seed) {
36 // 'm' and 'r' are mixing constants generated offline.

Callers 3

Hash64Function · 0.85
Hash64V3Function · 0.85
Hash64V3_Batch512Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected