Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for NIL (0.13 sec)

  1. pkg/apis/core/v1/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1.AvoidPods)(nil), (*core.AvoidPods)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_AvoidPods_To_core_AvoidPods(a.(*v1.AvoidPods), b.(*core.AvoidPods), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  2. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    	if x != nil {
    		return x.CustomService
    	}
    	return nil
    }
    
    func (x *EgressGatewayConfig) GetEnabled() *wrapperspb.BoolValue {
    	if x != nil {
    		return x.Enabled
    	}
    	return nil
    }
    
    func (x *EgressGatewayConfig) GetEnv() *structpb.Struct {
    	if x != nil {
    		return x.Env
    	}
    	return nil
    }
    
    func (x *EgressGatewayConfig) GetLabels() map[string]string {
    	if x != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
  3. src/net/http/h2_bundle.go

    	if _, err := io.ReadFull(fr.r, payload); err != nil {
    		return nil, err
    	}
    	f, err := http2typeFrameParser(fh.Type)(fr.frameCache, fh, fr.countError, payload)
    	if err != nil {
    		if ce, ok := err.(http2connError); ok {
    			return nil, fr.connError(ce.Code, ce.Reason)
    		}
    		return nil, err
    	}
    	if err := fr.checkFrameOrder(f); err != nil {
    		return nil, err
    	}
    	if fr.logReads {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  4. pkg/apis/core/validation/validation.go

    	// if oldPV does not have ControllerExpandSecretRef then allow it to be set
    	if (oldPv.Spec.CSI != nil && oldPv.Spec.CSI.ControllerExpandSecretRef == nil) &&
    		(newPv.Spec.CSI != nil && newPv.Spec.CSI.ControllerExpandSecretRef != nil) {
    		newPv = newPv.DeepCopy()
    		newPv.Spec.CSI.ControllerExpandSecretRef = nil
    	}
    
    	// PersistentVolumeSource should be immutable after creation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  5. pkg/registry/core/service/storage/storage_test.go

    		ResourcePrefix:          "pods",
    	}, nil, nil, nil)
    	if err != nil {
    		t.Fatalf("unexpected error from REST storage: %v", err)
    	}
    	if pods != nil && len(pods) > 0 {
    		ctx := genericapirequest.NewDefaultContext()
    		for ix := range pods {
    			key, _ := podStorage.Pod.KeyFunc(ctx, pods[ix].Name)
    			if err := podStorage.Pod.Storage.Create(ctx, key, &pods[ix], nil, 0, false); err != nil {
    				t.Fatalf("Couldn't create pod: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/ssa.go

    			// }
    			// if k != nil && (k.Op == OCAP && SameSafeExpr(k.Left, n.Left)) {
    			//      k = nil
    			// }
    			if i == nil {
    				skip |= skipPtr
    				if j == nil {
    					skip |= skipLen
    				}
    				if k == nil {
    					skip |= skipCap
    				}
    			}
    		}
    
    		s.assignWhichMayOverlap(n.X, r, deref, skip, mayOverlap)
    
    	case ir.OIF:
    		n := n.(*ir.IfStmt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  7. pkg/proxy/iptables/proxier_test.go

    		lines = append(lines, "COMMIT")
    		tables[lines[0][1:]] = lines
    	}
    
    	if tables["nat"] == nil {
    		return nil, fmt.Errorf("bad ruleData (no %q table)", "nat")
    	}
    	if tables["filter"] == nil {
    		return nil, fmt.Errorf("bad ruleData (no %q table)", "filter")
    	}
    	return tables, nil
    }
    
    func TestParseIPTablesData(t *testing.T) {
    	for _, tc := range []struct {
    		name   string
    		input  string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  8. doc/go_spec.html

    <a href="#Predeclared_identifiers"><code>nil</code></a>;
    that case is selected when the expression in the TypeSwitchGuard
    is a <code>nil</code> interface value.
    There may be at most one <code>nil</code> case.
    </p>
    
    <p>
    Given an expression <code>x</code> of type <code>interface{}</code>,
    the following type switch:
    </p>
    
    <pre>
    switch i := x.(type) {
    case nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    			}
    			if tt.expectedMaxCardinality == nil && curCostInfo.MaxCardinality == nil {
    				// unbounded cardinality case, test ran correctly
    			} else if tt.expectedMaxCardinality == nil && curCostInfo.MaxCardinality != nil {
    				t.Errorf("expected unbounded cardinality (got %d)", curCostInfo.MaxCardinality)
    			} else if tt.expectedMaxCardinality != nil && curCostInfo.MaxCardinality == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
  10. prow/config/calico.yaml

                      is not affine to a host.
                    type: string
                  allocations:
                    description: Array of allocations in-use within this block. nil entries
                      mean the allocation is free. For non-nil entries at index i, the
                      index is the ordinal of the allocation within this block and the
                      value is the index of the associated attributes in the Attributes
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 246.5K bytes
    - Viewed (0)
Back to top