- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 128 for 1e9 (0.02 sec)
-
src/archive/tar/strconv_test.go
{1350244992, 23960108, "1350244992.023960108"}, {+1, +1e9 - 1e0, "1.999999999"}, {+1, +1e9 - 1e3, "1.999999"}, {+1, +1e9 - 1e6, "1.999"}, {+1, +0e0 - 0e0, "1"}, {+1, +1e6 - 0e0, "1.001"}, {+1, +1e3 - 0e0, "1.000001"}, {+1, +1e0 - 0e0, "1.000000001"}, {0, 1e9 - 1e0, "0.999999999"}, {0, 1e9 - 1e3, "0.999999"}, {0, 1e9 - 1e6, "0.999"}, {0, 0e0, "0"}, {0, 1e6 + 0e0, "0.001"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K bytes - Viewed (0) -
src/runtime/vdso_freebsd.go
if bt == zeroBintime { return fallback_nanotime() } return int64((1e9 * uint64(bt.sec)) + ((1e9 * uint64(bt.frac>>32)) >> 32)) } func walltime() (sec int64, nsec int32) { bt := vdsoClockGettime(_CLOCK_REALTIME) if bt == zeroBintime { return fallback_walltime() } return int64(bt.sec), int32((1e9 * uint64(bt.frac>>32)) >> 32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.4K bytes - Viewed (0) -
src/runtime/defs_dragonfly_amd64.go
uc_stack stackt __spare__ [8]int32 } type timespec struct { tv_sec int64 tv_nsec int64 } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = ns / 1e9 ts.tv_nsec = ns % 1e9 } type timeval struct { tv_sec int64 tv_usec int64 } func (tv *timeval) set_usec(x int32) { tv.tv_usec = int64(x) } type itimerval struct { it_interval timeval
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 3.5K bytes - Viewed (0) -
test/fixedbugs/issue23522.go
pf := math.Copysign(f, 1) u := math.Floor(pf) return &S{ u: int64(math.Copysign(u, s)), n: int32(math.Copysign((pf-u)*1e9, s)), } } func F2(f float64) *S { s := f f = math.Copysign(f, 1) u := math.Floor(f) return &S{ u: int64(math.Copysign(u, s)), n: int32(math.Copysign((f-u)*1e9, s)), } } func main() { s1 := F1(-1) s2 := F2(-1) if *s1 != *s2 { println("F1:", s1.u, s1.n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 23 21:51:55 UTC 2018 - 724 bytes - Viewed (0) -
src/runtime/defs_linux_loong64.go
_SIGEV_THREAD_ID = 0x4 ) type timespec struct { tv_sec int64 tv_nsec int64 } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = ns / 1e9 ts.tv_nsec = ns % 1e9 } type timeval struct { tv_sec int64 tv_usec int64 } func (tv *timeval) set_usec(x int32) { tv.tv_usec = int64(x) } type itimerspec struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.4K bytes - Viewed (0) -
src/internal/types/testdata/check/const0.go
) // constant arithmetic precision and rounding must lead to expected (integer) results var _ = []int64{ 0.0005 * 1e9, 0.001 * 1e9, 0.005 * 1e9, 0.01 * 1e9, 0.05 * 1e9, 0.1 * 1e9, 0.5 * 1e9, 1 * 1e9, 5 * 1e9, } const _ = unsafe.Sizeof(func() { const _ = 0 _ = iota const ( zero = iota one ) assert(one == 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 9.2K bytes - Viewed (0) -
src/runtime/rand_test.go
{ x, y, z := fastrand(), fastrand(), fastrand() if x == y && y == z { t.Fatalf("fastrand three times = %#x, %#x, %#x, want different numbers", x, y, z) } } { x, y, z := fastrandn(1e9), fastrandn(1e9), fastrandn(1e9) if x == y && y == z { t.Fatalf("fastrandn three times = %#x, %#x, %#x, want different numbers", x, y, z) } } { x, y, z := fastrand64(), fastrand64(), fastrand64() if x == y && y == z {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 23:44:31 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/netpoll_epoll.go
waitms = 0 } else if delay < 1e6 { waitms = 1 } else if delay < 1e15 { waitms = int32(delay / 1e6) } else { // An arbitrary cap on how long to wait for a timer. // 1e9 ms == ~11.5 days. waitms = 1e9 } var events [128]syscall.EpollEvent retry: n, errno := syscall.EpollWait(epfd, events[:], int32(len(events)), waitms) if errno != 0 { if errno != _EINTR {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 4.6K bytes - Viewed (0) -
src/runtime/defs_openbsd_arm64.go
ss_flags int32 pad_cgo_0 [4]byte } type timespec struct { tv_sec int64 tv_nsec int64 } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = ns / 1e9 ts.tv_nsec = ns % 1e9 } type timeval struct { tv_sec int64 tv_usec int64 } func (tv *timeval) set_usec(x int32) { tv.tv_usec = int64(x) } type itimerval struct { it_interval timeval
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 17:31:23 UTC 2023 - 2.8K bytes - Viewed (0) -
src/runtime/defs_openbsd_mips64.go
ss_flags int32 pad_cgo_0 [4]byte } type timespec struct { tv_sec int64 tv_nsec int64 } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = ns / 1e9 ts.tv_nsec = ns % 1e9 } type timeval struct { tv_sec int64 tv_usec int64 } func (tv *timeval) set_usec(x int32) { tv.tv_usec = int64(x) } type itimerval struct { it_interval timeval
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 17:31:23 UTC 2023 - 2.8K bytes - Viewed (0)