- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for 1e15 (0.11 sec)
-
src/runtime/netpoll_windows.go
return gList{}, 0 } var entries [64]overlappedEntry var wait uint32 var toRun gList mp := getg().m if delay >= 1e15 { // An arbitrary cap on how long to wait for a timer. // 1e15 ns == ~11.5 days. delay = 1e15 } if delay > 0 && mp.waitIocpHandle != 0 { // GetQueuedCompletionStatusEx doesn't use a high resolution timer internally,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 9.4K bytes - Viewed (0) -
test/fixedbugs/issue43480.go
// Issue #43480: ICE on large uint64 constants in switch cases. package main func isPow10(x uint64) bool { switch x { case 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19: return true } return false } func main() { var x uint64 = 1 for { if !isPow10(x) || isPow10(x-1) || isPow10(x+1) { panic(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 04 10:30:07 UTC 2021 - 626 bytes - Viewed (0) -
src/math/pow10.go
package math // pow10tab stores the pre-computed values 10**i for i < 32. var pow10tab = [...]float64{ 1e00, 1e01, 1e02, 1e03, 1e04, 1e05, 1e06, 1e07, 1e08, 1e09, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22, 1e23, 1e24, 1e25, 1e26, 1e27, 1e28, 1e29, 1e30, 1e31, } // pow10postab32 stores the pre-computed value for 10**(i*32) at index i. var pow10postab32 = [...]float64{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.2K bytes - Viewed (0) -
src/runtime/netpoll_epoll.go
var waitms int32 if delay < 0 { waitms = -1 } else if delay == 0 { 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)
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/netpoll_aix.go
} else if delay == 0 { // TODO: call poll with timeout == 0 return gList{}, 0 } else if delay < 1e6 { timeout = 1 } else if delay < 1e15 { timeout = uintptr(delay / 1e6) } else { // An arbitrary cap on how long to wait for a timer. // 1e9 ms == ~11.5 days. timeout = 1e9 } retry: lock(&mtxpoll) lock(&mtxset) pendingUpdates = 0 unlock(&mtxpoll)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5.1K bytes - Viewed (0) -
src/log/slog/value_test.go
} } func TestValueTime(t *testing.T) { // Validate that all representations of times work correctly. for _, tm := range []time.Time{ time.Time{}, time.Unix(0, 1e15), // UnixNanos is defined time.Date(2300, 1, 1, 0, 0, 0, 0, time.UTC), // overflows UnixNanos } { got := TimeValue(tm).Time() if !got.Equal(tm) { t.Errorf("got %s (%#[1]v), want %s (%#[2]v)", got, tm) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 6.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
B = HH(B, C, D, A, X[12], 15); A = HH(A, B, C, D, X[ 2], 3); D = HH(D, A, B, C, X[10], 9); C = HH(C, D, A, B, X[ 6], 11); B = HH(B, C, D, A, X[14], 15); A = HH(A, B, C, D, X[ 1], 3); D = HH(D, A, B, C, X[ 9], 9); C = HH(C, D, A, B, X[ 5], 11); B = HH(B, C, D, A, X[13], 15); A = HH(A, B, C, D, X[ 3], 3);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 9.3K bytes - Viewed (0) -
fuzzing/fuzzingserver-expected.txt
"12.1.18 UNIMPLEMENTED" "12.1.2 UNIMPLEMENTED" "12.1.3 UNIMPLEMENTED" "12.1.4 UNIMPLEMENTED" "12.1.5 UNIMPLEMENTED" "12.1.6 UNIMPLEMENTED" "12.1.7 UNIMPLEMENTED" "12.1.8 UNIMPLEMENTED" "12.1.9 UNIMPLEMENTED" "12.2.1 UNIMPLEMENTED" "12.2.10 UNIMPLEMENTED" "12.2.11 UNIMPLEMENTED" "12.2.12 UNIMPLEMENTED" "12.2.13 UNIMPLEMENTED" "12.2.14 UNIMPLEMENTED" "12.2.15 UNIMPLEMENTED" "12.2.16 UNIMPLEMENTED" "12.2.17 UNIMPLEMENTED"
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Mar 26 02:01:32 UTC 2019 - 6.7K bytes - Viewed (0) -
pkg/test/framework/resource/version_test.go
version IstioVersion result bool }{ { "not at least", makeRevVerMap("1.4", "1.5"), IstioVersion("1.8"), false, }, { "tied with minimum", makeRevVerMap("1.4", "1.5"), IstioVersion("1.4"), true, }, { "lower than minimum", makeRevVerMap("1.4", "1.5"), IstioVersion("1.3"), true, }, { "no versions", makeRevVerMap(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 22 18:13:40 UTC 2024 - 2.9K bytes - Viewed (0)