Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for _top (0.06 sec)

  1. pkg/controller/history/controller_history_test.go

    		client := fake.NewSimpleClientset()
    		informerFactory := informers.NewSharedInformerFactory(client, controller.NoResyncPeriodFunc())
    
    		stop := make(chan struct{})
    		defer close(stop)
    		informerFactory.Start(stop)
    		informer := informerFactory.Apps().V1().ControllerRevisions()
    		informerFactory.WaitForCacheSync(stop)
    		for i := range test.revisions {
    			informer.Informer().GetIndexer().Add(test.revisions[i])
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		}
    		return w
    	}
    
    	allEventsWatcher := createWatch(storage.Everything)
    	defer allEventsWatcher.Stop()
    	fooEventsWatcher := createWatch(fooPredicate)
    	defer fooEventsWatcher.Stop()
    	barEventsWatcher := createWatch(barPredicate)
    	defer barEventsWatcher.Stop()
    
    	makePod := func(labels map[string]string, rv string) *examplev1.Pod {
    		return &examplev1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

            }
    
            @Override
            public void stop() {
                try {
                    CompositeStoppable.stoppable(Arrays.asList(serviceProviders)).stop();
                } finally {
                    Arrays.fill(serviceProviders, null);
                }
            }
        }
    
        /**
         * Wraps a parent to ignore stop requests.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. src/runtime/traceback.go

    			anySymbolized := false
    			stop := false
    			for _, pc := range cgoBuf[:cgoN] {
    				if cgoSymbolizer == nil {
    					if pr, stop := commitFrame(); stop {
    						break
    					} else if pr {
    						print("non-Go function at pc=", hex(pc), "\n")
    					}
    				} else {
    					stop = printOneCgoTraceback(pc, commitFrame, &arg)
    					anySymbolized = true
    					if stop {
    						break
    					}
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    	w.Stop()
    
    	// Make sure when we watch from 0 we receive an ADDED event
    	w, err = store.Watch(ctx, key, storage.ListOptions{ResourceVersion: "0", Predicate: storage.Everything})
    	if err != nil {
    		t.Fatalf("Watch failed: %v", err)
    	}
    
    	testCheckResult(t, w, watch.Event{Type: watch.Added, Object: out})
    	w.Stop()
    
    	// Compact previous versions
    	if compaction == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/DynamicRevisionRemoteResolveWithMetadataSupplierIntegrationTest.groovy

            outputContains("Providing metadata for group:projectB:1.1")
    
            when:
            // stop the daemon to make sure that when we run the build again
            // it's fetched from the persistent cache
            run '--stop'
            supplierInteractions.refresh('group:projectB:2.2', 'group:projectB:1.1')
            run 'checkDeps'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 49K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

            def service = Mock(TestStopService)
    
            given:
            registry.add(TestStopService, service)
    
            when:
            registry.close()
    
            then:
            1 * service.stop()
        }
    
        def closeIgnoresServiceWithNoCloseOrStopMethod() {
            registry.add(String, "service")
            registry.getAll(String)
    
            when:
            registry.close()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	c.stopLock.RLock()
    	defer c.stopLock.RUnlock()
    	return c.stopped
    }
    
    // Stop implements the graceful termination.
    func (c *Cacher) Stop() {
    	c.stopLock.Lock()
    	if c.stopped {
    		// avoid stopping twice (note: cachers are shared with subresources)
    		c.stopLock.Unlock()
    		return
    	}
    	c.stopped = true
    	c.ready.stop()
    	c.stopLock.Unlock()
    	close(c.stopCh)
    	c.stopWg.Wait()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. src/runtime/mgc.go

    // gcMode indicates how concurrent a GC cycle should be.
    type gcMode int
    
    const (
    	gcBackgroundMode gcMode = iota // concurrent GC and sweep
    	gcForceMode                    // stop-the-world GC now, concurrent sweep
    	gcForceBlockMode               // stop-the-world GC now and STW sweep (forced by user)
    )
    
    // A gcTrigger is a predicate for starting a GC cycle. Specifically,
    // it is an exit condition for the _GCoff phase.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  10. cluster/gce/windows/k8s-node-setup.psm1

    # the process is sometimes unstoppable, so this function works around it
    # by killing the processes.
    function Restart-LogService([string]$service, [string]$cmdline) {
      Stop-Service -NoWait -ErrorAction Ignore $service
    
      # Wait (if necessary) for service to stop.
      $timeout = 10
      $stopped = (Get-service $service).Status -eq 'Stopped'
      for ($i = 0; $i -lt $timeout -and !($stopped); $i++) {
          Start-Sleep 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
Back to top