Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 200 for ifelse (0.14 sec)

  1. pkg/kubelet/kubelet_pods_test.go

    			runtimeSupportsRRO: true,
    			expected:           false,
    			expectedErr:        "not read-only",
    		},
    		{
    			m:                  v1.VolumeMount{Name: "rro-if-possible", ReadOnly: false, RecursiveReadOnly: ptr.To(v1.RecursiveReadOnlyIfPossible)},
    			runtimeSupportsRRO: false,
    			expected:           false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  2. src/database/sql/sql_test.go

    		{true, true, NullBool{true, true}},
    		{NullBool{true, true}, false, NullBool{true, true}},
    		{NullBool{true, false}, true, NullBool{false, false}},
    		{true, NullBool{true, false}, nil},
    	}}
    	nullTestRun(t, spec)
    }
    
    func TestNullTimeParam(t *testing.T) {
    	t0 := time.Time{}
    	t1 := time.Date(2000, 1, 1, 8, 9, 10, 11, time.UTC)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_node_status_test.go

    			newNode:         newNode(false),
    			createError:     alreadyExists,
    			getError:        conflict,
    			expectedResult:  false,
    			expectedActions: 2,
    		},
    		{
    			name:            "update existing node failed",
    			newNode:         newNode(false),
    			createError:     alreadyExists,
    			existingNode:    newNode(true),
    			patchError:      conflict,
    			expectedResult:  false,
    			expectedActions: 3,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  4. pkg/api/pod/util_test.go

    			hasProcMount: false,
    			pod:          podWithDefaultProcMount,
    		},
    		{
    			description:  "does not have ProcMount",
    			hasProcMount: false,
    			pod:          podWithoutProcMount,
    		},
    		{
    			description:  "is nil",
    			hasProcMount: false,
    			pod:          func() *api.Pod { return nil },
    		},
    	}
    
    	for _, enabled := range []bool{true, false} {
    		for _, oldPodInfo := range podInfo {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    					Internal: minio.AdvancedGetOptions{
    						ReplicationProxyRequest: "false",
    					},
    				})
    				sz := roi.Size
    				if err != nil {
    					if roi.DeleteMarker && isErrMethodNotAllowed(ErrorRespToObjectError(err, opts.bucket, roi.Name)) {
    						st.ReplicatedCount++
    					} else {
    						st.FailedCount++
    					}
    					sz = 0
    				} else {
    					st.ReplicatedCount++
    					st.ReplicatedSize += roi.Size
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                        _IFNULL(label);
                        _LDC(true);
                        _IRETURN_OF(BOOLEAN_TYPE);
                        visitLabel(label);
                        _LDC(false);
                        _IRETURN_OF(BOOLEAN_TYPE);
                    } else {
                        // Type has its own toString implementation
                        // Generate: return true
                        _LDC(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_builder_test.go

    		if found {
    			if alpnOverride.GetStringValue() != "false" {
    				t.Errorf("alpn_override:%s tlsMode:%s, should be false for either TLS mode SIMPLE or MUTUAL", alpnOverride, tlsMode)
    			}
    		} else {
    			t.Errorf("alpn_override metadata should be written for either TLS mode SIMPLE or MUTUAL")
    		}
    	} else if ok {
    		alpnOverride, found := istio.Fields[util.AlpnOverrideMetadataKey]
    		if found {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  8. pkg/apis/apps/validation/validation_test.go

    		isValid bool
    	}{
    		"valid":             {valid, true},
    		"negative revision": {badRevision, false},
    		"empty name":        {emptyName, false},
    		"invalid name":      {invalidName, false},
    		"empty namespace":   {emptyNs, false},
    		"invalid namespace": {invalidNs, false},
    		"nil data":          {nilData, false},
    	}
    
    	for name, tc := range tests {
    		t.Run(name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  9. src/net/http/transport_test.go

    		want bool
    	}{
    		{"HTTP/1.0 408", true},
    		{"HTTP/1.1 408", true},
    		{"HTTP/1.8 408", true},
    		{"HTTP/2.0 408", false}, // maybe h2c would do this? but false for now.
    		{"HTTP/1.1 408 ", true},
    		{"HTTP/1.1 40", false},
    		{"http/1.0 408", false},
    		{"HTTP/1-1 408", false},
    	}
    	for _, tt := range tests {
    		if got := Export_is408Message([]byte(tt.in)); got != tt.want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/istio-workload-dashboard.json

              "custom": {
                "axisCenteredZero": false,
                "axisColorMode": "text",
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 102.7K bytes
    - Viewed (0)
Back to top