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

Method FillScratchSpace

cpp/src/arrow/scalar.cc:590–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588 : BaseBinaryScalar(Buffer::FromString(std::move(s)), std::move(type)) {}
589
590void BinaryScalar::FillScratchSpace(uint8_t* scratch_space,
591 const std::shared_ptr<Buffer>& value) {
592 FillScalarScratchSpace(
593 scratch_space,
594 {int32_t(0), value ? static_cast<int32_t>(value->size()) : int32_t(0)});
595}
596
597void BinaryViewScalar::FillScratchSpace(uint8_t* scratch_space,
598 const std::shared_ptr<Buffer>& value) {

Callers

nothing calls this directly

Calls 5

FillScalarScratchSpaceFunction · 0.85
ToBinaryViewFunction · 0.85
sizeMethod · 0.45
lengthMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected