- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for deleteMin (0.12 sec)
-
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) -
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) -
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) -
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) -
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) -
platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 14.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
// delete .gradle dir to simulate this when: file('.gradle').assertIsDir().deleteDir() outputAFile.makeOlder() outputBFile.makeOlder() succeeds "b" then: result.assertTasksNotSkipped(":a", ":b") when: file('build/b').deleteDir() succeeds "b" then: result.assertTasksNotSkipped(":b")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 36.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy
lockFileReaderWriter = new LockFileReaderWriter(resolver, context, lockFile, listener) } def 'writes a unique lock file'() { when: lockDir.deleteDir() lockFileReaderWriter.writeUniqueLockfile([a: ['foo', 'bar'], b: ['foo'], c: []]) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 9.9K bytes - Viewed (0) -
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) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
TF_Status* status) { if (unlink(path) != 0) TF_SetStatusFromIOError(status, errno, path); else TF_SetStatus(status, TF_OK, ""); } static void DeleteDir(const TF_Filesystem* filesystem, const char* path, TF_Status* status) { if (rmdir(path) != 0) TF_SetStatusFromIOError(status, errno, path); else TF_SetStatus(status, TF_OK, ""); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Mar 24 20:08:23 UTC 2024 - 15.8K bytes - Viewed (0)