Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for MapType (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    					Generic: schema.Generic{
    						Type: mapType,
    					},
    				}},
    			},
    			ValueValidation: &schema.ValueValidation{
    				MaxItems: maxItems,
    			},
    			ValidationExtensions: schema.ValidationExtensions{
    				XValidations: apiextensions.ValidationRules{
    					{
    						Rule: rule,
    					},
    				},
    			},
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  6. src/go/internal/gcimporter/iimport.go

    	pkg  *types.Package
    	name string
    }
    
    const predeclReserved = 32
    
    type itag uint64
    
    const (
    	// Types
    	definedType itag = iota
    	pointerType
    	sliceType
    	arrayType
    	chanType
    	mapType
    	signatureType
    	structType
    	interfaceType
    	typeParamType
    	instanceType
    	unionType
    )
    
    // iImportData imports a package from the serialized package data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    			}
    			t = hasElem.Elem()
    
    		case opKey:
    			mapType, ok := t.(*types.Map)
    			if !ok {
    				return nil, fmt.Errorf("cannot apply %q to %s (got %T, want map)", code, t, t)
    			}
    			t = mapType.Key()
    
    		case opParams:
    			sig, ok := t.(*types.Signature)
    			if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/reflect/type.go

    }
    
    func (t *interfaceType) common() *abi.Type {
    	return &t.Type
    }
    
    func (t *interfaceType) uncommon() *abi.UncommonType {
    	return t.Uncommon()
    }
    
    // mapType represents a map type.
    type mapType struct {
    	abi.MapType
    }
    
    // ptrType represents a pointer type.
    type ptrType struct {
    	abi.PtrType
    }
    
    // sliceType represents a slice type.
    type sliceType struct {
    	abi.SliceType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		return &ast.ArrayType{
    			Elt: elt,
    		}
    	case *types.Map:
    		key := TypeExpr(f, pkg, t.Key())
    		value := TypeExpr(f, pkg, t.Elem())
    		if key == nil || value == nil {
    			return nil
    		}
    		return &ast.MapType{
    			Key:   key,
    			Value: value,
    		}
    	case *types.Chan:
    		dir := ast.ChanDir(t.Dir())
    		if t.Dir() == types.SendRecv {
    			dir = ast.SEND | ast.RECV
    		}
    		value := TypeExpr(f, pkg, t.Elem())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. src/go/internal/gccgoimporter/parser.go

    		return t
    	}
    
    	t := new(types.Array)
    	p.update(t, nlist)
    
    	len := p.parseInt64()
    	p.expect(']')
    
    	*t = *types.NewArray(p.parseType(pkg), len)
    	return t
    }
    
    // MapType = "map" "[" Type "]" Type .
    func (p *parser) parseMapType(pkg *types.Package, nlist []any) types.Type {
    	p.expectKeyword("map")
    
    	t := new(types.Map)
    	p.update(t, nlist)
    
    	p.expect('[')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top