MCPcopy Create free account
hub / github.com/apache/arrow / CheckAlignment

Function CheckAlignment

cpp/src/arrow/compute/util_internal.h:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29template <typename T>
30void CheckAlignment(const void* ptr) {
31 ARROW_DCHECK(reinterpret_cast<uint64_t>(ptr) % sizeof(T) == 0);
32}
33
34/// Storage used to allocate temporary vectors of a batch size.
35/// Temporary vectors should resemble allocating temporary variables on the stack

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected