Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 322 for Int16 (0.2 sec)

  1. src/cmd/compile/internal/test/logic_test.go

    		golden func(int16) int16
    	}{
    		{"x|x", func(x int16) int16 { return x | x }, id},
    		{"x|0", func(x int16) int16 { return x | 0 }, id},
    		{"x|-1", func(x int16) int16 { return x | -1 }, func(x int16) int16 { return -1 }},
    		{"x&x", func(x int16) int16 { return x & x }, id},
    		{"x&0", func(x int16) int16 { return x & 0 }, zero},
    		{"x&-1", func(x int16) int16 { return x & -1 }, id},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go

    }
    
    type XSocket struct {
    	Xso_len      uint32
    	Xso_so       uint32
    	So_type      int16
    	So_options   int16
    	So_linger    int16
    	So_state     int16
    	So_pcb       uint32
    	Xso_protocol int32
    	Xso_family   int32
    	So_qlen      int16
    	So_incqlen   int16
    	So_qlimit    int16
    	So_timeo     int16
    	So_error     uint16
    	So_pgid      int32
    	So_oobmark   uint32
    	So_rcv       XSockbuf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/arith_test.go

    		}
    		if want, got := int16(i)%int16(pow2[3]) == 0, divisible_int16_2to3(int16(i)); got != want {
    			t.Errorf("divisible_int16_2to3(%d) = %v want %v", i, got, want)
    		}
    		if want, got := int16(i)%int16(pow2[4]) == 0, divisible_int16_2to4(int16(i)); got != want {
    			t.Errorf("divisible_int16_2to4(%d) = %v want %v", i, got, want)
    		}
    		if want, got := int16(i)%int16(pow2[5]) == 0, divisible_int16_2to5(int16(i)); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/abiutils_test.go

            IN 1: R{ I3 } spilloffset: 8 typ: *struct { int16; int16; int16 }
            IN 2: R{ } offset: 0 typ: [7]*struct { int16; int16; int16 }
            IN 3: R{ F0 } spilloffset: 16 typ: float64
            IN 4: R{ I4 } spilloffset: 24 typ: int16
            IN 5: R{ I5 } spilloffset: 26 typ: int16
            IN 6: R{ I6 } spilloffset: 28 typ: int16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go

    }
    
    type XSocket struct {
    	Xso_len      uint32
    	Xso_so       uint32
    	So_type      int16
    	So_options   int16
    	So_linger    int16
    	So_state     int16
    	So_pcb       uint32
    	Xso_protocol int32
    	Xso_family   int32
    	So_qlen      int16
    	So_incqlen   int16
    	So_qlimit    int16
    	So_timeo     int16
    	So_error     uint16
    	So_pgid      int32
    	So_oobmark   uint32
    	So_rcv       XSockbuf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top