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

Method zeroPad

fdbserver/DiskQueue.actor.cpp:1125–1125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1123 }
1124 }
1125 void zeroPad() { memset(payload + payloadSize, 0, maxPayload - payloadSize); }
1126 };
1127 static_assert(sizeof(Page) == _PAGE_SIZE, "Page must be 4k");
1128#pragma pack(pop)

Callers 1

commitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected