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

Function processClassKeyFor

fdbclient/SystemData.cpp:809–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807const ValueRef processClassVersionValue = LiteralStringRef("1");
808
809const Key processClassKeyFor(StringRef processID) {
810 BinaryWriter wr(Unversioned());
811 wr.serializeBytes(processClassKeys.begin);
812 wr << processID;
813 return wr.toValue();
814}
815
816const Value processClassValue(ProcessClass const& processClass) {
817 BinaryWriter wr(IncludeVersion(ProtocolVersion::withProcessClassValue()));

Callers 4

Future<Void> setClassFunction · 0.85
autoConfigFunction · 0.85

Calls 3

UnversionedFunction · 0.85
serializeBytesMethod · 0.45
toValueMethod · 0.45

Tested by 1