Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 399 for udigits (0.15 sec)

  1. pkg/util/strcase/camelcase.go

    		t = append(t, 'X')
    		i++
    	}
    	// Invariant: if the next letter is lower case, it must be converted
    	// to upper case.
    	// That is, we process a word at a time, where words are marked by _, - or
    	// upper case letter. Digits are treated as words.
    	for ; i < len(s); i++ {
    		c := s[i]
    		if isWordSeparator(c) {
    			// Skip the separate and capitalize the next letter.
    			continue
    		}
    		if isASCIIDigit(c) {
    			t = append(t, c)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 28 19:48:10 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  2. test/fixedbugs/issue30722.go

    package p
    
    const (
    	_ = 1_       // ERROR "'_' must separate successive digits"
    	_ = 0b       // ERROR "binary literal has no digits|invalid numeric literal"
    	_ = 0o       // ERROR "octal literal has no digits|invalid numeric literal"
    	_ = 0x       // ERROR "hexadecimal literal has no digits|invalid numeric literal"
    	_ = 0xde__ad // ERROR "'_' must separate successive digits"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 623 bytes
    - Viewed (0)
  3. src/time/format_test.go

    	{"2021-09-29T16:04:33.9999999999Z", 999_999_999},
    	{"2021-09-29T16:04:33.0123456789Z", 12_345_678},
    	// 11 digits, truncates
    	{"2021-09-29T16:04:33.10000000000Z", 100_000_000},
    	{"2021-09-29T16:04:33.00123456789Z", 1_234_567},
    	// 12 digits, truncates
    	{"2021-09-29T16:04:33.000123456789Z", 123_456},
    	// 15 digits, truncates
    	{"2021-09-29T16:04:33.9999999999999999Z", 999_999_999},
    }
    
    // Issue 48685 and 54567.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation.go

    type apiLifecycleReplacement interface {
    	APILifecycleReplacement() schema.GroupVersionKind
    }
    
    // extract all digits at the beginning of the string
    var leadingDigits = regexp.MustCompile(`^(\d+)`)
    
    // MajorMinor parses a numeric major/minor version from the provided version info.
    // The minor version drops all characters after the first non-digit character:
    //
    //	version.Info{Major:"1", Minor:"2+"} -> 1,2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CharMatcher.java

        return Digit.INSTANCE;
      }
    
      /**
       * Determines whether a character is a BMP digit according to {@linkplain Character#isDigit(char)
       * Java's definition}. If you only care to match ASCII digits, you can use {@code inRange('0',
       * '9')}.
       *
       * @deprecated Many digits are supplementary characters; see the class documentation.
       * @since 19.0 (since 1.0 as constant {@code JAVA_DIGIT})
       */
      @Deprecated
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/base/CharMatcher.java

        return Digit.INSTANCE;
      }
    
      /**
       * Determines whether a character is a BMP digit according to {@linkplain Character#isDigit(char)
       * Java's definition}. If you only care to match ASCII digits, you can use {@code inRange('0',
       * '9')}.
       *
       * @deprecated Many digits are supplementary characters; see the class documentation.
       * @since 19.0 (since 1.0 as constant {@code JAVA_DIGIT})
       */
      @Deprecated
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  8. src/html/template/css.go

    			b, s = append(b, s[1:1+n]...), s[1+n:]
    		}
    	}
    	return b
    }
    
    // isHex reports whether the given character is a hex digit.
    func isHex(c byte) bool {
    	return '0' <= c && c <= '9' || 'a' <= c && c <= 'f' || 'A' <= c && c <= 'F'
    }
    
    // hexDecode decodes a short hex digit sequence: "10" -> 16.
    func hexDecode(s []byte) rune {
    	n := '\x00'
    	for _, c := range s {
    		n <<= 4
    		switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:38:18 UTC 2023
    - 7K bytes
    - Viewed (0)
  9. src/regexp/syntax/make_perl_groups.pl

    use strict;
    use warnings;
    
    my @posixclasses = (
    	"[:alnum:]",
    	"[:alpha:]",
    	"[:ascii:]",
    	"[:blank:]",
    	"[:cntrl:]",
    	"[:digit:]",
    	"[:graph:]",
    	"[:lower:]",
    	"[:print:]",
    	"[:punct:]",
    	"[:space:]",
    	"[:upper:]",
    	"[:word:]",
    	"[:xdigit:]",
    );
    
    my @perlclasses = (
    	"\\d",
    	"\\s",
    	"\\w",
    );
    
    my %overrides = (
    	# Prior to Perl 5.18, \s did not match vertical tab.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. test/fixedbugs/bug020.go

    // Copyright 2009 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 main
    
    var digits string;
    
    func putint(buf []byte, i, base, val int, digits string) {
    		buf[i] = digits[val];
    }
    
    func main() {
    }
    
    /*
    uetli:~/Source/go1/test gri$ 6g bugs/bug020.go
    bugs/bug020.go:7: type of a structure field cannot be an open array
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 486 bytes
    - Viewed (0)
Back to top