- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for MapType (0.24 sec)
-
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) -
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) -
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) -
src/internal/abi/type.go
if t.Kind() != Struct { return nil } return (*StructType)(unsafe.Pointer(t)) } // MapType returns t cast to a *MapType, or nil if its tag does not match. func (t *Type) MapType() *MapType { if t.Kind() != Map { return nil } return (*MapType)(unsafe.Pointer(t)) } // ArrayType returns t cast to a *ArrayType, or nil if its tag does not match.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 21.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)