Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Potter (0.17 sec)

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

    static void Cleanup(TF_RandomAccessFile* file) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
      close(posix_file->fd);
      // This would be safe to free using `free` directly as it is only opaque.
      // However, it is better to be consistent everywhere.
      plugin_memory_free(const_cast<char*>(posix_file->filename));
      delete posix_file;
    }
    
    static int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n,
    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/plugins/gcs/gcs_filesystem.cc

    // SECTION 4. Implementation for `TF_Filesystem`, the actual filesystem
    // ----------------------------------------------------------------------------
    namespace tf_gcs_filesystem {
    // TODO(vnvo2409): Use partial reponse for better performance.
    // TODO(vnvo2409): We could do some cleanups like `return TF_SetStatus`.
    // TODO(vnvo2409): Refactor the filesystem implementation when
    // https://github.com/googleapis/google-cloud-cpp/issues/4482 is done.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top