Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for deleteMin (0.37 sec)

  1. pilot/pkg/serviceregistry/kube/controller/pod.go

    			if _, f := pmap[port.Name]; !f {
    				pmap[port.Name] = uint32(port.ContainerPort)
    			}
    		}
    	}
    	return pmap
    }
    
    // deleteIP returns true if the pod and ip are really deleted.
    func (pc *PodCache) deleteIP(ip string, podKey types.NamespacedName) bool {
    	pc.Lock()
    	defer pc.Unlock()
    	if pc.podsByIP[ip].Contains(podKey) {
    		sets.DeleteCleanupLast(pc.podsByIP, ip, podKey)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

            return osName.contains("windows");
        }
    
        private boolean deleteDir(File dir) {
            if (dir.isDirectory()) {
                String[] children = dir.list();
                if (children != null) {
                    for (int i = 0; i < children.length; i++) {
                        boolean success = deleteDir(new File(dir, children[i]));
                        if (!success) {
                            return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.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 May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  4. cmd/ftp-server-driver.go

    		Creds:     credentials.NewStaticV4(ui.Credentials.AccessKey, ui.Credentials.SecretKey, ""),
    		Secure:    globalIsTLS,
    		Transport: globalRemoteFTPClientTransport,
    	})
    }
    
    // DeleteDir implements ftpDriver
    func (driver *ftpDriver) DeleteDir(ctx *ftp.Context, objPath string) (err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(0, err)
    
    	bucket, prefix := path2BucketObject(objPath)
    	if bucket == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            when:
            run "sync"
    
            then:
            result.assertTaskSkipped(':sync')
    
            when:
            file("files/dir2").deleteDir()
            file("files/dir3/file3.txt") << ""
            run "sync"
    
            then:
            result.assertTaskNotSkipped(":sync")
            file("output").assertHasDescendants("file1.txt", "file3.txt")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            outputContains("because the file system entry '$testFileName' has changed")
    
            when: "the file system entry used in configuration is deleted"
            assert accessedFile.deleteDir()
            configurationCacheRunLenient()
    
            then: "the cache entry is invalidated and the removal is reported"
            configurationCache.assertStateStored()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

            execute("taskWithInputs")
    
            then:
            executedUnlessNameOnly(":taskWithInputs", pathSensitivity)
    
            when:
            cleanWorkspace()
            file('foo').deleteDir()
            execute("taskWithInputs")
    
            then:
            executedAndNotSkipped(":taskWithInputs")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

        }
    
        public TestFile deleteDir() {
            new TestFileHelper(this).delete(useNativeTools);
            return this;
        }
    
        /**
         * Attempts to delete this directory, ignoring failures to do so.
         *
         * @return this
         */
        public TestFile maybeDeleteDir() {
            try {
                deleteDir();
            } catch (RuntimeException e) {
                // Ignore
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                            testType = TestSuiteType.UNIT_TEST
                        }
                    }
                }
            '''
            // remove tests from transitive
            file("transitive/src/test").deleteDir()
    
            when:
            succeeds(':testAggregateTestReport')
    
            then:
            def aggregatedTestResults = new HtmlTestExecutionResult(testDirectory, 'build/reports/tests/unit-test/aggregated-results')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            testClassLoader = new URLClassLoader(transformed.asURLArray, filtering)
            return testClassLoader.loadClass(cl.name)
        }
    
        void classesDir(TestFile dir) {
            dir.deleteDir()
            dir.createDir()
            dir.file("a.class").bytes = classOne()
        }
    
        void jar(TestFile file) {
            classpathBuilder.jar(file) {
                it.put("a.class", classOne())
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top