Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for delete_dir (0.15 sec)

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

      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::DeleteDir(const std::string& dirname,
                                        TransactionToken* token) {
      if (ops_->delete_dir == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", dirname, " does not support DeleteDir()"));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      ops->filesystem_ops->create_dir = tf_posix_filesystem::CreateDir;
      ops->filesystem_ops->delete_file = tf_posix_filesystem::DeleteFile;
      ops->filesystem_ops->delete_dir = tf_posix_filesystem::DeleteDir;
      ops->filesystem_ops->rename_file = tf_posix_filesystem::RenameFile;
      ops->filesystem_ops->copy_file = tf_posix_filesystem::CopyFile;
      ops->filesystem_ops->path_exists = tf_posix_filesystem::PathExists;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///     to a directory, if `path` is invalid, or if directory is not empty.
      ///   * Might use any other error value for `status` to signal other errors.
      void (*delete_dir)(const TF_Filesystem* filesystem, const char* path,
                         TF_Status* status);
    
      /// Deletes the directory specified by `path` and all its contents.
      ///
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 17:36:54 UTC 2022
    - 53.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      ops->filesystem_ops->create_dir = tf_gcs_filesystem::CreateDir;
      ops->filesystem_ops->delete_file = tf_gcs_filesystem::DeleteFile;
      ops->filesystem_ops->delete_dir = tf_gcs_filesystem::DeleteDir;
      ops->filesystem_ops->delete_recursively =
          tf_gcs_filesystem::DeleteRecursively;
      ops->filesystem_ops->copy_file = tf_gcs_filesystem::CopyFile;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
  5. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/AbstractTaskOutputCachingPerformanceTest.groovy

                            if (isFirstRunWithCache(context)) {
                                cacheDir.deleteDir().mkdirs()
                                buildCacheServer.cacheDir.deleteDir().mkdirs()
                                settings << remoteCacheSettingsScript
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsPerformanceIntegrationTest.groovy

                }
            """
            buildFile << resolveDependencies(5000)
    
            expect:
            RetryUtil.retry {
                succeeds 'resolveDependencies'
                executer.gradleUserHomeDir.deleteDir()
            }
        }
    
        @ToBeFixedForConfigurationCache(skip = ToBeFixedForConfigurationCache.Skip.FLAKY)
        def "TestKit JAR is generated in an acceptable time frame"() {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/CachedKotlinTaskExecutionIntegrationTest.groovy

            """
            when:
            withBuildCache().run "customTask"
            then:
            result.assertTaskNotSkipped(":customTask")
    
            when:
            file("buildSrc/build").deleteDir()
            file("buildSrc/.gradle").deleteDir()
            cleanBuildDir()
    
            withBuildCache().run "customTask"
            then:
            result.groupedOutput.task(":customTask").outcome == "FROM-CACHE"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCachedCompileIntegrationTest.groovy

            withBuildCache().run compilationTask
            then:
            compileIsNotCached()
            remoteProjectDir.file(getCompiledFile()).exists()
    
            // Remove the project completely
            remoteProjectDir.deleteDir()
    
            when:
            // Move the dependencies around by using a new Gradle user home
            executer.requireOwnGradleUserHomeDir()
            withBuildCache().run compilationTask
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/BuildCacheLocalCacheIntegrationTest.groovy

            then:
            cached()
            localCache.hasCacheEntry(cacheKey)
    
            when:
            settingsFile << """
                buildCache.remote.enabled = false
            """
            assert remoteCache.cacheDir.deleteDir()
            execute()
    
            then:
            cached()
        }
    
        def "remote loads are not cached locally if local cache is #state"() {
            given:
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftCachingIntegrationTest.groovy

            when:
            inDirectory(originalLocation)
            withBuildCache().run compileTask(buildType)
    
            then:
            executedAndNotSkipped allCompileTasks
    
            when:
            originalLocation.deleteDir()
            executer.beforeExecute {
                inDirectory(newLocation)
            }
    
            run 'clean'
            withBuildCache().run compileTask(buildType), installTask(buildType)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top