Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withRole (0.18 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			schemaGenerator: func(max *int64) *schema.Structural {
    				strType := withMaxLength(primitiveType("string", ""), max)
    				array := withMaxItems(arrayType("atomic", nil, &strType), max)
    				array = withRule(array, "self.join(' ') == 'aa bb'")
    				return &array
    			},
    			expectedCalcCost: 329853068905,
    			setMaxElements:   10,
    			expectedSetCost:  43,
    		},
    		{
    			name: "extended library isSorted",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. src/net/netip/netip_test.go

    	test("Addr.Is4In6", func() { sinkBool = MustParseAddr("fe80::1").Is4In6() })
    	test("Addr.Unmap", func() { sinkIP = MustParseAddr("ffff::2.3.4.5").Unmap() })
    	test("Addr.WithZone", func() { sinkIP = MustParseAddr("fe80::1").WithZone("") })
    	test("Addr.IsGlobalUnicast", func() { sinkBool = MustParseAddr("2001:db8::1").IsGlobalUnicast() })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof_test.go

    	// detector's 8k-goroutine limit
    	for _, n := range []int{50, 500, 5000} {
    		b.Run(fmt.Sprintf("Profile.WriteTo idle %d", n), withIdle(n, benchWriteTo))
    		b.Run(fmt.Sprintf("Profile.WriteTo churn %d", n), withIdle(n, withChurn(benchWriteTo)))
    		b.Run(fmt.Sprintf("runtime.GoroutineProfile churn %d", n), withIdle(n, withChurn(benchGoroutineProfile)))
    	}
    }
    
    var emptyCallStackTestRun int64
    
    // Issue 18836.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  4. pkg/volume/testing/testing.go

    	plugins := ProbeVolumePlugins(volume.VolumeConfig{})
    	v := NewFakeKubeletVolumeHost(
    		t,
    		"",      /* rootDir */
    		nil,     /* kubeClient */
    		plugins, /* plugins */
    	)
    	v.WithNode(node)
    
    	return v.GetPluginMgr(), plugins[0].(*FakeVolumePlugin)
    }
    
    func GetTestKubeletVolumePluginMgrWithNodeAndRoot(t *testing.T, node *v1.Node, rootDir string) (*volume.VolumePluginMgr, *FakeVolumePlugin) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top