Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for deleteMin (0.16 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/registry/registrytest/service.go

    	api "k8s.io/kubernetes/pkg/apis/core"
    )
    
    type ServiceRegistry struct {
    	mu      sync.Mutex
    	List    api.ServiceList
    	Service *api.Service
    	Updates []api.Service
    	Err     error
    
    	DeletedID string
    	GottenID  string
    	UpdatedID string
    }
    
    func (r *ServiceRegistry) SetError(err error) {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    	r.Err = err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 13:43:36 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top