Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for Int16 (0.04 sec)

  1. test/codegen/noextend.go

    	// AND not needed due to size
    	// ppc64x:-"ANDCC"
    	sval16[1] = 255 & int16(x8+y8)
    
    	// ppc64x:-"ANDCC"
    	val16[1] = 255 & uint16(*u8+z8)
    
    }
    func shiftidx(u8 *uint8, x16 *int16, u16 *uint16) {
    
    	// ppc64x:-"MOVBZ\tR\\d+,\\sR\\d+"
    	val16[0] = uint16(sval16[*u8>>2])
    
    	// ppc64x:-"MOVH\tR\\d+,\\sR\\d+"
    	sval16[1] = int16(val16[*x16>>1])
    
    	// ppc64x:-"MOVHZ\tR\\d+,\\sR\\d+"
    	val16[1] = uint16(sval16[*u16>>2])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/const1.go

    )
    
    const (
    	_ int16 = minInt16 /* ERROR "overflows" */ - 1
    	_ int16 = minInt16
    	_ int16 = maxInt16
    	_ int16 = maxInt16 /* ERROR "overflows" */ + 1
    	_ int16 = smallestFloat64 /* ERROR "truncated" */
    
    	_ = int16(minInt16 /* ERROR "overflows" */ - 1)
    	_ = int16(minInt16)
    	_ = int16(maxInt16)
    	_ = int16(maxInt16 /* ERROR "overflows" */ + 1)
    	_ = int16(smallestFloat64 /* ERROR "cannot convert" */)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue63563.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    var (
    	_ = int8(1 /* ERROR "constant 255 overflows int8" */ <<8 - 1)
    	_ = int16(1 /* ERROR "constant 65535 overflows int16" */ <<16 - 1)
    	_ = int32(1 /* ERROR "constant 4294967295 overflows int32" */ <<32 - 1)
    	_ = int64(1 /* ERROR "constant 18446744073709551615 overflows int64" */ <<64 - 1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/internal/zstd/fse_test.go

    // for literal lengths. RFC 3.1.1.3.2.2.1.
    var literalPredefinedDistribution = []int16{
    	4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1,
    	2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 1, 1, 1, 1, 1,
    	-1, -1, -1, -1,
    }
    
    // offsetPredefinedDistribution is the predefined distribution table
    // for offsets. RFC 3.1.1.3.2.2.3.
    var offsetPredefinedDistribution = []int16{
    	1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. test/fixedbugs/issue57955.go

    package main
    
    func main() {
    	Decode[int16](nil)
    	Decode[uint16](nil)
    	Decode[float64](nil)
    }
    
    func DecodeInt16(b []byte) (int16, int) {
    	return 0, 0
    }
    
    func DecodeUint16(b []byte) (uint16, int) {
    	return 0, 0
    }
    
    func DecodeFloat64(b []byte) (float64, int) {
    	return 0, 0
    }
    
    func Decode[T any](b []byte) (T, int) {
    	switch any(*new(T)).(type) {
    	case int16:
    		v, n := DecodeInt16(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 19:29:08 UTC 2023
    - 794 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go

    	Asyncwrites int64
    	Fstypename  [16]byte
    	Mntonname   [80]byte
    	Syncreads   int64
    	Asyncreads  int64
    	Spares1     int16
    	Mntfromname [80]byte
    	Spares2     int16
    	Spare       [2]int64
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno  uint64
    	Namlen  uint16
    	Type    uint8
    	Unused1 uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go

    	Charspare   [80]int8
    	Fstypename  [16]byte
    	Mntfromname [1024]byte
    	Mntonname   [1024]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    	Sysid  int32
    	_      [4]byte
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Pad0   uint8
    	Namlen uint16
    	Pad1   uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go

    	Charspare   [80]int8
    	Fstypename  [16]byte
    	Mntfromname [1024]byte
    	Mntonname   [1024]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    	Sysid  int32
    	_      [4]byte
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Pad0   uint8
    	Namlen uint16
    	Pad1   uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go

    	Charspare   [80]int8
    	Fstypename  [16]byte
    	Mntfromname [1024]byte
    	Mntonname   [1024]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    	Sysid  int32
    	_      [4]byte
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Pad0   uint8
    	Namlen uint16
    	Pad1   uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go

    	Charspare   [80]int8
    	Fstypename  [16]byte
    	Mntfromname [1024]byte
    	Mntonname   [1024]byte
    }
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    	Sysid  int32
    }
    
    type Dirent struct {
    	Fileno uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Pad0   uint8
    	Namlen uint16
    	Pad1   uint16
    	Name   [256]int8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.6K bytes
    - Viewed (0)
Back to top