Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetURIForPath (0.24 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      EXPECT_EQ(GetRelativePath(fs->TranslateName(GetURIForPath("a_file"))),
                "/a_file");
      EXPECT_EQ(GetRelativePath(fs->TranslateName(GetURIForPath("a_dir/a_file"))),
                "/a_dir/a_file");
      EXPECT_EQ(GetRelativePath(fs->TranslateName(GetURIForPath("./a_file"))),
                "/a_file");
      EXPECT_EQ(GetRelativePath(fs->TranslateName(
                    GetURIForPath("a/convoluted/../path/./to/.//.///a/file"))),
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      EXPECT_FALSE(stat.is_directory);
    }
    
    TEST_F(GCSFilesystemTest, RenameFile) {
      tf_gcs_filesystem::Init(filesystem_, status_);
      ASSERT_TF_OK(status_);
      const std::string src = GetURIForPath("RenameFileSrc");
      const std::string dst = GetURIForPath("RenameFileDst");
      WriteString(src, "test");
      ASSERT_TF_OK(status_);
    
      tf_gcs_filesystem::RenameFile(filesystem_, src.c_str(), dst.c_str(), status_);
      EXPECT_TF_OK(status_);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
Back to top