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.51
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 /
misc /
cgo /
stdio /
testdata /
[ HOME SHELL ]
Name
Size
Permission
Action
stdio
[ DIR ]
drwxr-xr-x
chain.go
938
B
-rw-r--r--
chain.out
115
B
-rw-r--r--
fib.go
989
B
-rw-r--r--
fib.out
962
B
-rw-r--r--
hello.go
309
B
-rw-r--r--
hello.out
13
B
-rw-r--r--
run.out
1.09
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : chain.go
// run -tags=use_go_run // Copyright 2009 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 test_run // Pass numbers along a chain of threads. package main import ( "runtime" "strconv" "cgostdio/stdio" ) const N = 10 const R = 5 func link(left chan<- int, right <-chan int) { // Keep the links in dedicated operating system // threads, so that this program tests coordination // between pthreads and not just goroutines. runtime.LockOSThread() for { v := <-right stdio.Stdout.WriteString(strconv.Itoa(v) + "\n") left <- 1 + v } } func main() { leftmost := make(chan int) var left chan int right := leftmost for i := 0; i < N; i++ { left, right = right, make(chan int) go link(left, right) } for i := 0; i < R; i++ { right <- 0 x := <-leftmost stdio.Stdout.WriteString(strconv.Itoa(x) + "\n") } }
Close