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

Method BitfieldReadOnly

src/types/redis_bitmap.h:64–68  ·  view source on GitHub ↗

read-only version for Bitfield(), if there is a write operation in ops, the function will return with failed status.

Source from the content-addressed store, hash-verified

62 // read-only version for Bitfield(), if there is a write operation in ops, the function will return with failed
63 // status.
64 rocksdb::Status BitfieldReadOnly(engine::Context &ctx, const Slice &user_key,
65 const std::vector<BitfieldOperation> &ops,
66 std::vector<std::optional<BitfieldValue>> *rets) {
67 return bitfield<true>(ctx, user_key, ops, rets);
68 }
69 static bool GetBitFromValueAndOffset(std::string_view value, uint32_t bit_offset);
70 static bool IsEmptySegment(const Slice &segment);
71

Callers 1

ExecuteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected