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

Method getExceptionAt

src/storage/table/in_memory_exception_chunk.cpp:108–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106
107template<std::floating_point T>
108EncodeException<T> InMemoryExceptionChunk<T>::getExceptionAt(size_t exceptionIdx) const {
109 DASSERT(exceptionIdx < exceptionCount);
110 auto bytesInBuffer = chunkData->getValue<ExceptionInBuffer<T>>(exceptionIdx);
111 return EncodeExceptionView<T>{reinterpret_cast<std::byte*>(&bytesInBuffer)}.getValue();
112}
113
114template<std::floating_point T>
115void InMemoryExceptionChunk<T>::writeException(EncodeException<T> exception, size_t exceptionIdx) {

Callers 2

patchFloatExceptionsMethod · 0.80
writeValuesToPageMethod · 0.80

Calls 1

getValueMethod · 0.45

Tested by

no test coverage detected