- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 399 for udigits (0.11 sec)
-
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) -
test/fixedbugs/issue11359.go
// 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/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) -
maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
return null; } return tryParseInt(s); } private static Integer tryParseInt(String s) { // for performance, check digits instead of relying later on catching NumberFormatException if (!isDigits(s)) { return null; } try { long longValue = Long.parseLong(s); if (longValue > Integer.MAX_VALUE) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Nov 17 15:50:51 UTC 2023 - 6K bytes - Viewed (0) -
src/math/big/natconv_test.go
package big import ( "bytes" "fmt" "io" "math/bits" "strings" "testing" ) func TestMaxBase(t *testing.T) { if MaxBase != len(digits) { t.Fatalf("%d != %d", MaxBase, len(digits)) } } // log2 computes the integer binary logarithm of x. // The result is the integer n for which 2^n <= x < 2^(n+1). // If x == 0, the result is -1. func log2(x Word) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 12:54:00 UTC 2019 - 16.8K bytes - Viewed (0) -
pkg/kubelet/cm/util/cdi/cdi.go
return fmt.Errorf("invalid vendor %q, should end with a letter or digit", vendor) } return nil } // validateClassName checks the validity of class name. // A class name may contain the following ASCII characters: // - upper- and lowercase letters ('A'-'Z', 'a'-'z') // - digits ('0'-'9') // - underscore and dash ('_', '-') func validateClassName(class string) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 09:48:24 UTC 2023 - 9.5K bytes - Viewed (0) -
src/strconv/atoi.go
i = 2 saw = '0' // base prefix counts as a digit for "underscore as digit separator" hex = lower(s[1]) == 'x' } // Number proper. for ; i < len(s); i++ { // Digits are always okay. if '0' <= s[i] && s[i] <= '9' || hex && 'a' <= lower(s[i]) && lower(s[i]) <= 'f' { saw = '0' continue } // Underscore must follow digit. if s[i] == '_' { if saw != '0' { return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:26 UTC 2024 - 8.3K bytes - Viewed (0) -
src/main/resources/fess_message_ru.properties
constraints.DecimalMin.message = {item} must be greater than ${inclusive == true ? 'or equal to ' : ''}{value}. constraints.Digits.message = {item} is numeric value out of bounds (<{integer} digits>.<{fraction} digits> expected). constraints.Future.message = {item} must be in the future. constraints.Max.message = {item} must be less than or equal to {value}.
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Fri May 20 12:12:28 UTC 2022 - 10.2K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
{token.INT, "0b__1000", "0b__1000", "'_' must separate successive digits"}, {token.INT, "0o60___0", "0o60___0", "'_' must separate successive digits"}, {token.INT, "0466_", "0466_", "'_' must separate successive digits"}, {token.FLOAT, "1_.", "1_.", "'_' must separate successive digits"}, {token.FLOAT, "0._1", "0._1", "'_' must separate successive digits"}, {token.FLOAT, "2.7_e0", "2.7_e0", "'_' must separate successive digits"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
src/time/format.go
case stdFracSecond0: // stdFracSecond0 requires the exact number of digits as specified in // the layout. ndigit := 1 + digitsLen(std) if len(value) < ndigit { err = errBad break } nsec, rangeErrString, err = parseNanoseconds(value, ndigit) value = value[ndigit:] case stdFracSecond9:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0)