Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 977 for incremented (0.17 sec)

  1. pkg/scheduler/framework/types_test.go

    							},
    						},
    						NodeName: nodeName,
    					},
    				},
    			},
    		},
    	}
    
    	gen := generation
    	ni := NewNodeInfo(pods...)
    	if ni.Generation <= gen {
    		t.Errorf("Generation is not incremented. previous: %v, current: %v", gen, ni.Generation)
    	}
    	expected.Generation = ni.Generation
    	if !reflect.DeepEqual(expected, ni) {
    		t.Errorf("expected: %#v, got: %#v", expected, ni)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  2. pilot/pkg/leaderelection/leaderelection.go

    	// Criteria to determine leader priority.
    	revision       string
    	perRevision    bool
    	remote         bool
    	defaultWatcher revisions.DefaultWatcher
    
    	// Records which "cycle" the election is on. This is incremented each time an election is won and then lost
    	// This is mostly just for testing
    	cycle      *atomic.Int32
    	electionID string
    
    	// Store as field for testing
    	le *k8sleaderelection.LeaderElector
    	mu sync.RWMutex
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. pkg/controller/nodelifecycle/scheduler/rate_limited_queue_test.go

    	}
    }
    
    func TestTryOrdering(t *testing.T) {
    	defer func() { now = time.Now }()
    	current := time.Unix(0, 0)
    	delay := 0
    	// the current time is incremented by 1ms every time now is invoked
    	now = func() time.Time {
    		if delay > 0 {
    			delay--
    		} else {
    			current = current.Add(time.Millisecond)
    		}
    		t.Logf("time %d", current.UnixNano())
    		return current
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 17:40:33 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-filepath.h

      // will be directory/base_name.extension or
      // directory/base_name_<number>.extension if directory/base_name.extension
      // already exists. The number will be incremented until a pathname is found
      // that does not already exist.
      // Examples: 'dir/foo_test.xml' or 'dir/foo_test_1.xml'.
      // There could be a race condition if two or more processes are calling this
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/crypto/aes/gcm_s390x.go

    		copy(s[:], data)
    		ghash(&g.hashKey, hash, s[:])
    	}
    }
    
    // cryptBlocksGCM encrypts src using AES in counter mode using the given
    // function code and key. The rightmost 32-bits of the counter are incremented
    // between each block as required by the GCM spec. The initial counter value
    // is given by cnt, which is updated with the value of the next counter value
    // to use.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. manifests/addons/dashboards/pilot-dashboard.gen.json

          },
          {
             "datasource": {
                "type": "datasource",
                "uid": "-- Mixed --"
             },
             "description": "Rate of XDS push operations, by type. This is incremented on a per-proxy basis.\n",
             "fieldConfig": {
                "defaults": {
                   "custom": {
                      "fillOpacity": 10,
                      "gradientMode": "hue",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta_test.go

    		ExpectedErrs []string
    	}{
    		"invalid generation change - decremented": {
    			Old:          metav1.ObjectMeta{Name: "test", ResourceVersion: "1", Generation: 5},
    			New:          metav1.ObjectMeta{Name: "test", ResourceVersion: "1", Generation: 4},
    			ExpectedErrs: []string{"field.generation: Invalid value: 4: must not be decremented"},
    		},
    		"valid generation change - incremented by one": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 07 03:12:31 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  8. pkg/apis/apps/validation/validation.go

    		allErrs = append(allErrs, field.Invalid(fldPath.Child("templateGeneration"), newSpec.TemplateGeneration, "must be incremented upon template update"))
    	} else if newSpec.TemplateGeneration > oldSpec.TemplateGeneration && !templateUpdated {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("templateGeneration"), newSpec.TemplateGeneration, "must not be incremented without template update"))
    	}
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  9. plugin/pkg/admission/resourcequota/admission_test.go

    		t.Errorf("Expected actions:\n%v\n but got:\n%v\nDifference:\n%v", expectedActionSet, actionSet, expectedActionSet.Difference(actionSet))
    	}
    
    	// verify usage decremented the loadbalancer, and incremented the nodeport, but kept the service the same.
    	decimatedActions := removeListWatch(kubeClient.Actions())
    	lastActionIndex := len(decimatedActions) - 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  10. src/cmd/go/script_test.go

    	counters := readCounters(t, telemetryDir)
    	if _, ok := scriptGoInvoked.Load(testing.TB(t)); ok {
    		if !disabledOnPlatform && len(counters) == 0 {
    			t.Fatal("go was invoked but no counters were incremented")
    		}
    	}
    }
    
    // Copied from https://go.googlesource.com/telemetry/+/5f08a0cbff3f/internal/telemetry/mode.go#122
    // TODO(go.dev/issues/66205): replace this with the public API once it becomes available.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top