Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 108 for MapType (0.12 sec)

  1. src/runtime/map_fast32.go

    }
    
    func growWork_fast32(t *maptype, h *hmap, bucket uintptr) {
    	// make sure we evacuate the oldbucket corresponding
    	// to the bucket we're about to use
    	evacuate_fast32(t, h, bucket&h.oldbucketmask())
    
    	// evacuate one more oldbucket to make progress on growing
    	if h.growing() {
    		evacuate_fast32(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_fast32(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
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            final Method m1 = MapType.class.getMethod("mapOfStringToObject");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Map.class), is(true));
            assertThat(GenericsUtil.getKeyTypeOfMap(t1), is(sameClass(String.class)));
            assertThat(GenericsUtil.getValueTypeOfMap(t1), is(sameClass(Object.class)));
    
            final Method m2 = MapType.class.getMethod("mapOfClassToString");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. 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)
  4. src/internal/concurrent/hashtriemap.go

    func NewHashTrieMap[K, V comparable]() *HashTrieMap[K, V] {
    	var m map[K]V
    	mapType := abi.TypeOf(m).MapType()
    	ht := &HashTrieMap[K, V]{
    		root:     newIndirectNode[K, V](nil),
    		keyHash:  mapType.Hasher,
    		keyEqual: mapType.Key.Equal,
    		valEqual: mapType.Elem.Equal,
    		seed:     uintptr(rand.Uint64()),
    	}
    	return ht
    }
    
    type hashFunc func(unsafe.Pointer, uintptr) uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. src/encoding/gob/type.go

    	return g.Name
    }
    
    func (g *gobEncoderType) string() string { return g.Name }
    
    // Map type
    type mapType struct {
    	CommonType
    	Key  typeId
    	Elem typeId
    }
    
    func newMapType(name string) *mapType {
    	m := &mapType{CommonType{Name: name}, 0, 0}
    	return m
    }
    
    func (m *mapType) init(key, elem gobType) {
    	// Set our type id before evaluating the element's, in case it's our own.
    	setTypeId(m)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/iexport.go

    //
    //     type ChanType struct {
    //         Tag  itag   // chanType
    //         Dir  uint64 // 1 RecvOnly; 2 SendOnly; 3 SendRecv
    //         Elem typeOff
    //     }
    //
    //     type MapType struct {
    //         Tag  itag // mapType
    //         Key  typeOff
    //         Elem typeOff
    //     }
    //
    //     type FuncType struct {
    //         Tag       itag // signatureType
    //         PkgPath   stringOff
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 02:40:02 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirJvmTypeMapper.kt

        override val token: KaLifetimeToken,
    ) : KaJvmTypeMapper(), KaFirSessionComponent {
    
        override fun mapTypeToJvmType(type: KaType, mode: TypeMappingMode): Type {
            return analysisSession.useSiteSession.jvmTypeMapper.mapType(type.coneType, mode, sw = null, unresolvedQualifierRemapper = null)
        }
    
        override fun isPrimitiveBacked(type: KaType): Boolean {
            return analysisSession.useSiteSession.jvmTypeMapper.isPrimitiveBacked(type.coneType)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. src/runtime/map_faststr.go

    }
    
    func growWork_faststr(t *maptype, h *hmap, bucket uintptr) {
    	// make sure we evacuate the oldbucket corresponding
    	// to the bucket we're about to use
    	evacuate_faststr(t, h, bucket&h.oldbucketmask())
    
    	// evacuate one more oldbucket to make progress on growing
    	if h.growing() {
    		evacuate_faststr(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_faststr(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
    - 15.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/types.go

    		return StringType
    	case TimestampType.TypeName():
    		return TimestampType
    	case UintType.TypeName():
    		return UintType
    	case ListType.TypeName():
    		return ListType
    	case MapType.TypeName():
    		return MapType
    	default:
    		return nil
    	}
    }
    
    var (
    	// AnyType is equivalent to the CEL 'protobuf.Any' type in that the value may have any of the
    	// types supported.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10JvmTypeMapper.kt

        override fun mapTypeToJvmType(type: KaType, mode: TypeMappingMode): Type {
            val kotlinType = (type as KaFe10Type).fe10Type
            return typeMapper.mapType(kotlinType, mode)
        }
    
        override fun isPrimitiveBacked(type: KaType): Boolean {
            val kotlinType = (type as KaFe10Type).fe10Type
            return typeMapper.isPrimitiveBacked(kotlinType)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top