Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setChildren (0.25 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/modular_filesystem.h

      bool FilesExist(const std::vector<std::string>& files,
                      TransactionToken* token,
                      std::vector<Status>* status) override;
      Status GetChildren(const std::string& dir, TransactionToken* token,
                         std::vector<std::string>* result) override;
      Status GetMatchingPaths(const std::string& pattern, TransactionToken* token,
    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/plugins/gcs/gcs_filesystem.cc

            // The object is a directory marker.
            (*undeleted_dirs)++;
          else
            (*undeleted_files)++;
        }
      }
    }
    
    int GetChildren(const TF_Filesystem* filesystem, const char* path,
                    char*** entries, TF_Status* status) {
      auto gcs_file = static_cast<GCSFile*>(filesystem->plugin_filesystem);
      std::vector<std::string> childrens =
    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)
  4. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

        stats->length = sbuf.st_size;
        stats->mtime_nsec = sbuf.st_mtime * (1000 * 1000 * 1000);
        stats->is_directory = S_ISDIR(sbuf.st_mode);
        TF_SetStatus(status, TF_OK, "");
      }
    }
    
    static int GetChildren(const TF_Filesystem* filesystem, const char* path,
                           char*** entries, TF_Status* status) {
      struct dirent** dir_entries = nullptr;
      /* we don't promise entries would be sorted */
      int num_entries =
    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