- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 79 for deleteMin (0.15 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/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/AbstractTaskOutputCachingPerformanceTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.4K bytes - Viewed (0) -
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
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.9K bytes - Viewed (0) -
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) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedRelocationIntegrationTest.groovy
when: def movedLocation = temporaryFolder.file("moved-location") originalLocation.renameTo(movedLocation) movedLocation.file("build").deleteDir() movedLocation.file(".gradle").deleteDir() executer.usingProjectDirectory(movedLocation) withBuildCache().run "jar", "customTask" then: // Built-in tasks are loaded from cache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy
runCacheableBuild(pushToCacheEvents) then: writingOperations(pushToCacheEvents).size() == maybeIncludeLocalBuildOperations(1) when: file("build").deleteDir() and: def pullFromCacheResults = ProgressEvents.create() runCacheableBuild(pullFromCacheResults) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.8K 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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy
localCache.listCacheFailedFiles().size() == 1 and: !localCache.hasCacheEntry(cacheKey) when: file("build").deleteDir() then: succeeds("customTask") } def "corrupted cache artifact metadata provides useful error message"() { when: buildFile << """ @CacheableTask
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersKotlinIntegrationTest.groovy
result.assertTaskSkipped ':runWork' outputContains ':runWork UP-TO-DATE' and: outputDoesNotContain expectedOutput when: 'the outputs are deleted' file('build').deleteDir() and: 'task runs for the 3rd time' runWork() then: 'it is skipped because FROM-CACHE' result.assertTaskSkipped ':runWork' outputContains ':runWork FROM-CACHE'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:02 UTC 2024 - 7.5K bytes - Viewed (0)