- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for cmptype (0.14 sec)
-
src/cmd/compile/internal/types2/api_test.go
// type with TypeArgs results in an identical instance. ptype := useMap[inst.Name].Type() lister, _ := ptype.(interface{ TypeParams() *TypeParamList }) if lister == nil || lister.TypeParams().Len() == 0 { t.Fatalf("info.Types[%v] = %v, want parameterized type", inst.Name, ptype) } inst2, err := Instantiate(nil, ptype, targs, true) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
// type with TypeArgs results in an identical instance. ptype := useMap[inst.Ident].Type() lister, _ := ptype.(interface{ TypeParams() *TypeParamList }) if lister == nil || lister.TypeParams().Len() == 0 { t.Fatalf("info.Types[%v] = %v, want parameterized type", inst.Ident, ptype) } inst2, err := Instantiate(nil, ptype, targs, true) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
pilot/pkg/security/authn/policy_applier_test.go
"github.com/google/go-cmp/cmp" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/testing/protocmp" "google.golang.org/protobuf/types/known/durationpb" "google.golang.org/protobuf/types/known/emptypb" authn_alpha "istio.io/api/authentication/v1alpha1" authn_filter "istio.io/api/envoy/config/filter/http/authn/v2alpha1" "istio.io/api/security/v1beta1" type_beta "istio.io/api/type/v1beta1"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 01 07:32:22 UTC 2023 - 60.2K bytes - Viewed (0) -
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) -
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) -
src/cmd/cgo/out.go
// accounted for explicitly. ctype := "struct {\n" gotype := new(bytes.Buffer) fmt.Fprintf(gotype, "struct {\n") off := int64(0) npad := 0 argField := func(typ ast.Expr, namePat string, args ...interface{}) { name := fmt.Sprintf(namePat, args...) t := p.cgoType(typ) if off%t.Align != 0 { pad := t.Align - off%t.Align ctype += fmt.Sprintf("\t\tchar __pad%d[%d];\n", npad, pad)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K 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/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/parser/parser.go
// the decision towards a type parameter list. if pname, ptype := extractName(x, p.tok == token.COMMA); pname != nil && (ptype != nil || p.tok != token.RBRACK) { // spec.Name "[" pname ... // spec.Name "[" pname ptype ... // spec.Name "[" pname ptype "," ... p.parseGenericType(spec, lbrack, pname, ptype) // ptype may be nil } else { // spec.Name "[" pname "]" ...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
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)