Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 402 for BHelper (0.57 sec)

  1. cluster/gce/gci/configure-helper.sh

      echo -n "${out}" | xxd -r -p | base64 -w 0
    }
    
    # Helper for configuring iptables rules for metadata server.
    #
    # $1 is the command flag (-I or -D).
    # $2 is the firewall action (LOG or REJECT).
    # $3 is the prefix for log output.
    # $4 is "!" to optionally invert the uid range.
    function gce-metadata-fw-helper {
      local -r command="$1"
      local action="$2"
      local -r prefix="$3"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K 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. pkg/test/framework/testcontext.go

    	c.Helper()
    	return c.T.Name()
    }
    
    func (c *testContext) Skip(args ...any) {
    	c.Helper()
    	c.T.Skip(args...)
    }
    
    func (c *testContext) SkipNow() {
    	c.Helper()
    	c.T.SkipNow()
    }
    
    func (c *testContext) Skipf(format string, args ...any) {
    	c.Helper()
    	c.T.Skipf(format, args...)
    }
    
    func (c *testContext) Skipped() bool {
    	c.Helper()
    	return c.T.Skipped()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. cni/test/install_cni.go

    }
    
    func mktemp(dir, prefix string, t *testing.T) string {
    	t.Helper()
    	tempDir, err := os.MkdirTemp(dir, prefix)
    	if err != nil {
    		t.Fatalf("Couldn't get current working directory, err: %v", err)
    	}
    	t.Logf("Created temporary dir: %v", tempDir)
    	return tempDir
    }
    
    func ls(dir string, t *testing.T) []string {
    	files, err := os.ReadDir(dir)
    	t.Helper()
    	if err != nil {
    		t.Fatalf("Failed to list files, err: %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top