Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for copyTile (0.2 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      // Do the actual rename. Here both arguments are filenames.
      if (rename(src, dst) != 0)
        TF_SetStatusFromIOError(status, errno, dst);
      else
        TF_SetStatus(status, TF_OK, "");
    }
    
    static void CopyFile(const TF_Filesystem* filesystem, const char* src,
                         const char* dst, TF_Status* status) {
      // If target is a directory return TF_FAILED_PRECONDITION.
      // Target might be missing, so don't error in that case.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

        GTEST_SKIP() << "NewWritableFile() not supported: " << status;
    
      const std::string new_filepath = GetURIForPath("a_new_file");
      status = env_->CopyFile(filepath, new_filepath);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
      if (!status.ok()) GTEST_SKIP() << "CopyFile() not supported: " << status;
    
      status = env_->FileExists(filepath);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
    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/modular_filesystem.cc

      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::CopyFile(const std::string& src,
                                       const std::string& target,
                                       TransactionToken* token) {
      if (ops_->copy_file == nullptr)
        return FileSystem::CopyFile(src, target, token);
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
    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)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        std::string dir = path;
        MaybeAppendSlash(&dir);
        DeleteFile(filesystem, dir.c_str(), status);
        return;
      }
      TF_SetStatus(status, TF_OK, "");
    }
    
    void CopyFile(const TF_Filesystem* filesystem, const char* src, const char* dst,
                  TF_Status* status) {
      std::string bucket_src, object_src;
      ParseGCSPath(src, false, &bucket_src, &object_src, status);
    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)
Back to top