MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getAlignedElementSize

Method getAlignedElementSize

src/include/storage/disk_array.h:341–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339 inline WriteIterator iter_mut() { return WriteIterator{diskArray.iter_mut(sizeof(U))}; }
340 inline uint64_t getAPIdx(uint64_t idx) const { return diskArray.getAPIdx(idx); }
341 static constexpr uint32_t getAlignedElementSize() { return std::bit_ceil(sizeof(U)); }
342
343private:
344 DiskArrayInternal diskArray;

Callers 3

reserveMethod · 0.45
InMemHashIndexMethod · 0.45
clearMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected