MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / buf

Method buf

common/unordered_inline_set.h:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 return (capacity + u - 1) / u;
34 }
35 void* buf() {
36 return _ptr - get_s(_capacity);
37 }
38 const T* _get(size_t i) const {
39 assert(i < _capacity);
40 return get_bit(i) ? (_ptr + i) : nullptr;

Callers 1

operator =Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected