reflect.Value.SetMapIndex (method)
13 uses
reflect (current package)
map.go#L439: func (v Value) SetMapIndex(key, elem Value) {
encoding/json/v2
arshal_default.go#L1063: va.SetMapIndex(k.Value, v.Value)
arshal_default.go#L1065: seen.SetMapIndex(k.Value, reflect.Zero(emptyStructType))
arshal_embedded.go#L224: m.SetMapIndex(mk, mv.Value)
go.uber.org/mock/gomock
call.go#L489: va.SetMapIndex(e, reflect.Value{})
call.go#L492: va.SetMapIndex(e, v.MapIndex(e))
google.golang.org/protobuf/internal/impl
codec_map.go#L170: mapv.SetMapIndex(mapi.conv.keyConv.GoValueOf(key), mapi.conv.valConv.GoValueOf(val))
codec_map.go#L237: mapv.SetMapIndex(mapi.conv.keyConv.GoValueOf(key), val)
codec_map.go#L367: dstm.SetMapIndex(iter.Key(), iter.Value())
codec_map.go#L382: dstm.SetMapIndex(iter.Key(), reflect.ValueOf(append(emptyBuf[:], iter.Value().Bytes()...)))
codec_map.go#L403: dstm.SetMapIndex(iter.Key(), val)
convert_map.go#L86: ms.v.SetMapIndex(rk, rv)
convert_map.go#L90: ms.v.SetMapIndex(rk, reflect.Value{})