Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for deleteDir (0.41 sec)

  1. tensorflow/c/env.h

    // Deletes the specified directory. Typical status codes are:
    //  * TF_OK - successfully deleted the directory
    //  * TF_FAILED_PRECONDITION - the directory is not empty
    TF_CAPI_EXPORT extern void TF_DeleteDir(const char* dirname, TF_Status* status);
    
    // Deletes the specified directory and all subdirectories and files underneath
    // it. This is accomplished by traversing the directory tree rooted at dirname
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.h

      Status DeleteRecursively(const std::string& dirname, TransactionToken* token,
                               int64_t* undeleted_files,
                               int64_t* undeleted_dirs) override;
      Status DeleteDir(const std::string& dirname,
                       TransactionToken* token) override;
      Status RecursivelyCreateDir(const std::string& dirname,
                                  TransactionToken* token) override;
    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. gradle/wrapper/gradle-wrapper.jar

    exclusiveFileAccessM; public void Install(Logger, Download, PathAssembler); public static Install$InstallCheck access$000(Install, java.io.File, String); public static void verifyDownloadChecks(String, java.io.File, String); public static boolean deleteDir(java.io.File); public static void unzip(java.io.File, java.io.File); public final void unzipLocal(java.io.File, java.io.File); public final void forceFetch(java.io.File, java.net.URI); } org/gradle/wrapper/Logger.class package org.gradle.wrapper;...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  4. .teamcity/.mvn/wrapper/maven-wrapper.jar

    Installer(Downloader, PathAssembler); public java.io.File createDist(WrapperConfiguration) throws Exception; private java.util.List listDirs(java.io.File); private void setExecutablePermiss(java.io.File); private boolean isWindows(); private boolean deleteDir(java.io.File); public void unzip(java.io.File, java.io.File) throws java.io.IOException; public void copyInputStream(java.io.InputStream, java.io.OutputStream) throws java.io.IOException; } org/apache/maven/wrapper/Logger.class package org.apache.maven.wrapper;...
    Archive
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 49.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      if (TF_GetCode(status) == TF_OK) ClearFileCaches(gcs_file, path);
    }
    
    // Checks that the directory is empty (i.e no objects with this prefix exist).
    // Deletes the GCS directory marker if it exists.
    void DeleteDir(const TF_Filesystem* filesystem, const char* path,
                   TF_Status* status) {
      // A directory is considered empty either if there are no matching objects
    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)
  6. cni/pkg/ipset/ipset.go

    	}
    	return m.Deps.addIP(m.V4Name, ipToInsert, ipProto, comment, replace)
    }
    
    func (m *IPSet) DeleteIP(ip netip.Addr, ipProto uint8) error {
    	ipToDel := ip.Unmap()
    
    	// We have already Unmap'd, so we can do a simple IsV6 y/n check now
    	if ipToDel.Is6() {
    		return m.Deps.deleteIP(m.V6Name, ipToDel, ipProto)
    	}
    	return m.Deps.deleteIP(m.V4Name, ipToDel, ipProto)
    }
    
    func (m *IPSet) Flush() error {
    	var err error
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/tape.h

                                          absl::MakeSpan(in_gradients));
          if (!persistent_) {
            trace.backward_function_deleter(trace.backward_function);
          }
          if (!s.ok()) {
            return s;
          }
        } else {
          if (!persistent_) {
            trace.backward_function_deleter(trace.backward_function);
          }
          for (Gradient* grad : out_gradients) {
            if (grad != nullptr) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  8. tensorflow/c/eager/dlpack.cc

      }
      return valid;
    }
    }  // namespace
    
    void TFE_CallDLManagedTensorDeleter(void* dlm_ptr) {
      DLManagedTensor* dlMTensor = static_cast<DLManagedTensor*>(dlm_ptr);
      if (dlMTensor->deleter != nullptr) {
        dlMTensor->deleter(dlMTensor);
      }
    }
    
    void* TFE_HandleToDLPack(TFE_TensorHandle* h, TF_Status* status) {
      auto tf_dlm_context = GetDlContext(h, status);
      if (!status->status.ok()) {
        return nullptr;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  9. cni/pkg/ipset/nldeps_mock.go

    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	args := m.Called(name, ip, ipProto)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) flush(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. cni/pkg/ipset/nldeps_linux.go

    		Protocol: &ipProto,
    		Replace:  replace,
    	})
    	if err != nil {
    		return fmt.Errorf("failed to add IP %s with and proto %d to ipset %s: %w", ip, ipProto, name, err)
    	}
    	return nil
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	err := netlink.IpsetDel(name, &netlink.IPSetEntry{
    		IP:       net.IP(ip.AsSlice()),
    		Protocol: &ipProto,
    	})
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top