Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 72 for mapTypes (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/syntax/positions.go

    			}
    			return n.Pos()
    		// types
    		// case *ArrayType:
    		// case *SliceType:
    		// case *DotsType:
    		// case *StructType:
    		// case *Field:
    		// case *InterfaceType:
    		// case *FuncType:
    		// case *MapType:
    		// case *ChanType:
    
    		// statements
    		// case *EmptyStmt:
    		// case *LabeledStmt:
    		// case *BlockStmt:
    		// case *ExprStmt:
    		case *SendStmt:
    			m = n.Chan
    		// case *DeclStmt:
    		case *AssignStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        //TODO Check thread safety
        session.jvmTypeMapper.mapType(this, mode, signatureWriter) {
            val containingFile = useSitePosition.containingKtFile
            // parameters for default setters does not have kotlin origin, but setter has
                ?: (useSitePosition as? KtLightParameter)?.parent?.parent?.containingKtFile
                ?: return@mapType null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. src/runtime/type.go

    		}
    		return res
    	}
    	res := md.textAddr(uint32(off))
    	return unsafe.Pointer(res)
    }
    
    type uncommontype = abi.UncommonType
    
    type interfacetype = abi.InterfaceType
    
    type maptype = abi.MapType
    
    type arraytype = abi.ArrayType
    
    type chantype = abi.ChanType
    
    type slicetype = abi.SliceType
    
    type functype = abi.FuncType
    
    type ptrtype = abi.PtrType
    
    type name = abi.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/reflect/export_test.go

    	return toType(bucketOf(x.common(), y.common()))
    }
    
    func CachedBucketOf(m Type) Type {
    	t := m.(*rtype)
    	if Kind(t.t.Kind_&abi.KindMask) != Map {
    		panic("not map")
    	}
    	tt := (*mapType)(unsafe.Pointer(t))
    	return toType(tt.Bucket)
    }
    
    type EmbedWithUnexpMeth struct{}
    
    func (EmbedWithUnexpMeth) f() {}
    
    type pinUnexpMeth interface {
    	f()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. 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)
Back to top