Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Stat (0.12 sec)

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

        GTEST_SKIP() << "NewWritableFile() not supported: " << status;
    
      FileStatistics stat;
      status = env_->Stat(filepath, &stat);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
      if (!status.ok()) GTEST_SKIP() << "Stat() not supported: " << status;
      EXPECT_FALSE(stat.is_directory);
      EXPECT_EQ(stat.length, 0);
    }
    
    TEST_P(ModularFileSystemTest, TestStatNonEmptyFile) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///     filesystem entry.
      ///   * Must set `status` to `TF_FAILED_PRECONDITION` if `path` is invalid.
      ///   * Might use any other error value for `status` to signal other errors.
      void (*stat)(const TF_Filesystem* filesystem, const char* path,
                   TF_FileStatistics* stats, TF_Status* status);
    
      /// Checks whether the given `path` is a directory or not.
      ///
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top