MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / NewRandomAccessFile

Method NewRandomAccessFile

tensorflow/core/platform/env.cc:132–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132Status Env::NewRandomAccessFile(const string& fname,
133 std::unique_ptr<RandomAccessFile>* result) {
134 FileSystem* fs;
135 TF_RETURN_IF_ERROR(GetFileSystemForFile(fname, &fs));
136 return fs->NewRandomAccessFile(fname, result);
137}
138
139Status Env::NewReadOnlyMemoryRegionFromFile(
140 const string& fname, std::unique_ptr<ReadOnlyMemoryRegion>* result) {

Callers 15

ReadPathMethod · 0.45
ParseRecordIoFileFunction · 0.45
mainFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
ComputeMethod · 0.45
TESTFunction · 0.45
TestAllCombinationsFunction · 0.45
TestMultipleWritesFunction · 0.45
TESTFunction · 0.45
TestTellFunction · 0.45

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TestAllCombinationsFunction · 0.36
TestMultipleWritesFunction · 0.36
TESTFunction · 0.36
TestTellFunction · 0.36
TestSkipNBytesFunction · 0.36
TESTFunction · 0.36
VerifyFlushFunction · 0.36