go/src/reflect
Jes Cok 5955a03e9c reflect: compute the median h uniformly
Like sort.Search, use "h := int(uint(i+j) >> 1)" to compute the median h.

Change-Id: I62c1e67533657e2b56af872676e5dc4ed4d49c55
GitHub-Last-Rev: cbfba7ee9a
GitHub-Pull-Request: golang/go#63439
Reviewed-on: https://go-review.googlesource.com/c/go/+/533595
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-10-09 21:56:00 +00:00
..
internal
abi.go
abi_test.go
all_test.go reflect: make Value.IsZero identical to v == zero 2023-09-01 23:20:30 +00:00
arena.go reflect: fix ArenaNew to match documentation 2023-06-16 17:08:43 +00:00
asm_386.s
asm_amd64.s
asm_arm.s
asm_arm64.s
asm_loong64.s
asm_mips64x.s
asm_mipsx.s
asm_ppc64x.s
asm_riscv64.s
asm_s390x.s
asm_wasm.s
benchmark_test.go reflect: optimize DeepEqual() for maps 2023-07-31 15:44:01 +00:00
deepequal.go reflect: optimize DeepEqual() for maps 2023-07-31 15:44:01 +00:00
example_test.go
export_test.go all: clean unnecessary casts for test files 2023-09-22 16:22:42 +00:00
float32reg_generic.go
float32reg_ppc64x.s
float32reg_riscv64.s
makefunc.go
nih_test.go
set_test.go
stubs_ppc64x.go
stubs_riscv64.go
swapper.go
tostring_test.go
type.go reflect: compute the median h uniformly 2023-10-09 21:56:00 +00:00
type_test.go reflect: remove broken support for embedding of interfaces from StructOf. 2023-09-22 16:25:10 +00:00
value.go reflect: make Value.IsZero identical to v == zero 2023-09-01 23:20:30 +00:00
visiblefields.go
visiblefields_test.go