Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for MapType (0.25 sec)

  1. src/runtime/map.go

    }
    
    func evacuated(b *bmap) bool {
    	h := b.tophash[0]
    	return h > emptyOne && h < minTopHash
    }
    
    func (b *bmap) overflow(t *maptype) *bmap {
    	return *(**bmap)(add(unsafe.Pointer(b), uintptr(t.BucketSize)-goarch.PtrSize))
    }
    
    func (b *bmap) setoverflow(t *maptype, ovf *bmap) {
    	*(**bmap)(add(unsafe.Pointer(b), uintptr(t.BucketSize)-goarch.PtrSize)) = ovf
    }
    
    func (b *bmap) keys() unsafe.Pointer {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    					"field": stringType,
    				}),
    				"mapOfMap": mapType(mapTypePtr(&stringType)),
    				"mapOfObj": mapType(objectTypePtr(map[string]schema.Structural{
    					"field2": stringType,
    				})),
    				"mapOfListMap": mapType(listMapTypePtr([]string{"k"}, objectTypePtr(map[string]schema.Structural{
    					"k": stringType,
    					"v": stringType,
    				}))),
    				"mapOfList": mapType(listTypePtr(&stringType)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/syntax/parser.go

    // The result is false if x could be a type element OR an ordinary (value) expression.
    func isTypeElem(x Expr) bool {
    	switch x := x.(type) {
    	case *ArrayType, *StructType, *FuncType, *InterfaceType, *SliceType, *MapType, *ChanType:
    		return true
    	case *Operation:
    		return isTypeElem(x.X) || (x.Y != nil && isTypeElem(x.Y)) || x.Op == Tilde
    	case *ParenExpr:
    		return isTypeElem(x.X)
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  7. src/go/types/expr.go

    		*ast.IndexExpr,
    		*ast.SliceExpr,
    		*ast.TypeAssertExpr,
    		*ast.StarExpr,
    		*ast.KeyValueExpr,
    		*ast.ArrayType,
    		*ast.StructType,
    		*ast.FuncType,
    		*ast.InterfaceType,
    		*ast.MapType,
    		*ast.ChanType:
    		// These expression are never untyped - nothing to do.
    		// The respective sub-expressions got their final types
    		// upon assignment or use.
    		if debug {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/expr.go

    		*syntax.AssertExpr,
    		*syntax.ListExpr,
    		//*syntax.StarExpr,
    		*syntax.KeyValueExpr,
    		*syntax.ArrayType,
    		*syntax.StructType,
    		*syntax.FuncType,
    		*syntax.InterfaceType,
    		*syntax.MapType,
    		*syntax.ChanType:
    		// These expression are never untyped - nothing to do.
    		// The respective sub-expressions got their final types
    		// upon assignment or use.
    		if debug {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    		// type that contains a pointer.
    		if unionWithPointer[t.X] {
    			return true
    		}
    		return p.hasPointer(f, t.X, false)
    	case *ast.FuncType, *ast.InterfaceType, *ast.MapType, *ast.ChanType:
    		return true
    	case *ast.Ident:
    		// TODO: Handle types defined within function.
    		for _, d := range p.Decl {
    			gd, ok := d.(*ast.GenDecl)
    			if !ok || gd.Tok != token.TYPE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/dwarf.go

    	for _, typ := range []string{
    		"type:internal/abi.Type",
    		"type:internal/abi.ArrayType",
    		"type:internal/abi.ChanType",
    		"type:internal/abi.FuncType",
    		"type:internal/abi.MapType",
    		"type:internal/abi.PtrType",
    		"type:internal/abi.SliceType",
    		"type:internal/abi.StructType",
    		"type:internal/abi.InterfaceType",
    		"type:internal/abi.ITab",
    		"type:internal/abi.Imethod"} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top