MCPcopy Create free account
hub / github.com/couchbase/fleece / wrap

Method wrap

Fleece/Support/StringTable.hh:67–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 StringTable(size_t capacity,
66 size_t initialSize, hash_t *initialHashes, entry_t *initialEntries);
67 inline size_t wrap(size_t i) const {return i & _sizeMask;}
68 inline size_t indexOfHash(hash_t h) const {return wrap(size_t(h));}
69 insertResult _insert(hash_t, entry_t) noexcept;
70 void _insertOnly(hash_t, entry_t) noexcept;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected