Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for 0B1110 (0.09 sec)

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

    func TestNumbers(t *testing.T) {
    	for _, test := range []struct {
    		kind             LitKind
    		src, tokens, err string
    	}{
    		// binaries
    		{IntLit, "0b0", "0b0", ""},
    		{IntLit, "0b1010", "0b1010", ""},
    		{IntLit, "0B1110", "0B1110", ""},
    
    		{IntLit, "0b", "0b", "binary literal has no digits"},
    		{IntLit, "0b0190", "0b0190", "invalid digit '9' in binary literal"},
    		{IntLit, "0b01a0", "0b01 a0", ""}, // only accept 0-9
    
    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

    func TestNumbers(t *testing.T) {
    	for _, test := range []struct {
    		tok              token.Token
    		src, tokens, err string
    	}{
    		// binaries
    		{token.INT, "0b0", "0b0", ""},
    		{token.INT, "0b1010", "0b1010", ""},
    		{token.INT, "0B1110", "0B1110", ""},
    
    		{token.INT, "0b", "0b", "binary literal has no digits"},
    		{token.INT, "0b0190", "0b0190", "invalid digit '9' in binary 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/text/scanner/scanner_test.go

    }
    
    func TestNumbers(t *testing.T) {
    	for _, test := range []struct {
    		tok              rune
    		src, tokens, err string
    	}{
    		// binaries
    		{Int, "0b0", "0b0", ""},
    		{Int, "0b1010", "0b1010", ""},
    		{Int, "0B1110", "0B1110", ""},
    
    		{Int, "0b", "0b", "binary literal has no digits"},
    		{Int, "0b0190", "0b0190", "invalid digit '9' in binary literal"},
    		{Int, "0b01a0", "0b01 a0", ""}, // only accept 0-9
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_op_with_region.mlir

        %10 = "quantfork.dcast"(%9) : (tensor<2x3x1x3x!quant.uniform<i8:f32, 3.000000e-01:1>>) -> tensor<2x3x1x3xf32>
        %11 = stablehlo.reshape %10 : (tensor<2x3x1x3xf32>) -> tensor<2x3x3xf32>
        %12 = "quantfork.qcast"(%11) {volatile} : (tensor<2x3x3xf32>) -> tensor<2x3x3x!quant.uniform<i8:f32, 3.000000e-01:1>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. src/image/image_test.go

    }{
    	{"rgba", func() image { return NewRGBA(Rect(0, 0, 10, 10)) }},
    	{"rgba64", func() image { return NewRGBA64(Rect(0, 0, 10, 10)) }},
    	{"nrgba", func() image { return NewNRGBA(Rect(0, 0, 10, 10)) }},
    	{"nrgba64", func() image { return NewNRGBA64(Rect(0, 0, 10, 10)) }},
    	{"alpha", func() image { return NewAlpha(Rect(0, 0, 10, 10)) }},
    	{"alpha16", func() image { return NewAlpha16(Rect(0, 0, 10, 10)) }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 30 02:00:49 UTC 2021
    - 10.8K bytes
    - Viewed (0)
  6. src/math/big/ratconv_test.go

    	// valid
    	{"0", "0", true},
    	{"-0", "0", true},
    	{"1", "1", true},
    	{"-1", "-1", true},
    	{"1.", "1", true},
    	{"1e0", "1", true},
    	{"1.e1", "10", true},
    	{"-0.1", "-1/10", true},
    	{"-.1", "-1/10", true},
    	{"2/4", "1/2", true},
    	{".25", "1/4", true},
    	{"-1/5", "-1/5", true},
    	{"8129567.7690E14", "812956776900000000000", true},
    	{"78189e+4", "781890000", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  7. src/math/big/intconv_test.go

    	{"10", "%x", "a"},
    	{"10", "%X", "A"},
    	{"-10", "%X", "-A"},
    	{"10", "%y", "%!y(big.Int=10)"},
    	{"-10", "%y", "%!y(big.Int=-10)"},
    
    	{"10", "%#b", "0b1010"},
    	{"10", "%#o", "012"},
    	{"10", "%O", "0o12"},
    	{"-10", "%#b", "-0b1010"},
    	{"-10", "%#o", "-012"},
    	{"-10", "%O", "-0o12"},
    	{"10", "%#d", "10"},
    	{"10", "%#v", "10"},
    	{"10", "%#x", "0xa"},
    	{"10", "%#X", "0XA"},
    	{"-10", "%#X", "-0XA"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 22:58:58 UTC 2019
    - 10K bytes
    - Viewed (0)
  8. tests/integration/pilot/testdata/upgrade/1.11.0-beta.1-cni-install.yaml.tar

    1.11.0-beta.1-cni-install.yaml apiVersion: v1 kind: ServiceAccount metadata: name: istio-cni namespace: kube-system labels: app: istio-cni release: istio istio.io/rev: default install.operator.istio.io/owning-resource: unknown operator.istio.io/component: "Cni" --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: istio-cni labels: app: istio-cni release: istio istio.io/rev: default install.operator.istio.io/owning-resource: unknown operator.istio.io/component: "Cni" rules:...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 29 18:43:32 UTC 2021
    - 10K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/p224.go

    			p.Double(p)
    		}
    
    		windowValue := byte >> 4
    		table.Select(t, windowValue)
    		p.Add(p, t)
    
    		p.Double(p)
    		p.Double(p)
    		p.Double(p)
    		p.Double(p)
    
    		windowValue = byte & 0b1111
    		table.Select(t, windowValue)
    		p.Add(p, t)
    	}
    
    	return p, nil
    }
    
    var p224GeneratorTable *[p224ElementLength * 2]p224Table
    var p224GeneratorTableOnce sync.Once
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/p521.go

    			p.Double(p)
    		}
    
    		windowValue := byte >> 4
    		table.Select(t, windowValue)
    		p.Add(p, t)
    
    		p.Double(p)
    		p.Double(p)
    		p.Double(p)
    		p.Double(p)
    
    		windowValue = byte & 0b1111
    		table.Select(t, windowValue)
    		p.Add(p, t)
    	}
    
    	return p, nil
    }
    
    var p521GeneratorTable *[p521ElementLength * 2]p521Table
    var p521GeneratorTableOnce sync.Once
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 17K bytes
    - Viewed (0)