- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of about 10,000 for Digits (0.35 sec)
-
src/cmd/internal/objabi/path.go
// sequence. return "", fmt.Errorf("malformed prefix %q: escape sequence must contain two hex digits", s) } b, err := strconv.ParseUint(s[i+1:i+3], 16, 8) if err != nil { // Not a valid escape sequence. return "", fmt.Errorf("malformed prefix %q: escape sequence %q must contain two hex digits", s, s[i:i+3]) } p = append(p, byte(b)) i += 3 } return string(p), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 13:56:25 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go
} rst.advance(1) if val == 0 && digit == 0 && (len(rst.str) == 0 || rst.str[0] != '_') { rst.fail("invalid leading 0 in constant") } val *= 16 val += digit digits++ } if digits == 0 { rst.fail("expected constant") } switch kind { case signedInt, unsignedInt: if digits > 16 { // Value too big, just write out the string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 23.3K bytes - Viewed (0) -
src/text/template/parse/lex.go
l.accept("+-") // Is it hex? digits := "0123456789_" if l.accept("0") { // Note: Leading 0 does not mean octal in floats. if l.accept("xX") { digits = "0123456789abcdefABCDEF_" } else if l.accept("oO") { digits = "01234567_" } else if l.accept("bB") { digits = "01_" } } l.acceptRun(digits) if l.accept(".") { l.acceptRun(digits) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 04 22:36:12 UTC 2022 - 18.1K bytes - Viewed (0) -
src/internal/zstd/testdata/README
This directory holds files for testing zstd.NewReader. Each one is a Zstandard compressed file named as hash.arbitrary-name.zst, where hash is the first eight hexadecimal digits of the SHA256 hash of the expected uncompressed content: zstd -d < 1890a371.gettysburg.txt-100x.zst | sha256sum | head -c 8 1890a371
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 14:35:13 UTC 2023 - 373 bytes - Viewed (0) -
test/fixedbugs/issue11359.go
// errorcheck // Copyright 2015 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. // identifiers beginning with non-ASCII digits were incorrectly accepted. // issue 11359. package p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 16 20:38:42 UTC 2015 - 333 bytes - Viewed (0) -
src/internal/trace/gc_test.go
const digits = 8 factor := 1 - math.Pow(10, -digits+1) return x*factor <= y && y*factor <= x } func TestMMU(t *testing.T) { t.Parallel() // MU // 1.0 ***** ***** ***** // 0.5 * * * * // 0.0 ***** ***** // 0 1 2 3 4 5 util := [][]trace.MutatorUtil{{ {0e9, 1}, {1e9, 0}, {2e9, 1}, {3e9, 0}, {4e9, 1}, {5e9, 0}, }} mmuCurve := trace.NewMMUCurve(util)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 5.3K bytes - Viewed (0) -
src/text/scanner/scanner.go
// digits accepts the sequence { digit | '_' } starting with ch0. // If base <= 10, digits accepts any decimal digit but records // the first invalid digit >= base in *invalid if *invalid == 0. // digits returns the first rune that is not part of the sequence // anymore, and a bitset describing whether the sequence contained // digits (bit 0 is set), or separators '_' (bit 1 is set).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 20.3K bytes - Viewed (0) -
src/go/scanner/scanner.go
// in *invalid, if *invalid < 0. // digits returns a bitset describing whether the sequence contained // digits (bit 0 is set), or separators '_' (bit 1 is set). func (s *Scanner) digits(base int, invalid *int) (digsep int) { if base <= 10 { max := rune('0' + base) for isDecimal(s.ch) || s.ch == '_' { ds := 1 if s.ch == '_' { ds = 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 24.3K bytes - Viewed (0) -
test/fibo.go
z = z.make(m + 1) var c big.Word for i := 0; i < n; i++ { // lower half-digit c += x[i]&M2 + y[i]&M2 d := c & M2 c >>= W2 // upper half-digit c += x[i]>>W2 + y[i]>>W2 z[i] = c<<W2 | d c >>= W2 } for i := n; i < m; i++ { // lower half-digit c += x[i] & M2 d := c & M2 c >>= W2 // upper half-digit c += x[i] >> W2 z[i] = c<<W2 | d c >>= W2 } if c != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 08 22:22:58 UTC 2014 - 6.3K bytes - Viewed (0) -
test/fixedbugs/issue41780.go
// run // Copyright 2020 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. // Checks that conversion of CMP(x,-y) -> CMN(x,y) is only applied in correct context. package main type decimal struct { d [8]byte // digits, big-endian representation dp int // decimal point } var powtab = []int{1, 3, 6, 9, 13, 16, 19, 23, 26}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 06 01:14:39 UTC 2020 - 845 bytes - Viewed (0)