Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for dir (0.13 sec)

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

      return result;
    }
    
    Status ModularFileSystem::GetChildren(const std::string& dir,
                                          TransactionToken* token,
                                          std::vector<std::string>* result) {
      if (ops_->get_children == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", dir, " does not support GetChildren()"));
    
    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/plugins/gcs/gcs_filesystem.cc

      if (TF_GetCode(status) != TF_OK) return;
    
      std::string src_dir = src;
      std::string dst_dir = dst;
      MaybeAppendSlash(&src_dir);
      MaybeAppendSlash(&dst_dir);
      for (const std::string& children : childrens) {
        RenameObject(filesystem, src_dir + children, dst_dir + children, status);
        if (TF_GetCode(status) != TF_OK) return;
      }
      TF_SetStatus(status, TF_OK, "");
    }
    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)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

            plugin_memory_allocate(num_entries * sizeof((*entries)[0])));
        for (int i = 0; i < num_entries; i++) {
          (*entries)[i] = strdup(dir_entries[i]->d_name);
          plugin_memory_free(dir_entries[i]);
        }
        plugin_memory_free(dir_entries);
      }
    
      return num_entries;
    }
    
    }  // namespace tf_posix_filesystem
    
    static void ProvideFilesystemSupportFor(TF_FilesystemPluginOps* ops,
    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)
Back to top