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 /
src /
internal /
poll /
[ HOME SHELL ]
Name
Size
Permission
Action
errno_unix.go
738
B
-rw-r--r--
errno_windows.go
724
B
-rw-r--r--
error_linux_test.go
748
B
-rw-r--r--
error_stub_test.go
412
B
-rw-r--r--
error_test.go
1.04
KB
-rw-r--r--
export_posix_test.go
481
B
-rw-r--r--
export_test.go
708
B
-rw-r--r--
export_windows_test.go
431
B
-rw-r--r--
fcntl_js.go
325
B
-rw-r--r--
fcntl_libc.go
365
B
-rw-r--r--
fcntl_syscall.go
484
B
-rw-r--r--
fd.go
2.1
KB
-rw-r--r--
fd_fsync_darwin.go
535
B
-rw-r--r--
fd_fsync_posix.go
428
B
-rw-r--r--
fd_fsync_windows.go
358
B
-rw-r--r--
fd_io_plan9.go
2.1
KB
-rw-r--r--
fd_mutex.go
6.42
KB
-rw-r--r--
fd_mutex_test.go
3.88
KB
-rw-r--r--
fd_opendir_darwin.go
847
B
-rw-r--r--
fd_plan9.go
4.97
KB
-rw-r--r--
fd_poll_js.go
2.27
KB
-rw-r--r--
fd_poll_runtime.go
3.74
KB
-rw-r--r--
fd_posix.go
1.05
KB
-rw-r--r--
fd_posix_test.go
1.27
KB
-rw-r--r--
fd_unix.go
13.51
KB
-rw-r--r--
fd_windows.go
28.75
KB
-rw-r--r--
fd_windows_test.go
2.25
KB
-rw-r--r--
fd_writev_darwin.go
388
B
-rw-r--r--
fd_writev_unix.go
502
B
-rw-r--r--
hook_cloexec.go
371
B
-rw-r--r--
hook_unix.go
481
B
-rw-r--r--
hook_windows.go
668
B
-rw-r--r--
read_test.go
1.07
KB
-rw-r--r--
sendfile_bsd.go
1.17
KB
-rw-r--r--
sendfile_linux.go
1.1
KB
-rw-r--r--
sendfile_solaris.go
1.46
KB
-rw-r--r--
sendfile_windows.go
2.01
KB
-rw-r--r--
sock_cloexec.go
1.76
KB
-rw-r--r--
sockopt.go
1.08
KB
-rw-r--r--
sockopt_linux.go
490
B
-rw-r--r--
sockopt_unix.go
532
B
-rw-r--r--
sockopt_windows.go
862
B
-rw-r--r--
sockoptip.go
866
B
-rw-r--r--
splice_linux.go
5.66
KB
-rw-r--r--
strconv.go
946
B
-rw-r--r--
sys_cloexec.go
1.1
KB
-rw-r--r--
writev.go
1.76
KB
-rw-r--r--
writev_test.go
1.31
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fd_poll_runtime.go
// Copyright 2013 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 aix darwin dragonfly freebsd linux netbsd openbsd windows solaris package poll import ( "errors" "sync" "syscall" "time" _ "unsafe" // for go:linkname ) // runtimeNano returns the current value of the runtime clock in nanoseconds. //go:linkname runtimeNano runtime.nanotime func runtimeNano() int64 func runtime_pollServerInit() func runtime_pollOpen(fd uintptr) (uintptr, int) func runtime_pollClose(ctx uintptr) func runtime_pollWait(ctx uintptr, mode int) int func runtime_pollWaitCanceled(ctx uintptr, mode int) int func runtime_pollReset(ctx uintptr, mode int) int func runtime_pollSetDeadline(ctx uintptr, d int64, mode int) func runtime_pollUnblock(ctx uintptr) func runtime_isPollServerDescriptor(fd uintptr) bool type pollDesc struct { runtimeCtx uintptr } var serverInit sync.Once func (pd *pollDesc) init(fd *FD) error { serverInit.Do(runtime_pollServerInit) ctx, errno := runtime_pollOpen(uintptr(fd.Sysfd)) if errno != 0 { if ctx != 0 { runtime_pollUnblock(ctx) runtime_pollClose(ctx) } return errnoErr(syscall.Errno(errno)) } pd.runtimeCtx = ctx return nil } func (pd *pollDesc) close() { if pd.runtimeCtx == 0 { return } runtime_pollClose(pd.runtimeCtx) pd.runtimeCtx = 0 } // Evict evicts fd from the pending list, unblocking any I/O running on fd. func (pd *pollDesc) evict() { if pd.runtimeCtx == 0 { return } runtime_pollUnblock(pd.runtimeCtx) } func (pd *pollDesc) prepare(mode int, isFile bool) error { if pd.runtimeCtx == 0 { return nil } res := runtime_pollReset(pd.runtimeCtx, mode) return convertErr(res, isFile) } func (pd *pollDesc) prepareRead(isFile bool) error { return pd.prepare('r', isFile) } func (pd *pollDesc) prepareWrite(isFile bool) error { return pd.prepare('w', isFile) } func (pd *pollDesc) wait(mode int, isFile bool) error { if pd.runtimeCtx == 0 { return errors.New("waiting for unsupported file type") } res := runtime_pollWait(pd.runtimeCtx, mode) return convertErr(res, isFile) } func (pd *pollDesc) waitRead(isFile bool) error { return pd.wait('r', isFile) } func (pd *pollDesc) waitWrite(isFile bool) error { return pd.wait('w', isFile) } func (pd *pollDesc) waitCanceled(mode int) { if pd.runtimeCtx == 0 { return } runtime_pollWaitCanceled(pd.runtimeCtx, mode) } func (pd *pollDesc) pollable() bool { return pd.runtimeCtx != 0 } func convertErr(res int, isFile bool) error { switch res { case 0: return nil case 1: return errClosing(isFile) case 2: return ErrTimeout case 3: return ErrNotPollable } println("unreachable: ", res) panic("unreachable") } // SetDeadline sets the read and write deadlines associated with fd. func (fd *FD) SetDeadline(t time.Time) error { return setDeadlineImpl(fd, t, 'r'+'w') } // SetReadDeadline sets the read deadline associated with fd. func (fd *FD) SetReadDeadline(t time.Time) error { return setDeadlineImpl(fd, t, 'r') } // SetWriteDeadline sets the write deadline associated with fd. func (fd *FD) SetWriteDeadline(t time.Time) error { return setDeadlineImpl(fd, t, 'w') } func setDeadlineImpl(fd *FD, t time.Time, mode int) error { var d int64 if !t.IsZero() { d = int64(time.Until(t)) if d == 0 { d = -1 // don't confuse deadline right now with no deadline } } if err := fd.incref(); err != nil { return err } defer fd.decref() if fd.pd.runtimeCtx == 0 { return ErrNoDeadline } runtime_pollSetDeadline(fd.pd.runtimeCtx, d, mode) return nil } // IsPollDescriptor reports whether fd is the descriptor being used by the poller. // This is only used for testing. func IsPollDescriptor(fd uintptr) bool { return runtime_isPollServerDescriptor(fd) }
Close