Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for Int16 (0.03 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. src/encoding/binary/binary.go

    	e.offset += 8
    }
    
    func (d *decoder) int8() int8 { return int8(d.uint8()) }
    
    func (e *encoder) int8(x int8) { e.uint8(uint8(x)) }
    
    func (d *decoder) int16() int16 { return int16(d.uint16()) }
    
    func (e *encoder) int16(x int16) { e.uint16(uint16(x)) }
    
    func (d *decoder) int32() int32 { return int32(d.uint32()) }
    
    func (e *encoder) int32(x int32) { e.uint32(uint32(x)) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. test/codegen/arithmetic.go

    	}
    	return d, e
    }
    
    func NoFix16A(divr int16) (int16, int16) {
    	var d int16 = 42
    	var e int16 = 84
    	if divr > 5 {
    		// amd64:-"JMP"
    		// 386:-"JMP"
    		d /= divr
    		// amd64:-"JMP"
    		// 386:-"JMP"
    		e %= divr
    		d += e
    	}
    	return d, e
    }
    
    func NoFix16B(divd int16) (int16, int16) {
    	var d int16
    	var e int16
    	var divr int16 = -1
    	if divd > -32768 {
    		// amd64:-"JMP"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. test/codegen/shift.go

    	// ppc64x:-".*MOVW"
    	f := int32(v >> 32)
    	// ppc64x:".*MOVW"
    	f += int32(v >> 31)
    	// ppc64x:-".*MOVH"
    	g := int16(v >> 48)
    	// ppc64x:".*MOVH"
    	g += int16(v >> 30)
    	// ppc64x:-".*MOVH"
    	g += int16(f >> 16)
    	// ppc64x:-".*MOVB"
    	h := int8(v >> 56)
    	// ppc64x:".*MOVB"
    	h += int8(v >> 28)
    	// ppc64x:-".*MOVB"
    	h += int8(f >> 24)
    	// ppc64x:".*MOVB"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/syscall/ztypes_linux_arm64.go

    	Off       int64
    	Reclen    uint16
    	Type      uint8
    	Name      [256]int8
    	Pad_cgo_0 [5]byte
    }
    
    type Fsid struct {
    	X__val [2]int32
    }
    
    type Flock_t struct {
    	Type      int16
    	Whence    int16
    	Pad_cgo_0 [4]byte
    	Start     int64
    	Len       int64
    	Pid       int32
    	Pad_cgo_1 [4]byte
    }
    
    type RawSockaddrInet4 struct {
    	Family uint16
    	Port   uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/s390x/a.out.go

    // https://refspecs.linuxfoundation.org/ELF/zSeries/lzsabi0_zSeries/x1472.html
    var S390XDWARFRegisters = map[int16]int16{}
    
    func init() {
    	// f assigns dwarfregisters[from:to by step] = (base):((to-from)/step+base)
    	f := func(from, step, to, base int16) {
    		for r := int16(from); r <= to; r += step {
    			S390XDWARFRegisters[r] = (r-from)/step + base
    		}
    	}
    	f(REG_R0, 1, REG_R15, 0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 16:41:03 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top