Home | History | Annotate | Download | only in cloud

Lines Matching defs:file2

275     std::unique_ptr<RandomAccessFile> file2;
277 TF_EXPECT_OK(fs.NewRandomAccessFile("gs://bucket/object", &file2));
281 // Reading the first block from file2 should not trigger a request to load
283 // file2 already has the first block.
284 TF_EXPECT_OK(file2->Read(0, 8, &result, scratch));
286 // Reading the second block from file2 should load it once.
287 TF_EXPECT_OK(file2->Read(8, 8, &result, scratch));
291 // file2 already has the second block.
1163 " { \"name\": \"path/subpath/file2.txt\" }]}")});
1176 fs.GetMatchingPaths("gs://bucket/path/subpath/file2.txt", &result));
1177 EXPECT_EQ(std::vector<string>({"gs://bucket/path/subpath/file2.txt"}),
1189 " { \"name\": \"path/subpath/file2.txt\" },"
1217 " { \"name\": \"path/subpath/file2.txt\" },"
1230 TF_EXPECT_OK(fs.GetMatchingPaths("gs://bucket/path/*/file2.txt", &result));
1231 EXPECT_EQ(std::vector<string>({"gs://bucket/path/subpath/file2.txt"}),
1267 " { \"name\": \"path/subpath/file2.txt\" },"
1309 " { \"name\": \"path/subpath/file2.txt\" }]}"),
1317 " { \"name\": \"path/subpath/file2.txt\" },"
1334 fs.GetMatchingPaths("gs://bucket/path/subpath/file2.txt", &result));
1335 EXPECT_EQ(std::vector<string>({"gs://bucket/path/subpath/file2.txt"}),
1353 " { \"name\": \"path/subpath/file2.txt\" }]}"),
1360 " { \"name\": \"path/subpath/file2.txt\" }]}")});
1375 fs.GetMatchingPaths("gs://bucket/path/subpath/file2.txt", &result));
1376 EXPECT_EQ(std::vector<string>({"gs://bucket/path/subpath/file2.txt"}),
1384 fs.GetMatchingPaths("gs://bucket/path/subpath/file2.txt", &result));
1385 EXPECT_EQ(std::vector<string>({"gs://bucket/path/subpath/file2.txt"}),
1600 " { \"name\": \"path1/file2.txt\" }]}"),
2296 " { \"name\": \"path/subpath/file2.txt\" },"
2370 " { \"name\": \"path/subpath/file2.txt\" },"
2395 // Deleting the object gs://bucket/path/subpath/file2.txt