Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 300T (0.03 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		{decQuantity(1080, -3, DecimalSI), "1080m", "1.08"},
    		{decQuantity(108, -2, DecimalSI), "1080m", "1080000000n"},
    		{decQuantity(10800, -4, DecimalSI), "1080m", ""},
    		{decQuantity(300, 6, DecimalSI), "300M", ""},
    		{decQuantity(1, 12, DecimalSI), "1T", ""},
    		{decQuantity(1234567, 6, DecimalSI), "1234567M", ""},
    		{decQuantity(1234567, -3, BinarySI), "1234567m", ""},
    		{decQuantity(3, 3, DecimalSI), "3k", ""},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		runPreScore          bool
    	}{
    		{
    			name: "test case for ScoringStrategy RequestedToCapacityRatio case1",
    			requestedPod: st.MakePod().
    				Req(map[v1.ResourceName]string{"cpu": "3000", "memory": "5000"}).
    				Obj(),
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			expectedSetCost:  74,
    		},
    		{
    			name:             "index of array of number maps",
    			schemaGenerator:  getMapArrayWithRule("number", `self[0].x > 2.0`),
    			expectedCalcCost: 4,
    			setMaxElements:   3000,
    			expectedSetCost:  4,
    		},
    		{
    			name:             "duration array with all",
    			schemaGenerator:  genArrayWithRule("duration", "self.all(x, true)"),
    			expectedCalcCost: 2359295,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. pkg/controller/endpointslice/endpointslice_controller_test.go

    			},
    		},
    		{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "epSlice3",
    			},
    			AddressType: discovery.AddressTypeIPv6,
    			Endpoints: []discovery.Endpoint{
    				{
    					Addresses: []string{"3001:0da8:75a3:0000:0000:8a2e:0370:7334"},
    				},
    			},
    		},
    	}
    
    	epSlice2 := endpointSlices[1]
    	epSlice3 := endpointSlices[2]
    
    	result := dropEndpointSlicesPendingDeletion(endpointSlices)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  5. src/time/time_test.go

    var minDurationTests = []struct {
    	d    Duration
    	want float64
    }{
    	{Duration(-60000000000), -1},
    	{Duration(-1), -1 / 60e9},
    	{Duration(1), 1 / 60e9},
    	{Duration(60000000000), 1},
    	{Duration(3000), 5e-8},
    }
    
    func TestDurationMinutes(t *testing.T) {
    	for _, tt := range minDurationTests {
    		if got := tt.d.Minutes(); got != tt.want {
    			t.Errorf("Duration(%s).Minutes() = %g; want: %g", tt.d, got, tt.want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    		v1.ResourceMemory: "100",
    	}
    	mediumRes = map[v1.ResourceName]string{
    		v1.ResourceCPU:    "200m",
    		v1.ResourceMemory: "200",
    	}
    	largeRes = map[v1.ResourceName]string{
    		v1.ResourceCPU:    "300m",
    		v1.ResourceMemory: "300",
    	}
    	veryLargeRes = map[v1.ResourceName]string{
    		v1.ResourceCPU:    "500m",
    		v1.ResourceMemory: "500",
    	}
    
    	epochTime  = metav1.NewTime(time.Unix(0, 0))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top