mirror of https://github.com/golang/go.git
Use assembler to make runtime.staticuint64s into a readonly array so that the reflect package can safely create a slice without requiring any allocation. Fixes #2320 Fixes #68380 Change-Id: If2c97238eca782d0632db265c840581d4ecb9d18 Reviewed-on: https://go-review.googlesource.com/c/go/+/597855 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> |
||
|---|---|---|
| .. | ||
| internal | ||
| abi.go | ||
| abi_test.go | ||
| all_test.go | ||
| arena.go | ||
| 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 | ||
| badlinkname.go | ||
| benchmark_test.go | ||
| deepequal.go | ||
| example_test.go | ||
| export_test.go | ||
| float32reg_generic.go | ||
| float32reg_ppc64x.s | ||
| float32reg_riscv64.s | ||
| iter.go | ||
| iter_test.go | ||
| makefunc.go | ||
| map_noswiss.go | ||
| map_swiss.go | ||
| nih_test.go | ||
| set_test.go | ||
| stubs_ppc64x.go | ||
| stubs_riscv64.go | ||
| swapper.go | ||
| tostring_test.go | ||
| type.go | ||
| type_test.go | ||
| value.go | ||
| visiblefields.go | ||
| visiblefields_test.go | ||