Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for 0o (0.04 sec)

  1. src/cmd/compile/internal/syntax/scanner_test.go

    		{IntLit, "0O1234", "0O1234", ""},
    
    		{IntLit, "0o", "0o", "octal literal has no digits"},
    		{IntLit, "0o8123", "0o8123", "invalid digit '8' in octal literal"},
    		{IntLit, "0o1293", "0o1293", "invalid digit '9' in octal literal"},
    		{IntLit, "0o12a3", "0o12 a3", ""}, // only accept 0-9
    
    		{FloatLit, "0o.", "0o.", "invalid radix point in octal literal"},
    		{FloatLit, "0o.2", "0o.2", "invalid radix point in octal literal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  2. src/go/scanner/scanner_test.go

    		{token.INT, "0o", "0o", "octal literal has no digits"},
    		{token.INT, "0o8123", "0o8123", "invalid digit '8' in octal literal"},
    		{token.INT, "0o1293", "0o1293", "invalid digit '9' in octal literal"},
    		{token.INT, "0o12a3", "0o12 a3", ""}, // only accept 0-9
    
    		{token.FLOAT, "0o.", "0o.", "invalid radix point in octal literal"},
    		{token.FLOAT, "0o.2", "0o.2", "invalid radix point in octal literal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  3. src/math/big/natconv.go

    // 0, 2, 8, 10, or 16. Providing an invalid base argument leads to a run-
    // time panic.
    //
    // For base 0, the number prefix determines the actual base: A prefix of
    // “0b” or “0B” selects base 2, “0o” or “0O” selects base 8, and
    // “0x” or “0X” selects base 16. If fracOk is false, a “0” prefix
    // (immediately followed by digits) selects base 8 as well. Otherwise,
    // the selected base is 10 and no prefix is accepted.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
  4. src/strconv/atoi_test.go

    	{"02000000000000000000000", 0, 1<<64 - 1, ErrRange},
    	{"0200000000000000000000", 0, 1 << 61, nil},
    	{"0b", 0, 0, ErrSyntax},
    	{"0B", 0, 0, ErrSyntax},
    	{"0b101", 0, 5, nil},
    	{"0B101", 0, 5, nil},
    	{"0o", 0, 0, ErrSyntax},
    	{"0O", 0, 0, ErrSyntax},
    	{"0o377", 0, 255, nil},
    	{"0O377", 0, 255, nil},
    
    	// underscores allowed with base == 0 only
    	{"1_2_3_4_5", 0, 12345, nil}, // base 0 => 10
    	{"_12345", 0, 0, ErrSyntax},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 05:09:21 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  5. src/fmt/doc.go

    Boolean:
    
    	%t	the word true or false
    
    Integer:
    
    	%b	base 2
    	%c	the character represented by the corresponding Unicode code point
    	%d	base 10
    	%o	base 8
    	%O	base 8 with 0o prefix
    	%q	a single-quoted character literal safely escaped with Go syntax.
    	%x	base 16, with lower-case letters for a-f
    	%X	base 16, with upper-case letters for A-F
    	%U	Unicode format: U+1234; same as "U+%04X"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. src/math/big/ratconv.go

    // floating-point number optionally followed by an exponent.
    // If a fraction is provided, both the dividend and the divisor may be a
    // decimal integer or independently use a prefix of “0b”, “0” or “0o”,
    // or “0x” (or their upper-case variants) to denote a binary, octal, or
    // hexadecimal integer, respectively. The divisor may not be signed.
    // If a floating-point number is provided, it may be in decimal form or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. pkg/ctrlz/assets/static/js/prism-1.14.0.min.js

    \t]*)(?:null|~)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:'important'},string:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)("|')(?:(?!\2)[^\\\r\n]|\\.)*\2(?=[ \t]*(?:$|,|]|}))/m,lookbehind:!0,greedy:!0},number:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+\.?\d*|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)[ \t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\s]+/,important:/[&*][\w]+/,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./};...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  8. src/math/big/int.go

    //
    // The base argument must be 0 or a value between 2 and [MaxBase].
    // For base 0, the number prefix determines the actual base: A prefix of
    // “0b” or “0B” selects base 2, “0”, “0o” or “0O” selects base 8,
    // and “0x” or “0X” selects base 16. Otherwise, the selected base is 10
    // and no prefix is accepted.
    //
    // For bases <= 36, lower and upper case letters are considered the same:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. src/fmt/scan.go

    // It is called only if the verb is %v.
    func (s *ss) scanBasePrefix() (base int, digits string, zeroFound bool) {
    	if !s.peek("0") {
    		return 0, decimalDigits + "_", false
    	}
    	s.accept("0")
    	// Special cases for 0, 0b, 0o, 0x.
    	switch {
    	case s.peek("bB"):
    		s.consume("bB", true)
    		return 0, binaryDigits + "_", true
    	case s.peek("oO"):
    		s.consume("oO", true)
    		return 0, octalDigits + "_", true
    	case s.peek("xX"):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  10. cmd/testdata/xl-meta-merge.zip

    £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDist” ¨CSumAlgo ¨PartNums‘ ©PartETagsÀ©PartSizes‘Ñ äªPartASizes‘Ñ ä¤SizeÑ ä¥MTimeÓ ¹ôb Îf­§MetaSys ¼x-minio-internal-inline-dataÄ true§MetaUsr‚¬content-type¸application/octet-stream¤etagÙ 9fe7a344ef4227d3e537¡vÎeçnÐÎÍ  ‚Ù$73c9f651-f023-4566-b012-cc537fdb7ce2Ä’A0§i ˆ»°u•‡ðU ^sF" :5›…— ú >õ’È4> . çòH¯icaMLNpG¾ÙìpöÊ 4 ,A¼yL„cÁÐÚîÑðÍÉzêê ¼yL„c·ÀÀôñßÜïÖGþr Ž‡´’ª€¬µˆ G[ðõ‹©lI pNÈGš“ 0 $ ²€ùáDq µjuqZœÒÙ$1f163718-9bc5-4b01-bff7-5d8cf09caf10Ä’A0§i ˆ»°u•‡ðU ^sF" :5›…— ú >õ’È4>...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top