Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ data
Method
data
cpp/src/arrow/io/file.cc:556–556 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
554
void advance(int64_t nbytes) { position_ = position_ + nbytes; }
555
556
uint8_t* data() { return region_ ? region_->data() : nullptr; }
557
558
uint8_t* head() { return data() + position_; }
559
Callers
15
TestSchemaRoundTrip
Function · 0.45
TestArrayRoundTrip
Function · 0.45
AssertInvalidBinaryViewJson
Function · 0.45
ParseAndReadSchema
Method · 0.45
WriteRawNumber
Method · 0.45
WriteDataValues
Method · 0.45
WriteIntegerField
Method · 0.45
WriteVariadicBuffersField
Method · 0.45
ARROW_ASSIGN_OR_RAISE
Function · 0.45
BuilderType builder(type_, pool_); ARROW_ASSIGN_OR_RAISE(const auto json_data_arr, GetDataArray(obj_)); int32_t byte_width = type.byte_width(); // Allocate space for parsed values ARROW_ASSIGN_OR_RAISE(auto byte_buffer, AllocateBuffer(byte_width, pool_)); uint8_t* byte_buffer_data = byte_buffer->mutable_data(); for (auto [is_valid, json_val] : Zip(is_valid_, json_data_arr)) { if (!is_valid) { RETURN_NOT_OK(builder.AppendNull()); continue; } DCHECK(json_val.IsString()
Method · 0.45
BufferReader
Method · 0.45
TEST_F
Function · 0.45
Calls
no outgoing calls
Tested by
15
TestSchemaRoundTrip
Function · 0.36
TestArrayRoundTrip
Function · 0.36
AssertInvalidBinaryViewJson
Function · 0.36
TEST_F
Function · 0.36
MakeRandomData
Function · 0.36
MakeCompressibleData
Function · 0.36
CompressDataOneShot
Function · 0.36
RunCompressedInputStream
Function · 0.36
CheckCompressedOutputStream
Function · 0.36
RandomData
Function · 0.36
TEST_F
Function · 0.36
GenerateRandomData
Function · 0.36