MCPcopy Create free account
hub / github.com/Niko1221/Strata / truth_byte

Function truth_byte

engine/tests/core/split_lend_complement_test.cpp:81–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79};
80
81const uint8_t truth_byte(int64_t l, int64_t e, size_t i) {
82 return (uint8_t) ((i * 131u + (size_t) (l * kExperts + e) * 37u) ^ (i >> 8));
83}
84
85// one fully-built fixture: experts.bin written, the source open, both stage caches open with their
86// own layer's experts admitted and filled (highest slot = highest expert, as the

Callers 1

RigMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected