- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 128 for 1e9 (0.06 sec)
-
test/fixedbugs/bug402.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 518 bytes - Viewed (0) -
src/strconv/itoa.go
if host32bit { // convert the lower digits using 32bit operations for u >= 1e9 { // Avoid using r = a%b in addition to q = a/b // since 64bit division and modulo operations // are calculated by runtime functions on 32bit machines. q := u / 1e9 us := uint(u - q*1e9) // u % 1e9 fits into a uint for j := 4; j > 0; j-- { is := us % 100 * 2 us /= 100 i -= 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 5.3K bytes - Viewed (0) -
src/runtime/histogram_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 16:32:01 UTC 2022 - 3.5K bytes - Viewed (0) -
src/runtime/time_windows_386.s
MULL CX SHRL $22, DX MOVL DX, BX IMULL $10000000, DX MOVL SI, CX SUBL DX, CX // DI = sec/100 (still) // BX = (nano/100%1e9)/1e7 = (nano/1e9)%100 = sec%100 // CX = (nano/100%1e9)%1e7 = (nano%1e9)/100 = nsec/100 // store nsec for return IMULL $100, CX MOVL CX, nsec+8(FP) // DI = sec/100 (still) // BX = sec%100 // construct DX:AX = 64-bit sec and store for return MOVL $0, DX MOVL $100, AX MULL DI
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 17:19:45 UTC 2023 - 1.7K bytes - Viewed (0) -
src/image/names.go
} func (c *Uniform) ColorModel() color.Model { return c } func (c *Uniform) Convert(color.Color) color.Color { return c.C } func (c *Uniform) Bounds() Rectangle { return Rectangle{Point{-1e9, -1e9}, Point{1e9, 1e9}} } func (c *Uniform) At(x, y int) color.Color { return c.C } func (c *Uniform) RGBA64At(x, y int) color.RGBA64 { r, g, b, a := c.C.RGBA() return color.RGBA64{uint16(r), uint16(g), uint16(b), uint16(a)}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 1.5K bytes - Viewed (0) -
src/syscall/timestruct.go
func TimespecToNsec(ts Timespec) int64 { return ts.Nano() } // NsecToTimespec converts a number of nanoseconds into a [Timespec]. func NsecToTimespec(nsec int64) Timespec { sec := nsec / 1e9 nsec = nsec % 1e9 if nsec < 0 { nsec += 1e9 sec-- } return setTimespec(sec, nsec) } // TimevalToNsec returns the time stored in tv as nanoseconds. func TimevalToNsec(tv Timeval) int64 { return tv.Nano() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 958 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/timestruct.go
func TimespecToNsec(ts Timespec) int64 { return ts.Nano() } // NsecToTimespec converts a number of nanoseconds into a Timespec. func NsecToTimespec(nsec int64) Timespec { sec := nsec / 1e9 nsec = nsec % 1e9 if nsec < 0 { nsec += 1e9 sec-- } return setTimespec(sec, nsec) } // TimeToTimespec converts t into a Timespec. // On some 32-bit systems the range of valid Timespec values are smaller
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.2K bytes - Viewed (0) -
test/fixedbugs/issue20739.go
// Copyright 2017 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 p func F() { var x struct { x *int w [1e9][1e9][1e9][0]*int y *int } println(&x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:11:52 UTC 2017 - 273 bytes - Viewed (0) -
src/sort/search_test.go
{"1 true", 1, func(i int) bool { return true }, 0}, {"1 false", 1, func(i int) bool { return false }, 1}, {"1e9 991", 1e9, func(i int) bool { return i >= 991 }, 991}, {"1e9 true", 1e9, func(i int) bool { return true }, 0}, {"1e9 false", 1e9, func(i int) bool { return false }, 1e9}, {"data -20", len(data), f(data, -20), 0}, {"data -10", len(data), f(data, -10), 0}, {"data -9", len(data), f(data, -9), 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 07 14:42:13 UTC 2022 - 6.8K bytes - Viewed (0) -
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)