- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 349 for nelem (0.05 sec)
-
src/cmd/compile/internal/walk/walk.go
case 1: return typecheck.LookupRuntime(name, t.Elem()) case 2: return typecheck.LookupRuntime(name, t.Elem(), t.Elem()) } base.Fatalf("chanfn %d", n) return nil } func mapfn(name string, t *types.Type, isfat bool) ir.Node { if !t.IsMap() { base.Fatalf("mapfn %v", t) } if mapfast(t) == mapslow || isfat { return typecheck.LookupRuntime(name, t.Key(), t.Elem(), t.Key(), t.Elem()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
src/reflect/all_test.go
isValid(m.Func) isNonNil(v.Elem().Field(0).Interface()) isNonNil(v.Elem().Field(1).Interface()) isNonNil(v.Elem().Field(2).Field(2).Index(0)) isNonNil(v.Elem().FieldByName("X").Interface()) isNonNil(v.Elem().FieldByName("Y").Interface()) isNonNil(v.Elem().FieldByName("Z").Interface()) isNonNil(v.Elem().FieldByName("S").Index(0).Interface()) isNonNil(v.Type().Method(0).Func.Interface())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/internal/reflectlite/type.go
i-- } return s[i+1:] } func toRType(t *abi.Type) rtype { return rtype{t} } func elem(t *abi.Type) *abi.Type { et := t.Elem() if et != nil { return et } panic("reflect: Elem of invalid type " + toRType(t).String()) } func (t rtype) Elem() Type { return toType(elem(t.common())) } func (t rtype) In(i int) Type { tt := t.Type.FuncType() if tt == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.5K bytes - Viewed (0) -
src/reflect/value.go
k := *(*string)(key.ptr) if elem.typ() == nil { mapdelete_faststr(v.typ(), v.pointer(), k) return } elem.mustBeExported() elem = elem.assignTo("reflect.Value.SetMapIndex", tt.Elem, nil) var e unsafe.Pointer if elem.flag&flagIndir != 0 { e = elem.ptr } else { e = unsafe.Pointer(&elem.ptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/reflect/iter.go
return rangeNum[uint32](v.Uint()) case Uint64: return rangeNum[uint64](v.Uint()) case Uintptr: return rangeNum[uintptr](v.Uint()) case Pointer: if v.Elem().kind() != Array { break } return func(yield func(Value) bool) { v = v.Elem() for i := range v.Len() { if !yield(ValueOf(i)) { return } } } case Array, Slice: return func(yield func(Value) bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 13:40:11 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
// uncheckedCastNullableTToT is safe because bufferSize > 0. if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) > 0) { threshold = elem; } // uncheckedCastNullableTToT is safe because bufferSize > 0. } else if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) < 0) { // Otherwise, we can ignore elem; we've seen k better elements. buffer[bufferSize++] = elem;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.2K bytes - Viewed (0) -
test/fixedbugs/issue35073b.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:12:49 UTC 2023 - 706 bytes - Viewed (0) -
src/runtime/map_fast64.go
memclrHasPointers(k, 8) } } e := add(unsafe.Pointer(b), dataOffset+abi.MapBucketCount*8+i*uintptr(t.ValueSize)) if t.Elem.Pointers() { memclrHasPointers(e, t.Elem.Size_) } else { memclrNoHeapPointers(e, t.Elem.Size_) } b.tophash[i] = emptyOne // If the bucket now ends in a bunch of emptyOne states, // change those to emptyRest states.
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/internal/abi/map.go
// Map constants common to several packages // runtime/runtime-gdb.py:MapTypePrinter contains its own copy const ( // Maximum number of key/elem pairs a bucket can hold. MapBucketCountBits = 3 // log2 of number of elements in a bucket. MapBucketCount = 1 << MapBucketCountBits // Maximum key or elem size to keep inline (instead of mallocing per element). // Must fit in a uint8.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 20:09:01 UTC 2024 - 719 bytes - Viewed (0)