Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 898 for int2 (0.04 sec)

  1. test/fixedbugs/issue66066b.go

    package main
    
    //go:noinline
    func f32(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int32) uint64 {
    	return uint64(uint32(x))
    }
    
    //go:noinline
    func f16(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int16) uint64 {
    	return uint64(uint16(x))
    }
    
    //go:noinline
    func f8(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int8) uint64 {
    	return uint64(uint8(x))
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 17:35:29 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    			a int8
    			b int8
    			c int32
    		}
    	}{},
    		"struct { a int8; b int8; c int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int8
    			e int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int8; e int32 }",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/loong64/a.out.go

    	C_ADDCON // -0x800 <= v < 0
    	C_ANDCON // 0 < v <= 0xFFF
    	C_LCON   // other 32
    	C_DCON   // other 64 (could subdivide further)
    	C_SACON  // $n(REG) where n <= int12
    	C_SECON
    	C_LACON // $n(REG) where int12 < n <= int32
    	C_LECON
    	C_DACON // $n(REG) where int32 < n
    	C_STCON // $tlsvar
    	C_SBRA
    	C_LBRA
    	C_SAUTO
    	C_LAUTO
    	C_SEXT
    	C_LEXT
    	C_ZOREG
    	C_SOREG
    	C_LOREG
    	C_GOK
    	C_ADDR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/encoding/binary/binary_test.go

    		}
    	}
    }
    
    func TestSizeInvalid(t *testing.T) {
    	testcases := []any{
    		int(0),
    		new(int),
    		(*int)(nil),
    		[1]uint{},
    		new([1]uint),
    		(*[1]uint)(nil),
    		[]int{},
    		[]int(nil),
    		new([]int),
    		(*[]int)(nil),
    		(*int8)(nil),
    		(*uint8)(nil),
    		(*int16)(nil),
    		(*uint16)(nil),
    		(*int32)(nil),
    		(*uint32)(nil),
    		(*int64)(nil),
    		(*uint64)(nil),
    		(*float32)(nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. logger/sql.go

    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    
    func isNumeric(k reflect.Kind) bool {
    	switch k {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return true
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    		return true
    	case reflect.Float32, reflect.Float64:
    		return true
    	default:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/runtime/defs1_netbsd_amd64.go

    	_NOTE_TRIGGER = 0x1000000
    )
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type siginfo struct {
    	_signo  int32
    	_code   int32
    	_errno  int32
    	_pad    int32
    	_reason [24]byte
    }
    
    type stackt struct {
    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc

          mlir::FloatType::getFloat8E4M3FN(&context)));
    
      ASSERT_NO_FATAL_FAILURE(VerifyConversion<int4>(
          {static_cast<int4>(1), static_cast<int4>(-1)}, DT_INT4,
          mlir::IntegerType::get(&context, 4,
                                 mlir::IntegerType::SignednessSemantics::Signed)));
      ASSERT_NO_FATAL_FAILURE(VerifyConversion<int8>(
          {1, -1}, DT_INT8, mlir::IntegerType::get(&context, 8)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/runtime/os_plan9.go

    //go:noescape
    func brk_(addr unsafe.Pointer) int32
    
    func sleep(ms int32) int32
    
    func rfork(flags int32) int32
    
    //go:noescape
    func plan9_semacquire(addr *uint32, block int32) int32
    
    //go:noescape
    func plan9_tsemacquire(addr *uint32, ms int32) int32
    
    //go:noescape
    func plan9_semrelease(addr *uint32, count int32) int32
    
    //go:noescape
    func notify(fn unsafe.Pointer) int32
    
    func noted(mode int32) int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. src/math/rand/rand.go

    }
    
    // Int31 returns a non-negative pseudo-random 31-bit integer as an int32.
    func (r *Rand) Int31() int32 { return int32(r.Int63() >> 32) }
    
    // Int returns a non-negative pseudo-random int.
    func (r *Rand) Int() int {
    	u := uint(r.Int63())
    	return int(u << 1 >> 1) // clear sign bit if int == int32
    }
    
    // Int63n returns, as an int64, a non-negative pseudo-random number in the half-open interval [0,n).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. src/internal/fuzz/encoding_test.go

    `,
    			want: `go test fuzz v1
    rune('\x00')
    rune('A')
    int32(-1)
    rune('�')
    int32(55296)
    rune('\U0010ffff')
    int32(1114112)`,
    		},
    		{
    			desc: "int overflow",
    			in: `go test fuzz v1
    int(0x7fffffffffffffff)
    uint(0xffffffffffffffff)`,
    			want: func() string {
    				switch strconv.IntSize {
    				case 32:
    					return `go test fuzz v1
    int(-1)
    uint(4294967295)`
    				case 64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top