Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ModularFileSystem (0.24 sec)

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

      // Since `p` is allocated by plugin, free it using plugin's method.
      plugin_memory_free_(p);
      return ret;
    }
    
    void ModularFileSystem::FlushCaches(TransactionToken* token) {
      if (ops_->flush_caches != nullptr) ops_->flush_caches(filesystem_.get());
    }
    
    Status ModularFileSystem::SetOption(const std::string& name,
                                        const std::vector<string>& values) {
    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.h

          read_only_memory_region_ops_;
      std::function<void*(size_t)> plugin_memory_allocate_;
      std::function<void(void*)> plugin_memory_free_;
      ModularFileSystem(const ModularFileSystem&) = delete;
      void operator=(const ModularFileSystem&) = delete;
    };
    
    class ModularRandomAccessFile final : public RandomAccessFile {
     public:
      ModularRandomAccessFile(const std::string& filename,
    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)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

      TF_DeleteStatus(c_status);
      if (!status.ok()) return status;
    
      // Step 3: Actual registration
      return Env::Default()->RegisterFileSystem(
          info->ops[index].scheme,
          std::make_unique<tensorflow::ModularFileSystem>(
              std::move(filesystem), std::move(core_filesystem_ops),
              std::move(core_random_access_file_ops),
              std::move(core_writable_file_ops),
              std::move(core_read_only_memory_region_ops),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      return all_schemes;
    }
    
    static std::vector<std::string> GetSchemes() {
      static std::vector<std::string>* schemes = GetSchemesFromUserOrEnv();
      return *schemes;
    }
    
    INSTANTIATE_TEST_SUITE_P(ModularFileSystem, ModularFileSystemTest,
                             ::testing::ValuesIn(GetSchemes()));
    
    // Loads a shared object implementing filesystem functionality.
    static bool LoadDSO(const std::string& dso) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top