Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for Int16 (0.13 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.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.4K bytes
    - Viewed (0)
  10. 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)
Back to top