Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 0o (0.09 sec)

  1. src/go/types/expr.go

    		return
    	}
    	radix := s[1]
    	if radix == 'b' || radix == 'B' {
    		check.versionErrorf(lit, go1_13, "binary literal")
    		return
    	}
    	if radix == 'o' || radix == 'O' {
    		check.versionErrorf(lit, go1_13, "0o/0O-style octal literal")
    		return
    	}
    	if lit.Kind != token.INT && (radix == 'x' || radix == 'X') {
    		check.versionErrorf(lit, go1_13, "hexadecimal floating-point literal")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. src/go/printer/nodes.go

    		}
    	case "0x":
    		// possibly a hexadecimal float
    		i := strings.LastIndexByte(x, 'P')
    		if i == -1 {
    			return lit // nothing to do
    		}
    		x = x[:i] + "p" + x[i+1:]
    	case "0O":
    		x = "0o" + x[2:]
    	case "0o":
    		return lit // nothing to do
    	case "0B":
    		x = "0b" + x[2:]
    	case "0b":
    		return lit // nothing to do
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/expr.go

    		return
    	}
    	radix := s[1]
    	if radix == 'b' || radix == 'B' {
    		check.versionErrorf(lit, go1_13, "binary literal")
    		return
    	}
    	if radix == 'o' || radix == 'O' {
    		check.versionErrorf(lit, go1_13, "0o/0O-style octal literal")
    		return
    	}
    	if lit.Kind != syntax.IntLit && (radix == 'x' || radix == 'X') {
    		check.versionErrorf(lit, go1_13, "hexadecimal floating-point literal")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top