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

Function is_host

engine/src/split/src/store.cpp:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 throw std::runtime_error("store: " + what + ": " + (s ? s : "unknown error"));
40}
41bool is_host(int loc) { return loc >= NCARD; }
42int card_of(int loc) { return loc % NCARD; }
43CUmemAllocationProp prop_of(int loc) {
44 CUmemAllocationProp p{};

Callers 3

prop_ofFunction · 0.85
grantFunction · 0.85
takeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected