MCPcopy Create free account
hub / github.com/apache/kvrocks / SetByteOffset

Method SetByteOffset

src/common/bitfield_util.h:199–199  ·  view source on GitHub ↗

Change the position this represents.

Source from the content-addressed store, hash-verified

197
198 // Change the position this represents.
199 void SetByteOffset(uint64_t byte_offset) noexcept { byte_offset_ = byte_offset; }
200
201 void Reset() { memset(buf_, 0, sizeof(buf_)); }
202

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected