internal/unsafeheader.Slice.Len (field)
22 uses
internal/unsafeheader (current package)
unsafeheader.go#L24: Len int
internal/reflectlite
swapper.go#L69: if uint(i) >= uint(s.Len) || uint(j) >= uint(s.Len) {
value.go#L342: return (*unsafeheader.Slice)(v.ptr).Len
reflect
swapper.go#L70: if uint(i) >= uint(s.Len) || uint(j) >= uint(s.Len) {
value.go#L1423: if uint(i) >= uint(s.Len) {
value.go#L1707: return (*unsafeheader.Slice)(v.ptr).Len
value.go#L2360: s.Len = n
value.go#L2370: if n < s.Len || n > s.Cap {
value.go#L2515: s.Len = j - i
value.go#L2567: s.Len = j - i
value.go#L2829: case p.Len+n < 0:
value.go#L2831: case p.Len+n > p.Cap:
value.go#L2854: s.Len += n
value.go#L2866: typedarrayclear(st.Elem, sh.Data, sh.Len)
value.go#L2935: ds.Len = dst.Len()
value.go#L2936: ds.Cap = ds.Len
value.go#L2942: ss.Len = src.Len()
value.go#L2943: ss.Cap = ss.Len
value.go#L2949: ss.Len = sh.Len
value.go#L3147: s := unsafeheader.Slice{Data: unsafe_NewArray(&(typ.Elem().(*rtype).t), cap), Len: len, Cap: cap}
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |