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.1
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 /
time /
[ HOME SHELL ]
Name
Size
Permission
Action
example_test.go
19.38
KB
-rw-r--r--
export_android_test.go
318
B
-rw-r--r--
export_test.go
3.07
KB
-rw-r--r--
export_windows_test.go
514
B
-rw-r--r--
format.go
41.67
KB
-rw-r--r--
format_test.go
25.38
KB
-rw-r--r--
genzabbrs.go
2.96
KB
-rw-r--r--
internal_test.go
2.45
KB
-rw-r--r--
mono_test.go
7.51
KB
-rw-r--r--
sleep.go
5.08
KB
-rw-r--r--
sleep_test.go
10.73
KB
-rw-r--r--
sys_plan9.go
1015
B
-rw-r--r--
sys_unix.go
1.05
KB
-rw-r--r--
sys_windows.go
996
B
-rw-r--r--
tick.go
1.8
KB
-rw-r--r--
tick_test.go
2.59
KB
-rw-r--r--
time.go
45.56
KB
-rw-r--r--
time_test.go
41.05
KB
-rw-r--r--
zoneinfo.go
8.79
KB
-rw-r--r--
zoneinfo_abbrs_windows.go
10.34
KB
-rw-r--r--
zoneinfo_android.go
2.05
KB
-rw-r--r--
zoneinfo_android_test.go
408
B
-rw-r--r--
zoneinfo_ios.go
1.02
KB
-rw-r--r--
zoneinfo_js.go
1.56
KB
-rw-r--r--
zoneinfo_plan9.go
2.71
KB
-rw-r--r--
zoneinfo_read.go
12.2
KB
-rw-r--r--
zoneinfo_test.go
4.59
KB
-rw-r--r--
zoneinfo_unix.go
1.31
KB
-rw-r--r--
zoneinfo_windows.go
6.68
KB
-rw-r--r--
zoneinfo_windows_test.go
1.9
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tick.go
// 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. package time import "errors" // A Ticker holds a channel that delivers `ticks' of a clock // at intervals. type Ticker struct { C <-chan Time // The channel on which the ticks are delivered. r runtimeTimer } // NewTicker returns a new Ticker containing a channel that will send the // time with a period specified by the duration argument. // It adjusts the intervals or drops ticks to make up for slow receivers. // The duration d must be greater than zero; if not, NewTicker will panic. // Stop the ticker to release associated resources. func NewTicker(d Duration) *Ticker { if d <= 0 { panic(errors.New("non-positive interval for NewTicker")) } // Give the channel a 1-element time buffer. // If the client falls behind while reading, we drop ticks // on the floor until the client catches up. c := make(chan Time, 1) t := &Ticker{ C: c, r: runtimeTimer{ when: when(d), period: int64(d), f: sendTime, arg: c, }, } startTimer(&t.r) return t } // Stop turns off a ticker. After Stop, no more ticks will be sent. // Stop does not close the channel, to prevent a concurrent goroutine // reading from the channel from seeing an erroneous "tick". func (t *Ticker) Stop() { stopTimer(&t.r) } // Tick is a convenience wrapper for NewTicker providing access to the ticking // channel only. While Tick is useful for clients that have no need to shut down // the Ticker, be aware that without a way to shut it down the underlying // Ticker cannot be recovered by the garbage collector; it "leaks". // Unlike NewTicker, Tick will return nil if d <= 0. func Tick(d Duration) <-chan Time { if d <= 0 { return nil } return NewTicker(d).C }
Close