Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for 0B1110 (0.08 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. fastapi/__init__.py

    """FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
    
    __version__ = "0.111.0"
    
    from starlette import status as status
    
    from .applications import FastAPI as FastAPI
    from .background import BackgroundTasks as BackgroundTasks
    from .datastructures import UploadFile as UploadFile
    from .exceptions import HTTPException as HTTPException
    from .exceptions import WebSocketException as WebSocketException
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:50:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. internal/logger/target/types/targettype_string.go

    	var x [1]struct{}
    	_ = x[TargetConsole-1]
    	_ = x[TargetHTTP-2]
    	_ = x[TargetKafka-3]
    }
    
    const _TargetType_name = "ConsoleHTTPKafka"
    
    var _TargetType_index = [...]uint8{0, 7, 11, 16}
    
    func (i TargetType) String() string {
    	i -= 1
    	if i >= TargetType(len(_TargetType_index)-1) {
    		return "TargetType(" + strconv.FormatInt(int64(i+1), 10) + ")"
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Nov 10 18:20:21 UTC 2022
    - 703 bytes
    - Viewed (0)
  10. src/cmd/go/internal/toolchain/path_unix.go

    	// In both cases, fall back to checking the permission bits.
    	err := unix.Eaccess(filepath.Join(dir, de.Name()), unix.X_OK)
    	if (err == syscall.ENOSYS || err == syscall.EPERM) && info.Mode()&0111 != 0 {
    		err = nil
    	}
    	if err != nil {
    		return "", false
    	}
    
    	return v, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:15:19 UTC 2023
    - 1.2K bytes
    - Viewed (0)