-
Sebastien Binet authored
This change refactors reflect.Value to consistently use arrayAt when an element of an array of bytes is indexed. This effectively replaces: arr := unsafe.Pointer(...) arri := unsafe.Pointer(uintptr(arr) + uintptr(i)*elementSize) with: arr := unsafe.Pointer(...) arri := arrayAt(arr, i, elementSize) Change-Id: I53ffd0d6de693b43d5c10c0aa4cd6d4f5e95a1e3 Reviewed-on: https://go-review.googlesource.com/9183Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
e00e6563
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
all_test.go | ||
asm_386.s | ||
asm_amd64.s | ||
asm_amd64p32.s | ||
asm_arm.s | ||
asm_arm64.s | ||
asm_ppc64x.s | ||
deepequal.go | ||
example_test.go | ||
export_test.go | ||
makefunc.go | ||
set_test.go | ||
tostring_test.go | ||
type.go | ||
value.go |