Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isDirectory (0.23 sec)

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

      }
    
      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::IsDirectory(const std::string& name,
                                          TransactionToken* token) {
      if (ops_->is_directory == nullptr)
        return FileSystem::IsDirectory(name, token);
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      std::string translated_name = TranslateName(name);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

        GTEST_SKIP() << "NewWritableFile() not supported: " << status;
    
      status = env_->IsDirectory(filepath);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::FAILED_PRECONDITION);
    }
    
    TEST_P(ModularFileSystemTest, TestIsDirectoryNotFound) {
      const std::string dirpath = GetURIForPath("a_dir");
      Status status = env_->IsDirectory(dirpath);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::NOT_FOUND);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          bucket_src, object_src, bucket_dst, object_dst,
          gcs::Fields("done,rewriteToken"));
      TF_SetStatusFromGCSStatus(metadata.status(), status);
    }
    
    bool IsDirectory(const TF_Filesystem* filesystem, const char* path,
                     TF_Status* status) {
      std::string bucket, object;
      ParseGCSPath(path, true, &bucket, &object, status);
      if (TF_GetCode(status) != TF_OK) return false;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.h

      Status CreateDir(const std::string& dirname,
                       TransactionToken* token) override;
      Status Stat(const std::string& fname, TransactionToken* token,
                  FileStatistics* stat) override;
      Status IsDirectory(const std::string& fname,
                         TransactionToken* token) override;
      Status GetFileSize(const std::string& fname, TransactionToken* token,
                         uint64* file_size) override;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
Back to top