- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 103 for mapTypes (0.14 sec)
-
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) -
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) -
src/cmd/compile/internal/syntax/nodes.go
InterfaceType struct { MethodList []*Field expr } FuncType struct { ParamList []*Field ResultList []*Field expr } // map[Key]Value MapType struct { Key, Value Expr expr } // chan Elem // <-chan Elem // chan<- Elem ChanType struct { Dir ChanDir // 0 means no direction Elem Expr expr } )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:38 UTC 2023 - 9K 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/compile/internal/syntax/nodes_test.go
{"ArrayType", `@[10]T`}, {"ArrayType", `@[...]T`}, {"SliceType", `@[]T`}, {"DotsType", `@...T`}, {"StructType", `@struct{}`}, {"InterfaceType", `@interface{}`}, {"FuncType", `func@()`}, {"MapType", `@map[T]T`}, {"ChanType", `@chan T`}, {"ChanType", `@chan<- T`}, {"ChanType", `@<-chan T`}, } var fields = []test{ {"Field", `@T`}, {"Field", `@(T)`}, {"Field", `@x T`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 18:45:06 UTC 2023 - 8.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/value_test.go
{uint64(63), types.UintType}, {time.Duration(300), types.DurationType}, {time.Now().UTC(), types.TimestampType}, {types.NullValue, types.NullType}, {NewListValue(), types.ListType}, {NewMapValue(), types.MapType}, {[]byte("bytes"), types.BytesType}, {NewObjectValue(objType), objType}, } for i, tc := range tests { idx := i tst := tc t.Run(fmt.Sprintf("[%d]", i), func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 10.4K 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/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) -
src/go/printer/testdata/parser.go
} func (p *parser) parseMapType() *ast.MapType { if p.trace { defer un(trace(p, "MapType")) } pos := p.expect(token.MAP) p.expect(token.LBRACK) key := p.parseType() p.expect(token.RBRACK) value := p.parseType() return &ast.MapType{pos, key, value} } func (p *parser) parseChanType() *ast.ChanType { if p.trace {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K 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)