Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 102 for MapType (0.19 sec)

  1. staging/src/k8s.io/api/node/v1alpha1/types.go

    	// node matched by this selector. The RuntimeClass nodeSelector is merged
    	// with a pod's existing nodeSelector. Any conflicts will cause the pod to
    	// be rejected in admission.
    	// +optional
    	// +mapType=atomic
    	NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,1,opt,name=nodeSelector"`
    
    	// tolerations are appended (excluding duplicates) to pods running with this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 22 08:59:25 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/node/v1/types.go

    	// node matched by this selector. The RuntimeClass nodeSelector is merged
    	// with a pod's existing nodeSelector. Any conflicts will cause the pod to
    	// be rejected in admission.
    	// +optional
    	// +mapType=atomic
    	NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,1,opt,name=nodeSelector"`
    
    	// tolerations are appended (excluding duplicates) to pods running with this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/mkbuiltin.go

    	case *ast.InterfaceType:
    		if len(t.Methods.List) != 0 {
    			log.Fatal("non-empty interfaces unsupported")
    		}
    		return "types.Types[types.TINTER]"
    	case *ast.MapType:
    		return fmt.Sprintf("types.NewMap(%s, %s)", i.subtype(t.Key), i.subtype(t.Value))
    	case *ast.StarExpr:
    		return fmt.Sprintf("types.NewPtr(%s)", i.subtype(t.X))
    	case *ast.StructType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    	case *ast.KeyValueExpr:
    		children = append(children,
    			tok(n.Colon, len(":")))
    
    	case *ast.LabeledStmt:
    		children = append(children,
    			tok(n.Colon, len(":")))
    
    	case *ast.MapType:
    		children = append(children,
    			tok(n.Map, len("map")))
    
    	case *ast.ParenExpr:
    		children = append(children,
    			tok(n.Lparen, len("(")),
    			tok(n.Rparen, len(")")))
    
    	case *ast.RangeStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/type.go

    		} else if t.StructType().Map.MapType().Bucket == t {
    			// Both have non-nil Map
    			// Special case for Maps which include a recursive type where the recursion is not broken with a named type
    			if x.StructType().Map.MapType().Bucket != x {
    				return CMPlt // bucket maps are least
    			}
    			return t.StructType().Map.cmp(x.StructType().Map)
    		} else if x.StructType().Map.MapType().Bucket == x {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  6. src/encoding/gob/doc.go

    description, constructed from these types:
    
    	type wireType struct {
    		ArrayT           *ArrayType
    		SliceT           *SliceType
    		StructT          *StructType
    		MapT             *MapType
    		GobEncoderT      *gobEncoderType
    		BinaryMarshalerT *gobEncoderType
    		TextMarshalerT   *gobEncoderType
    
    	}
    	type arrayType struct {
    		CommonType
    		Elem typeId
    		Len  int
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    }
    
    func (t *unstructuredMap) ConvertToType(typeValue ref.Type) ref.Val {
    	switch typeValue {
    	case types.MapType:
    		return t
    	case types.TypeType:
    		return types.MapType
    	}
    	return types.NewErr("type conversion error from '%s' to '%s'", t.Type(), typeValue.TypeName())
    }
    
    func (t *unstructuredMap) Equal(other ref.Val) ref.Val {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/walk.go

    			w.node(n.Name)
    		}
    		w.node(n.Type)
    
    	case *InterfaceType:
    		w.fieldList(n.MethodList)
    
    	case *FuncType:
    		w.fieldList(n.ParamList)
    		w.fieldList(n.ResultList)
    
    	case *MapType:
    		w.node(n.Key)
    		w.node(n.Value)
    
    	case *ChanType:
    		w.node(n.Elem)
    
    	// statements
    	case *EmptyStmt: // nothing to do
    
    	case *LabeledStmt:
    		w.node(n.Label)
    		w.node(n.Stmt)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:55:04 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. src/go/ast/walk.go

    			Walk(v, n.TypeParams)
    		}
    		if n.Params != nil {
    			Walk(v, n.Params)
    		}
    		if n.Results != nil {
    			Walk(v, n.Results)
    		}
    
    	case *InterfaceType:
    		Walk(v, n.Methods)
    
    	case *MapType:
    		Walk(v, n.Key)
    		Walk(v, n.Value)
    
    	case *ChanType:
    		Walk(v, n.Value)
    
    	// Statements
    	case *BadStmt:
    		// nothing to do
    
    	case *DeclStmt:
    		Walk(v, n.Decl)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/urls.go

    			cel.UnaryBinding(getEscapedPath))},
    	"getQuery": {
    		cel.MemberOverload("url_get_query", []*cel.Type{apiservercel.URLType},
    			cel.MapType(cel.StringType, cel.ListType(cel.StringType)),
    			cel.UnaryBinding(getQuery))},
    	"isURL": {
    		cel.Overload("is_url_string", []*cel.Type{cel.StringType}, cel.BoolType,
    			cel.UnaryBinding(isURL))},
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top