Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 111 for race (0.05 sec)

  1. pkg/volume/util/operationexecutor/operation_executor.go

    	// Note that this operation could be operated concurrently with other attach/detach operations.
    	// In theory (but very unlikely in practise), race condition among these operations might mark volume as detached
    	// even if it is attached. But reconciler can correct this in a short period of time.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Ordering.java

          int rightCode = identityHashCode(right);
          if (leftCode != rightCode) {
            return leftCode < rightCode ? -1 : 1;
          }
    
          // identityHashCode collision (rare, but not as rare as you'd think)
          int result = getUid(left).compareTo(getUid(right));
          if (result == 0) {
            throw new AssertionError(); // extremely, extremely unlikely.
          }
          return result;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

          int rightCode = identityHashCode(right);
          if (leftCode != rightCode) {
            return leftCode < rightCode ? -1 : 1;
          }
    
          // identityHashCode collision (rare, but not as rare as you'd think)
          int result = getUid(left).compareTo(getUid(right));
          if (result == 0) {
            throw new AssertionError(); // extremely, extremely unlikely.
          }
          return result;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. pkg/scheduler/schedule_one.go

    	trace := utiltrace.New("Scheduling", utiltrace.Field{Key: "namespace", Value: pod.Namespace}, utiltrace.Field{Key: "name", Value: pod.Name})
    	defer trace.LogIfLong(100 * time.Millisecond)
    	if err := sched.Cache.UpdateSnapshot(klog.FromContext(ctx), sched.nodeInfoSnapshot); err != nil {
    		return result, err
    	}
    	trace.Step("Snapshotting scheduler cache and node infos done")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  5. src/os/os_windows_test.go

    		t.Fatal(err)
    	}
    
    	err = os.Chdir("..")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	fi2, err := f.Stat()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if !os.SameFile(fi, fi2) {
    		t.Fatal("race condition occurred")
    	}
    }
    
    func TestOpenVolumeName(t *testing.T) {
    	tmpdir := t.TempDir()
    	chdir(t, tmpdir)
    
    	want := []string{"file1", "file2", "file3", "gopher.txt"}
    	slices.Sort(want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  6. src/runtime/export_test.go

    	// Initialize the metrics beforehand because this could
    	// allocate and skew the stats.
    	metricsLock()
    	initMetrics()
    
    	systemstack(func() {
    		// Donate the racectx to g0. readMetricsLocked calls into the race detector
    		// via map access.
    		getg().racectx = getg().m.curg.racectx
    
    		// Read the metrics once before in case it allocates and skews the metrics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		expectedGracePeriod int64
    	}{
    		{
    			name: "default termination grace period",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{Containers: []v1.Container{{Name: "foo"}}},
    			},
    			reason:              reasonUnknown,
    			expectedGracePeriod: int64(2),
    		},
    		{
    			name: "use pod termination grace period",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. 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)
  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. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    			template: func() *resource.ResourceClaimTemplate {
    				template := testClaimTemplate(goodName, goodNS, goodClaimSpec)
    				template.CreationTimestamp = now
    				return template
    			}(),
    		},
    		"deletion-grace-period-seconds": {
    			template: func() *resource.ResourceClaimTemplate {
    				template := testClaimTemplate(goodName, goodNS, goodClaimSpec)
    				template.DeletionGracePeriodSeconds = pointer.Int64(10)
    				return template
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top