Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for uri (0.14 sec)

  1. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    }  // namespace tf_windows_filesystem
    
    static void ProvideFilesystemSupportFor(TF_FilesystemPluginOps* ops,
                                            const char* uri) {
      TF_SetFilesystemVersionMetadata(ops);
      ops->scheme = strdup(uri);
    }
    
    void TF_InitPlugin(TF_FilesystemPluginInfo* info) {
      info->plugin_memory_allocate = plugin_memory_allocate;
      info->plugin_memory_free = plugin_memory_free;
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    }
    
    }  // namespace tf_posix_filesystem
    
    static void ProvideFilesystemSupportFor(TF_FilesystemPluginOps* ops,
                                            const char* uri) {
      TF_SetFilesystemVersionMetadata(ops);
      ops->scheme = strdup(uri);
    
      ops->random_access_file_ops = static_cast<TF_RandomAccessFileOps*>(
          plugin_memory_allocate(TF_RANDOM_ACCESS_FILE_OPS_SIZE));
    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)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

        s = fs->CreateDir(root_dir_);
        if (!s.ok()) {
          GTEST_SKIP() << "Cannot create working directory: " << s;
        }
      }
    
      // Converts path reference to URI reference.
      //
      // If URI scheme is empty, URI reference is `path` relative to current test
      // root directory. Otherwise, we need to add the `<scheme>://` in front of
      // this path.
      //
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      TF_FileStatistics stat;
      Stat(filesystem, path, &stat, status);
      return stat.length;
    }
    
    static char* TranslateName(const TF_Filesystem* filesystem, const char* uri) {
      return strdup(uri);
    }
    
    static void FlushCaches(const TF_Filesystem* filesystem) {
      auto gcs_file = static_cast<GCSFile*>(filesystem->plugin_filesystem);
      absl::ReaderMutexLock l(&gcs_file->block_cache_lock);
    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)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    // charset, maximum length, etc. Punting it for later.
    static Status ValidateScheme(const char* scheme) {
      if (scheme == nullptr)
        return errors::InvalidArgument(
            "Attempted to register filesystem with `nullptr` URI scheme");
      return OkStatus();
    }
    
    // Checks if the plugin and core ABI numbers match.
    //
    // If the numbers don't match, plugin cannot be loaded.
    static Status CheckABI(int pluginABI, int coreABI, StringPiece where) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
Back to top