reflect.Value.Set (method)

39 uses

	reflect (current package)
		value.go#L419: 			slice.Index(i).Set(x)
		value.go#L1557: func (v Value) Set(x Value) {
		value.go#L2051: 		s.Index(i).Set(x[j])

	encoding/asn1
		asn1.go#L735: 			v.Set(reflect.ValueOf(result))
		asn1.go#L926: 			val.Field(0).Set(reflect.ValueOf(RawContent(bytes)))
		asn1.go#L947: 			val.Set(reflect.MakeSlice(sliceType, len(innerBytes), len(innerBytes)))
		asn1.go#L953: 			val.Set(newSlice)

	encoding/gob
		decode.go#L233: 			v.Set(reflect.New(v.Type().Elem()))
		decode.go#L377: 		value.Set(reflect.MakeSlice(value.Type(), n, n))
		decode.go#L379: 		value.Set(value.Slice(0, n))
		decode.go#L562: 		value.Set(reflect.MakeMapWithSize(mtyp, n))
		decode.go#L576: 		keyP.Elem().Set(keyZ)
		decode.go#L577: 		elemP.Elem().Set(elemZ)
		decode.go#L626: 		value.Set(reflect.MakeSlice(typ, n, n))
		decode.go#L628: 		value.Set(value.Slice(0, n))
		decode.go#L656: 		value.Set(reflect.Zero(value.Type()))
		decode.go#L689: 	value.Set(v)

	encoding/json
		decode.go#L472: 			v.Set(reflect.New(v.Type().Elem()))
		decode.go#L518: 			v.Set(reflect.ValueOf(ai))
		decode.go#L549: 				v.Set(newv)
		decode.go#L586: 				v.Index(i).Set(z)
		decode.go#L593: 		v.Set(reflect.MakeSlice(v.Type(), 0, 0))
		decode.go#L622: 		v.Set(reflect.ValueOf(oi))
		decode.go#L648: 			v.Set(reflect.MakeMap(t))
		decode.go#L691: 				mapElem.Set(reflect.Zero(elemType))
		decode.go#L729: 							subv.Set(reflect.New(subv.Type().Elem()))
		decode.go#L900: 			v.Set(reflect.Zero(v.Type()))
		decode.go#L922: 				v.Set(reflect.ValueOf(value))
		decode.go#L958: 				v.Set(reflect.ValueOf(string(s)))
		decode.go#L994: 			v.Set(reflect.ValueOf(n))

	fmt
		scan.go#L1040: 			v.Set(reflect.MakeSlice(typ, len(str), len(str)))

	net/http/httptrace
		trace.go#L193: 			tf.Set(of)
		trace.go#L206: 		tv.Field(i).Set(newFunc)

	src.elv.sh/pkg/eval/vals
		conversion.go#L99: 		ValueOf(ptr).Elem().Set(ValueOf(src))

	src.elv.sh/pkg/parse
		parser.go#L44: 	dst.Set(reflect.ValueOf(p.n)) // *ptr = p.n
		parser.go#L50: 	dst.Set(reflect.Append(dst, reflect.ValueOf(p.n))) // *ptr = append(*ptr, n)

	src.elv.sh/pkg/rpc
		server.go#L569: 		replyv.Elem().Set(reflect.MakeMap(mtype.ReplyType.Elem()))
		server.go#L571: 		replyv.Elem().Set(reflect.MakeSlice(mtype.ReplyType.Elem(), 0, 0))

	vendor/golang.org/x/crypto/cryptobyte
		asn1.go#L618: 			reflect.ValueOf(out).Elem().Set(reflect.ValueOf(defaultValue))