Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for ONCE (0.34 sec)

  1. pkg/kubelet/kubelet.go

    		// Don't create cgroups for run once pod if it was killed above
    		// The current policy is not to restart the run once pods when
    		// the kubelet is restarted with the new flag as run once pods are
    		// expected to run only once and if the kubelet is restarted then
    		// they are not expected to run again.
    		// We don't create and apply updates to cgroup if its a run once pod and was killed above
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                allprojects {
                    repositories {
                        maven { url '${mavenHttpRepo.uri}' }
                    }
                }
            """
        }
    
        def "transform is applied to each file once per build"() {
            given:
            buildFile << declareAttributes() << multiProjectWithJarSizeTransform() << withJarTasks() << withFileLibDependency("lib3.jar") << withExternalLibDependency("lib4")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  3. src/net/http/server.go

    }
    
    // onceCloseListener wraps a net.Listener, protecting it from
    // multiple Close calls.
    type onceCloseListener struct {
    	net.Listener
    	once     sync.Once
    	closeErr error
    }
    
    func (oc *onceCloseListener) Close() error {
    	oc.once.Do(oc.close)
    	return oc.closeErr
    }
    
    func (oc *onceCloseListener) close() { oc.closeErr = oc.Listener.Close() }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods.go

    	// If the pod originates from the kube-api, when we know that the kube-apiserver is responding and the kubelet's credentials are valid.
    	// Knowing this, it is reasonable to wait until the service lister has synchronized at least once before attempting to build
    	// a service env var map.  This doesn't present the race below from happening entirely, but it does prevent the "obvious"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  5. pkg/scheduler/schedule_one_test.go

    	// Those two goroutines will stop until ctx.Done() is called, which means all waiting pods are scheduled at least once.
    	go wait.Until(deleteNodesOneRound, 10*time.Millisecond, ctx.Done())
    	go wait.Until(createPodsOneRound, 9*time.Millisecond, ctx.Done())
    
    	// Capture the events to wait all pods to be scheduled at least once.
    	allWaitSchedulingPods := sets.New[string]()
    	for i := 0; i < waitSchedulingPodNumber; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    		metric.VariableLabels[k] = v
    	}
    	for k, v := range m.Histogram {
    		metric.Histogram[k] = v
    	}
    	return metric
    }
    
    // Get - returns cached value always upton the configured TTL,
    // once the TTL expires "read()" registered function is called
    // to return the new values and updated.
    func (g *MetricsGroupV2) Get() (metrics []MetricV2) {
    	m, _ := g.metricsCache.Get()
    	if len(m) == 0 {
    		return []MetricV2{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/exec.go

    var (
    	swigIntSizeOnce  sync.Once
    	swigIntSize      string
    	swigIntSizeError error
    )
    
    // This code fails to build if sizeof(int) <= 32
    const swigIntSizeCode = `
    package main
    const i int = 1 << 32
    `
    
    // Determine the size of int on the target system for the -intgosize option
    // of swig >= 2.0.9. Run only once.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/data.go

    		// boundary, and overlap the end of the text segment with the
    		// start of the relro segment in the file.  The PT_LOAD segments
    		// will be such that the last page of the text segment will be
    		// mapped twice, once r-x and once starting out rw- and, after
    		// relocation processing, changed to r--.
    		//
    		// Ideally the last page of the text segment would not be
    		// writable even for this short period.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  9. src/net/http/transport_test.go

    	mu.Unlock()
    
    	wantOnce := func(sub string) {
    		if strings.Count(got, sub) != 1 {
    			t.Errorf("expected substring %q exactly once in output.", sub)
    		}
    	}
    	wantOnceOrMore := func(sub string) {
    		if strings.Count(got, sub) == 0 {
    			t.Errorf("expected substring %q at least once in output.", sub)
    		}
    	}
    	wantOnce("Getting conn for dns-is-faked.golang:" + port)
    	wantOnce("DNS start: {Host:dns-is-faked.golang}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	// With multiple workers, each of them would be calling Delete once.
    	_, err := registry.DeleteCollection(ctx, func(ctx context.Context, obj runtime.Object) error {
    		lock.Lock()
    		defer lock.Unlock()
    		if called {
    			t.Errorf("Delete called more than once, so context cancellation didn't work")
    		} else {
    			cancel()
    			called = true
    		}
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
Back to top