Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
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 /
src /
runtime /
race /
[ HOME SHELL ]
Name
Size
Permission
Action
testdata
[ DIR ]
drwxr-xr-x
README
1.17
KB
-rw-r--r--
doc.go
360
B
-rw-r--r--
output_test.go
6.51
KB
-rw-r--r--
race.go
634
B
-rw-r--r--
race_linux_amd64.syso
503.97
KB
-rw-r--r--
race_linux_test.go
992
B
-rw-r--r--
race_test.go
5.92
KB
-rw-r--r--
race_unix_test.go
754
B
-rw-r--r--
race_windows_test.go
1.27
KB
-rw-r--r--
sched_test.go
971
B
-rw-r--r--
timer_test.go
575
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : race_linux_test.go
// Copyright 2016 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. // +build linux,race package race_test import ( "sync/atomic" "syscall" "testing" "unsafe" ) func TestAtomicMmap(t *testing.T) { // Test that atomic operations work on "external" memory. Previously they crashed (#16206). // Also do a sanity correctness check: under race detector atomic operations // are implemented inside of race runtime. mem, err := syscall.Mmap(-1, 0, 1<<20, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANON|syscall.MAP_PRIVATE) if err != nil { t.Fatalf("mmap failed: %v", err) } defer syscall.Munmap(mem) a := (*uint64)(unsafe.Pointer(&mem[0])) if *a != 0 { t.Fatalf("bad atomic value: %v, want 0", *a) } atomic.AddUint64(a, 1) if *a != 1 { t.Fatalf("bad atomic value: %v, want 1", *a) } atomic.AddUint64(a, 1) if *a != 2 { t.Fatalf("bad atomic value: %v, want 2", *a) } }
Close