Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for deleteMin (0.29 sec)

  1. src/cmd/compile/internal/abt/avlint32_test.go

    				return
    			}
    		}
    		size--
    		s, i := t.wellFormed()
    		if s != "" {
    			te.Errorf("Tree consistency problem at %v after DeleteMin, tree=\n%v", s, t.DebugString())
    			return
    		}
    		if i != size {
    			te.Errorf("Wrong tree size %v, expected %v after DeleteMin", i, size)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 11 16:34:41 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  2. src/runtime/time.go

    	}
    	t.unlock()
    	if !async && t.isChan {
    		unlock(&t.sendLock)
    		if timerchandrain(t.hchan()) {
    			pending = true
    		}
    	}
    
    	return pending
    }
    
    // deleteMin removes timer 0 from ts.
    // ts must be locked.
    func (ts *timers) deleteMin() {
    	assertLockHeld(&ts.mu)
    	t := ts.heap[0].timer
    	if t.ts != ts {
    		throw("wrong timers")
    	}
    	t.ts = nil
    	last := len(ts.heap) - 1
    	if last > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/RetryConditions.groovy

                    if (!FILES_TO_PRESERVE.contains(it.name)) {
                        it.deleteDir()
                    }
                }
            } else if (specification.hasProperty("testDirectory")) {
                specification.testDirectory.listFiles().each {
                    if (!FILES_TO_PRESERVE.contains(it.name)) {
                        it.deleteDir()
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/LoggingIntegrationTest.groovy

            resources.maybeCopy('LoggingIntegrationTest/logging')
            TestFile loggingDir = testDirectory
            loggingDir.file("buildSrc/build/.gradle").deleteDir()
            loggingDir.file("nestedBuild/buildSrc/.gradle").deleteDir()
    
            String initScript = new File(loggingDir, 'init.gradle').absolutePath
            List<String> allArgs = logLevel.args + ['-I', initScript]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            make("A")
            succeeds("cacheable")
            make("B")
            // populate the cache
            withBuildCache().run("cacheable")
    
            when:
            gradleUserHome.deleteDir() // nuke the file snapshot cache
            resources.deleteDir().mkdirs()
            succeeds("clean")
            and:
            // Building with the resources seen in the opposite order
            // shouldn't make a difference
            make("B")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalInputsIntegrationTest.groovy

        def "incremental task is informed that all input files are 'out-of-date' when all output files have been removed"() {
            given:
            previousExecution()
    
            when:
            file("outputs").deleteDir()
    
            then:
            executesNonIncrementally()
        }
    
        def "incremental task is informed that all input files are 'out-of-date' when Task.upToDate() is false"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 23 12:52:29 UTC 2022
    - 27.8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      EXPECT_TRUE(stat.is_directory);
    }
    
    TEST_F(GCSFilesystemTest, DeleteDir) {
      tf_gcs_filesystem::Init(filesystem_, status_);
      ASSERT_TF_OK(status_);
      const std::string dir = GetURIForPath("DeleteDir");
      const std::string file = io::JoinPath(dir, "DeleteDirFile.csv");
      WriteString(file, "test");
      ASSERT_TF_OK(status_);
      tf_gcs_filesystem::DeleteDir(filesystem_, dir.c_str(), status_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 12:04:23 UTC 2020
    - 24.9K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/internal/initialization/loadercache/ClassLoadersCachingIntegrationTest.groovy

            createJarWithProperties("lib/foo.jar")
            buildFile << """
                buildscript { dependencies { classpath files("lib") }}
            """
    
            when:
            run()
            assert file("lib").deleteDir()
            run()
    
            then:
            notCached
    
            when:
            run()
    
            then:
            isCached()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 19 20:09:56 UTC 2022
    - 10.6K bytes
    - Viewed (0)
Back to top