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

Method getBatchNumber

fdbclient/Versionstamp.cpp:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10int16_t Versionstamp::getBatchNumber() const {
11 const uint8_t* begin = data.begin();
12 begin += 8;
13 int16_t batchNumber = *(int16_t*)(begin);
14 batchNumber = bigEndian16(batchNumber);
15 return batchNumber;
16}
17
18int16_t Versionstamp::getUserVersion() const {
19 const uint8_t* begin = data.begin();

Callers 3

tupleToStringFunction · 0.80
unit_tests.cppFile · 0.80
operator==Method · 0.80

Calls 1

beginMethod · 0.45

Tested by 1

tupleToStringFunction · 0.64