Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for bghelper (1.05 sec)

  1. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    	}
    
    	wasUntolerated := true
    	if originalNode != nil {
    		_, wasUntolerated = v1helper.FindMatchingUntoleratedTaint(originalNode.Spec.Taints, pod.Spec.Tolerations, helper.DoNotScheduleTaintsFilterFunc())
    	}
    
    	_, isUntolerated := v1helper.FindMatchingUntoleratedTaint(modifiedNode.Spec.Taints, pod.Spec.Tolerations, helper.DoNotScheduleTaintsFilterFunc())
    
    	if wasUntolerated && !isUntolerated {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
                .addValue(10L)
                .add(SHORT_NAME, 3.14f)
                .addValue(3.14d)
                .add(LONG_NAME, false)
                .add(LONG_NAME, LONG_NAME);
          }
        },
        CONDITIONAL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, "x")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
                .addValue(10L)
                .add(SHORT_NAME, 3.14f)
                .addValue(3.14d)
                .add(LONG_NAME, false)
                .add(LONG_NAME, LONG_NAME);
          }
        },
        CONDITIONAL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, "x")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/internal/concurrent/hashtriemap_test.go

    	t.Helper()
    	return func(deleted bool) {
    		t.Helper()
    
    		if !deleted {
    			t.Errorf("expected key %v with value %v to be in map and deleted", key, old)
    		}
    	}
    }
    
    func expectNotDeleted[K, V comparable](t *testing.T, key K, old V) func(deleted bool) {
    	t.Helper()
    	return func(deleted bool) {
    		t.Helper()
    
    		if deleted {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. pkg/kube/krt/krttest/helpers.go

    	t      test.Failer
    	inputs []any
    }
    
    // NewMock creates a helper to build Collections of static inputs for use with testing.
    // Example usage:
    //
    //	mock := krttest.NewMock(t, []any{serviceFoo, podBar, namespaceBaz})
    //	pods := krttest.GetMockCollection[Pod](mock) // makes a collection of all Pod types from inputs
    func NewMock(t test.Failer, inputs []any) *MockCollection {
    	t.Helper()
    	mc := &MockCollection{t: t, inputs: inputs}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 19:33:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIsolationIntegrationTest.groovy

                rootProject.name = "root"
                include("a", "b")
    
                object Helper {
                    fun printInfo(p: Project) {
                        println("project name = " + p.name)
                    }
                }
    
                gradle.lifecycle.beforeProject {
                    Helper.printInfo(project)
                }
            """
    
            when:
            succeeds("help")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      private static final AtomicHelper ATOMIC_HELPER;
    
      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
        AtomicHelper helper;
        Throwable thrownReflectionFailure = null;
        try {
          helper =
              new SafeAtomicHelper(
                  newUpdater(AggregateFutureState.class, Set.class, "seenExceptions"),
                  newUpdater(AggregateFutureState.class, "remaining"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    	t.Helper()
    	if _, err := client.CoreV1().Namespaces().Create(context.TODO(), &v1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{Name: ns, Labels: labels},
    	}, metav1.CreateOptions{}); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func updateNamespace(t *testing.T, client kubernetes.Interface, ns string, labels map[string]string) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      private static final AtomicHelper ATOMIC_HELPER;
    
      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
        AtomicHelper helper;
        Throwable thrownReflectionFailure = null;
        try {
          helper =
              new SafeAtomicHelper(
                  newUpdater(AggregateFutureState.class, Set.class, "seenExceptions"),
                  newUpdater(AggregateFutureState.class, "remaining"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. tests/integration/telemetry/tracing/tracing.go

    	if err != nil {
    		return
    	}
    	return nil
    }
    
    func VerifyEchoTraces(t framework.TestContext, namespace, clName string, traces []zipkin.Trace) bool {
    	t.Helper()
    	wtr := WantTraceRoot(namespace, clName)
    	for _, trace := range traces {
    		// compare each candidate trace with the wanted trace
    		for _, s := range trace.Spans {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 19:05:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top