MCPcopy Create free account
hub / github.com/apple/foundationdb / uidPrefixKey

Function uidPrefixKey

fdbclient/SystemData.cpp:1139–1144  ·  view source on GitHub ↗

Returns a key prefixed with the specified key with the uid encoded at the end

Source from the content-addressed store, hash-verified

1137// Returns a key prefixed with the specified key with
1138// the uid encoded at the end
1139Key uidPrefixKey(KeyRef keyPrefix, UID logUid) {
1140 BinaryWriter bw(Unversioned());
1141 bw.serializeBytes(keyPrefix);
1142 bw << logUid;
1143 return bw.toValue();
1144}
1145
1146// Apply mutations constant variables
1147// \xff/applyMutationsEnd/[16-byte UID] := serialize( endVersion, Unversioned() )

Callers 15

mutationLogPrefixMethod · 0.85
initApplyMutationsMethod · 0.85
setApplyBeginVersionMethod · 0.85
setApplyEndVersionMethod · 0.85
getApplyEndVersionMethod · 0.85
Future<Void> checkDataFunction · 0.85
checkDataMethod · 0.85
Future<Void> _startFunction · 0.85
Future<Void> _startFunction · 0.85

Calls 3

UnversionedFunction · 0.85
serializeBytesMethod · 0.45
toValueMethod · 0.45

Tested by

no test coverage detected