Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 234 for race (0.08 sec)

  1. src/reflect/value.go

    	a := make([]Value, mlen)
    	var i int
    	for i = 0; i < len(a); i++ {
    		key := mapiterkey(&it)
    		if key == nil {
    			// Someone deleted an entry from the map since we
    			// called maplen above. It's a data race, but nothing
    			// we can do about it.
    			break
    		}
    		a[i] = copyVal(keyType, fl, key)
    		mapiternext(&it)
    	}
    	return a[:i]
    }
    
    // hiter's structure matches runtime.hiter's structure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. cluster/gce/util.sh

    }
    
    function create-network() {
      if ! gcloud compute networks --project "${NETWORK_PROJECT}" describe "${NETWORK}" &>/dev/null; then
        # The network needs to be created synchronously or we have a race. The
        # firewalls can be added concurrent with instance creation.
        local network_mode="auto"
        if [[ "${CREATE_CUSTOM_NETWORK:-}" == "true" ]]; then
          network_mode="custom"
        fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/LoggingTracer.kt

        private val writePosition: () -> Long,
        private val logger: Logger,
        private val level: LogLevel
    ) : Tracer {
    
        // Include a sequence number in the events so the order of events can be preserved in face of log output reordering
        private
        var nextSequenceNumber = 0L
    
        override fun open(frame: String) {
            log(frame, 'O')
        }
    
        override fun close(frame: String) {
            log(frame, 'C')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 20:48:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/eviction_manager_test.go

    	}
    
    	// verify the right pod was killed with the right grace period.
    	if podKiller.pod != podToEvict {
    		t.Errorf("Manager chose to kill pod: %v, but should have chosen %v", podKiller.pod.Name, podToEvict.Name)
    	}
    	if podKiller.gracePeriodOverride == nil {
    		t.Errorf("Manager chose to kill pod but should have had a grace period override.")
    	}
    	observedGracePeriod := *podKiller.gracePeriodOverride
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  5. security/pkg/nodeagent/cache/secretcache_test.go

    		},
    		{
    			name:        "grace period .50",
    			created:     now,
    			expire:      now.Add(time.Hour),
    			gracePeriod: 0.5,
    			expected:    time.Minute * 30,
    		},
    		{
    			name:        "grace period .25",
    			created:     now,
    			expire:      now.Add(time.Hour),
    			gracePeriod: 0.25,
    			expected:    time.Minute * 45,
    		},
    		{
    			name:        "grace period .75",
    			created:     now,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.29.md

    - Fixes a 1.29.0 regression that introduced a possible data race that could cause panics in kube-controller-manager and kube-scheduler ([#124518](https://github.com/kubernetes/kubernetes/pull/124518), [@wojtek-t](https://github.com/wojtek-t)) [SIG API Machinery and Scheduling]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 03:42:38 UTC 2024
    - 324.5K bytes
    - Viewed (0)
  7. prow/config/calico.yaml

                      number of the block at the time of its creation. When releasing
                      an IP, passing the sequence number associated with the allocation
                      allows us to protect against a race condition and ensure the IP
                      hasn't been released and re-allocated since the release request.
                    format: int64
                    type: integer
                  sequenceNumberForAllocation:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 246.5K bytes
    - Viewed (0)
  8. pkg/controller/job/job_controller_test.go

    			pods: []*v1.Pod{
    				buildPod().name("pod1").job(job).Pod,
    				buildPod().name("pod2").job(job).clearOwner().Pod,
    			},
    			wantPods: []string{"pod1"},
    		},
    		"no adopt when deleting race": {
    			jobDeleted: true,
    			pods: []*v1.Pod{
    				buildPod().name("pod1").job(job).Pod,
    				buildPod().name("pod2").job(job).clearOwner().Pod,
    			},
    			wantPods: []string{"pod1"},
    		},
    		"release": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  9. pilot/pkg/bootstrap/certcontroller.go

    	"istio.io/istio/security/pkg/k8s/chiron"
    	"istio.io/istio/security/pkg/pki/ca"
    	certutil "istio.io/istio/security/pkg/util"
    )
    
    const (
    	// defaultCertGracePeriodRatio is the default length of certificate rotation grace period,
    	// configured as the ratio of the certificate TTL.
    	defaultCertGracePeriodRatio = 0.5
    
    	// the interval polling root cert and resign istiod cert when it changes.
    	rootCertPollingInterval = 60 * time.Second
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. src/internal/fmtsort/sort.go

    package fmtsort
    
    import (
    	"cmp"
    	"reflect"
    	"slices"
    )
    
    // Note: Throughout this package we avoid calling reflect.Value.Interface as
    // it is not always legal to do so and it's easier to avoid the issue than to face it.
    
    // SortedMap is a slice of KeyValue pairs that simplifies sorting
    // and iterating over map entries.
    //
    // Each KeyValue pair contains a map key and its corresponding value.
    type SortedMap []KeyValue
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:31:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top