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

Function ToAwsString

cpp/src/arrow/filesystem/s3_internal.h:251–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251inline Aws::String ToAwsString(const std::string& s) {
252 // Direct construction of Aws::String from std::string doesn't work because
253 // it uses a specific Allocator class.
254 return Aws::String(s.begin(), s.end());
255}
256
257inline std::string_view FromAwsString(const Aws::String& s) {
258 return {s.data(), s.length()};

Callers 15

InitServerAndClientMethod · 0.85
AssertObjectContentsFunction · 0.85
TEST_FFunction · 0.85
SetUpMethod · 0.85
DetailToErrorMethod · 0.85
ConfigureAccessKeyMethod · 0.85
GetBucketRegionMethod · 0.85
BuildClientMethod · 0.85
GetObjectRangeFunction · 0.85
StringSetterMethod · 0.85

Calls 3

StringClass · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by 4

InitServerAndClientMethod · 0.68
AssertObjectContentsFunction · 0.68
TEST_FFunction · 0.68
SetUpMethod · 0.68