Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for cmptype (0.13 sec)

  1. 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)
  2. 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)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func mapaccess1_fat(mapType *byte, hmap map[any]any, key *any, zero *byte) (val *any)
    func mapaccess2(mapType *byte, hmap map[any]any, key *any) (val *any, pres bool)
    func mapaccess2_fast32(mapType *byte, hmap map[any]any, key uint32) (val *any, pres bool)
    func mapaccess2_fast64(mapType *byte, hmap map[any]any, key uint64) (val *any, pres bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authentication/cel/compile_test.go

    		fieldName := jsonTagParts[0]
    
    		declField, ok := userDeclType.Fields[fieldName]
    		if !ok {
    			t.Errorf("expected field %q to be present", field.Name)
    		}
    		if nativeTypeToCELType(t, field.Type).CelType().Equal(declField.Type.CelType()).Value() != true {
    			t.Errorf("expected field %q to have type %v, got %v", field.Name, field.Type, declField.Type)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    			EnvOptions: []cel.EnvOption{
    				cel.Variable(ScopedVarName, scopedType.CelType()),
    			},
    			DeclTypes: []*apiservercel.DeclType{
    				scopedType,
    			},
    		},
    		environment.VersionedOptions{
    			IntroducedVersion: version.MajorMinor(1, 24),
    			EnvOptions: []cel.EnvOption{
    				cel.Variable(OldScopedVarName, scopedType.CelType()),
    			},
    		},
    	)
    	if err != nil {
    		return nil, nil, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

                }
        }
    
        override val typeContext = KaFe10TypeSystemCommonBackendContextForTypeMapping(resolveSession)
    
        fun mapType(type: KotlinType, mode: TypeMappingMode = TypeMappingMode.DEFAULT, sw: JvmSignatureWriter? = null): Type {
            return AbstractTypeMapper.mapType(this, type, mode, sw)
        }
    
        fun isPrimitiveBacked(type: KotlinType): Boolean =
            AbstractTypeMapper.isPrimitiveBacked(this, type)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. istioctl/pkg/util/configdump/wrapper.go

    	exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
    	"google.golang.org/protobuf/reflect/protoreflect"
    	"google.golang.org/protobuf/reflect/protoregistry"
    	"google.golang.org/protobuf/types/known/emptypb"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    type resolver struct {
    	*protoregistry.Types
    }
    
    var nonStrictResolver = &resolver{protoregistry.GlobalTypes}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go

    				{
    					IntroducedVersion: version.MajorMinor(1, 28),
    					DeclTypes:         []*apiservercel.DeclType{widgetsType},
    					EnvOptions: []cel.EnvOption{
    						cel.Variable("widget", widgetsType.CelType()),
    					},
    				},
    			},
    		},
    		{
    			name: "declared type enabled",
    			typeVersionCombinations: []envTypeAndVersion{
    				{version.MajorMinor(1, 28), NewExpressions},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. 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)
  10. src/runtime/map_fast64.go

    }
    
    func growWork_fast64(t *maptype, h *hmap, bucket uintptr) {
    	// make sure we evacuate the oldbucket corresponding
    	// to the bucket we're about to use
    	evacuate_fast64(t, h, bucket&h.oldbucketmask())
    
    	// evacuate one more oldbucket to make progress on growing
    	if h.growing() {
    		evacuate_fast64(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_fast64(t *maptype, h *hmap, oldbucket uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top