func reflect.MakeSlice
6 uses
reflect (current package)
value.go#L458: slice := MakeSlice(toRType(t.In(n)), m, m)
value.go#L3133: func MakeSlice(typ Type, len, cap int) Value {
encoding/asn1
asn1.go#L646: ret = reflect.MakeSlice(sliceType, numElements, numElements)
asn1.go#L950: val.Set(reflect.MakeSlice(sliceType, len(innerBytes), len(innerBytes)))
encoding/json
decode.go#L588: v.Set(reflect.MakeSlice(v.Type(), 0, 0))
fmt
scan.go#L1040: v.Set(reflect.MakeSlice(typ, len(str), len(str)))
|
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. |