reflect.Value.Len (method)
56 uses
reflect (current package)
deepequal.go#L92: for i := 0; i < v1.Len(); i++ {
deepequal.go#L102: if v1.Len() != v2.Len() {
deepequal.go#L112: for i := 0; i < v1.Len(); i++ {
deepequal.go#L139: if v1.Len() != v2.Len() {
swapper.go#L24: switch v.Len() {
value.go#L1607: n := v.Len()
value.go#L1617: return v.Len() == 0
value.go#L1704: func (v Value) Len() int {
value.go#L2878: n := s.Len()
value.go#L2892: ns := s.Len()
value.go#L2893: nt := t.Len()
value.go#L2935: ds.Len = dst.Len()
value.go#L2942: ss.Len = src.Len()
value.go#L3335: if t.Len() > v.Len() {
value.go#L3340: if n > v.Len() {
value.go#L3430: vl := v.Len()
value.go#L3724: if n > v.Len() {
value.go#L3725: panic("reflect: cannot convert slice with length " + itoa.Itoa(v.Len()) + " to pointer to array with length " + itoa.Itoa(n))
value.go#L3734: if n > v.Len() {
value.go#L3735: panic("reflect: cannot convert slice with length " + itoa.Itoa(v.Len()) + " to array with length " + itoa.Itoa(n))
crypto/x509
verify.go#L511: *count += excludedValue.Len()
verify.go#L516: for i := 0; i < excludedValue.Len(); i++ {
verify.go#L530: *count += permittedValue.Len()
verify.go#L536: for i := 0; i < permittedValue.Len(); i++ {
encoding/asn1
marshal.go#L507: if s.Len() > 0 {
marshal.go#L543: switch l := v.Len(); l {
marshal.go#L588: if v.Kind() == reflect.Slice && v.Len() == 0 && params.omitEmpty {
encoding/binary
binary.go#L480: return s * v.Len()
binary.go#L617: l := v.Len()
binary.go#L639: l := v.Len()
binary.go#L686: l := v.Len()
binary.go#L704: l := v.Len()
encoding/json
decode.go#L548: if i >= v.Len() {
decode.go#L553: if i < v.Len() {
decode.go#L578: if i < v.Len() {
decode.go#L580: for ; i < v.Len(); i++ {
encode.go#L307: return v.Len() == 0
encode.go#L742: sv := make([]reflectWithString, v.Len())
encode.go#L815: }{v.UnsafePointer(), v.Len()}
encode.go#L844: n := v.Len()
fmt
print.go#L878: bytes = f.Slice(0, f.Len()).Bytes()
print.go#L883: bytes = make([]byte, f.Len())
print.go#L899: for i := 0; i < f.Len(); i++ {
print.go#L908: for i := 0; i < f.Len(); i++ {
github.com/gotd/td/tdp
tdp.go#L48: for i := 0; i < v.Len(); i++ {
go.opentelemetry.io/otel/attribute
set.go#L89: return l.equivalent.reflectValue().Len()
set.go#L99: if idx >= 0 && idx < value.Len() {
set.go#L114: vlen := rValue.Len()
go.opentelemetry.io/otel/internal/attribute
attribute.go#L64: correctLen := rv.Len()
attribute.go#L78: correctLen := rv.Len()
attribute.go#L92: correctLen := rv.Len()
attribute.go#L106: correctLen := rv.Len()
internal/fmtsort
sort.go#L58: n := mapValue.Len()
sort.go#L163: for i := 0; i < aVal.Len(); i++ {
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. |