- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 294 for timeCh (0.38 sec)
-
src/time/sleep.go
// A Timer must be created with [NewTimer] or AfterFunc. type Timer struct { C <-chan Time initTimer bool } // Stop prevents the [Timer] from firing. // It returns true if the call stops the timer, false if the timer has already // expired or been stopped. // // For a func-based timer created with [AfterFunc](d, f), // if t.Stop returns false, then the timer has already expired
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 8.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
} private fun logWithTime(message: String) { val startNs = startNs val timeMs = if (startNs == null) { // Event occurred before start, for an example an early cancel. 0L } else { TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs) } logger.invoke("[$timeMs ms] $message") }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
//sysnb setgroups(n int, list *_Gid_t) (err error) //sys futimesat(dirfd int, path string, times *[2]Timeval) (err error) //sysnb Gettimeofday(tv *Timeval) (err error) func Time(t *Time_t) (tt Time_t, err error) { var tv Timeval err = Gettimeofday(&tv) if err != nil { return 0, err } if t != nil { *t = Time_t(tv.Sec) } return Time_t(tv.Sec), nil } //sys Utime(path string, buf *Utimbuf) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) )); Assert.assertTrue("Have set time correctly", diff < 2); } else { assertEquals(time, f.lastModified()); assertEquals(time, f.lastAccess()); assertEquals(time, f.createTime()); } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 12.3K bytes - Viewed (0) -
src/syscall/syscall_linux_s390x.go
//sys futimesat(dirfd int, path string, times *[2]Timeval) (err error) //sysnb Gettimeofday(tv *Timeval) (err error) func Time(t *Time_t) (tt Time_t, err error) { var tv Timeval err = Gettimeofday(&tv) if err != nil { return 0, err } if t != nil { *t = Time_t(tv.Sec) } return Time_t(tv.Sec), nil } //sys Utime(path string, buf *Utimbuf) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/test/loadbalancersim/timer/queue.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 19:13:32 UTC 2023 - 3.6K bytes - Viewed (0) -
src/runtime/nonwindows_stub.go
//go:build !windows package runtime // osRelaxMinNS is the number of nanoseconds of idleness to tolerate // without performing an osRelax. Since osRelax may reduce the // precision of timers, this should be enough larger than the relaxed // timer precision to keep the timer error acceptable. const osRelaxMinNS = 0 var haveHighResSleep = true // osRelax is called by the scheduler when transitioning to and from // all Ps being idle.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 03:12:13 UTC 2024 - 962 bytes - Viewed (0) -
src/time/internal_test.go
// bad when on update), or other timers will hang (if the timer in a // heap is in a bad state). There is no reliable way to test this, but // we wait on a short timer here as a smoke test (alternatively, timers // in later tests may hang). <-After(25 * Millisecond) } var ( MinMonoTime = Time{wall: 1 << 63, ext: -1 << 63, loc: UTC} MaxMonoTime = Time{wall: 1 << 63, ext: 1<<63 - 1, loc: UTC}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:37 UTC 2024 - 2.2K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/bug-report.yaml
body: - type: textarea id: problem attributes: label: What happened? description: | Please provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. If this matter is security related, please disclose it privately via https://kubernetes.io/security validations: required: true - type: textarea id: expected attributes:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 28 09:34:43 UTC 2022 - 2.2K bytes - Viewed (0) -
src/runtime/netpoll.go
user uint32 // user settable cookie rseq uintptr // protects from stale read timers rt timer // read deadline timer rd int64 // read deadline (a nanotime in the future, -1 when expired) wseq uintptr // protects from stale write timers wt timer // write deadline timer wd int64 // write deadline (a nanotime in the future, -1 when expired)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 20.7K bytes - Viewed (0)