- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 34 for MapType (0.23 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go
} // MapIsCorrelatable returns true if the mapType can be used to correlate the data elements of a map after an update // with the data elements of the map from before the updated. func MapIsCorrelatable(mapType *string) bool { // if a third map type is introduced, assume it's not correlatable. granular is the default if unspecified. return mapType == nil || *mapType == "granular" || *mapType == "atomic" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 18:21:31 UTC 2024 - 32.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go
Generic: schema.Generic{ Type: "object", }, AdditionalProperties: &schema.StructuralOrBool{}, } if d == 1 { return nodeTemplate } else { mapType := generator(d - 1) nodeTemplate.AdditionalProperties.Structural = &mapType return nodeTemplate } } schema := generator(depth) return &schema } func BenchmarkDeeplyNestedSchemaDeclType(b *testing.B) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 14K bytes - Viewed (0) -
src/go/ast/ast.go
Methods *FieldList // list of embedded interfaces, methods, or types Incomplete bool // true if (source) methods or types are missing in the Methods list } // A MapType node represents a map type. MapType struct { Map token.Pos // position of "map" keyword Key Expr Value Expr } // A ChanType node represents a channel type. ChanType struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0) -
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) -
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) -
src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 23.1K bytes - Viewed (0) -
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) -
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) -
src/go/ast/filter.go
b2 := filterParamList(t.Results, f, export) return b1 || b2 case *InterfaceType: if filterFieldList(t.Methods, f, export) { t.Incomplete = true } return len(t.Methods.List) > 0 case *MapType: b1 := filterType(t.Key, f, export) b2 := filterType(t.Value, f, export) return b1 || b2 case *ChanType: return filterType(t.Value, f, export) } return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0) -
src/runtime/alg.go
return h default: // Should never happen, as typehash should only be called // with comparable types. panic(errorString("hash of unhashable type " + toRType(t).string())) } } func mapKeyError(t *maptype, p unsafe.Pointer) error { if !t.HashMightPanic() { return nil } return mapKeyError2(t.Key, p) } func mapKeyError2(t *_type, p unsafe.Pointer) error { if t.TFlag&abi.TFlagRegularMemory != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 13.6K bytes - Viewed (0)