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

Function SafeStore

cpp/src/arrow/util/ubsan.h:91–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90template <typename T>
91inline std::enable_if_t<std::is_trivially_copyable_v<T>, void> SafeStore(void* unaligned,
92 T value) {
93 std::memcpy(unaligned, &value, sizeof(T));
94}
95
96} // namespace util
97} // namespace arrow

Callers 13

InitAllocatedAreaMethod · 0.85
CompressBufferMethod · 0.85
storeMethod · 0.85
DoSplitStreamsFunction · 0.85
CompressMethod · 0.85
grow_doubleMethod · 0.85
initMethod · 0.85
SafeStoreUpTo8BytesFunction · 0.85
bits_to_bytesFunction · 0.85
EncodeMethod · 0.85
EncodeNullMethod · 0.85
DecodeImpMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected