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

Function FormatRange

cpp/src/arrow/filesystem/s3fs.cc:560–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560std::string FormatRange(int64_t start, int64_t length) {
561 // Format a HTTP range header value
562 std::stringstream ss;
563 ss << "bytes=" << start << "-" << start + length - 1;
564 return ss.str();
565}
566
567// An AWS RetryStrategy that wraps a provided arrow::fs::S3RetryStrategy
568class WrappedRetryStrategy : public Aws::Client::RetryStrategy {

Callers 1

GetObjectRangeFunction · 0.85

Calls 1

strMethod · 0.80

Tested by

no test coverage detected