MCPcopy Create free account
hub / github.com/bytedance/terarkdb / GetRequiredBufferAlignment

Method GetRequiredBufferAlignment

env/env_encryption.cc:258–258  ·  view source on GitHub ↗

Use the returned alignment value to allocate aligned buffer for Direct I/O

Source from the content-addressed store, hash-verified

256 // Use the returned alignment value to allocate
257 // aligned buffer for Direct I/O
258 virtual size_t GetRequiredBufferAlignment() const override { return file_->GetRequiredBufferAlignment(); }
259
260 /*
261 * Get the size of valid data in the file.

Callers 9

NewSequentialFileMethod · 0.45
NewRandomAccessFileMethod · 0.45
NewWritableFileMethod · 0.45
ReopenWritableFileMethod · 0.45
ReuseWritableFileMethod · 0.45
NewRandomRWFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected