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

Method FillScratchSpace

cpp/src/arrow/scalar.cc:588–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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