Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for 0B1110 (0.11 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. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.json

    {"Name":"ZIP1","Bits":"0|Q|0|0|1|1|1|0|size:2|0|Rm:5|0|0|1|1|1|0|Rn:5|Rd:5","Arch":"Advanced SIMD variant","Syntax":"ZIP1 <Vd>.<T>, <Vn>.<T>, <Vm>.<T>","Code":"","Alias":""},
    {"Name":"ZIP2","Bits":"0|Q|0|0|1|1|1|0|size:2|0|Rm:5|0|1|1|1|1|0|Rn:5|Rd:5","Arch":"Advanced SIMD variant","Syntax":"ZIP2 <Vd>.<T>, <Vn>.<T>, <Vm>.<T>","Code":"","Alias":""}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 234.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/reflect/all_test.go

    			kv.SetIterKey(iter)
    			seenk ^= kv.Uint()
    			kv.SetIterValue(iter)
    			seenv ^= kv.Uint()
    		}
    		if seenk != 0b111 {
    			t.Errorf("iteration yielded keys %b, want %b", seenk, 0b111)
    		}
    		if seenv != 0b1110 {
    			t.Errorf("iteration yielded values %b, want %b", seenv, 0b1110)
    		}
    	}
    
    	// Reset should not allocate.
    	n := int(testing.AllocsPerRun(10, func() {
    		iter.Reset(ValueOf(m2))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  8. 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)
  9. src/os/exec/lp_plan9.go

    var ErrNotFound = errors.New("executable file not found in $path")
    
    func findExecutable(file string) error {
    	d, err := os.Stat(file)
    	if err != nil {
    		return err
    	}
    	if m := d.Mode(); !m.IsDir() && m&0111 != 0 {
    		return nil
    	}
    	return fs.ErrPermission
    }
    
    // LookPath searches for an executable named file in the
    // directories named by the path environment variable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/go/internal/toolchain/path_plan9.go

    // The analysis only uses the name itself; it does not run the program.
    func pathVersion(dir string, de fs.DirEntry, info fs.FileInfo) (string, bool) {
    	v := gover.FromToolchain(de.Name())
    	if v == "" || info.Mode()&0111 == 0 {
    		return "", false
    	}
    	return v, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:15:19 UTC 2023
    - 764 bytes
    - Viewed (0)