Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 549 for Int16 (0.21 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. test/append.go

    	{"int16 a", append([]int16{}), []int16{}},
    	{"int16 b", append([]int16{}, 0), []int16{0}},
    	{"int16 c", append([]int16{}, 0, 1, 2, 3), []int16{0, 1, 2, 3}},
    
    	{"int16 d", append([]int16{0, 1, 2}), []int16{0, 1, 2}},
    	{"int16 e", append([]int16{0, 1, 2}, 3), []int16{0, 1, 2, 3}},
    	{"int16 f", append([]int16{0, 1, 2}, 3, 4, 5), []int16{0, 1, 2, 3, 4, 5}},
    
    	{"int16 g", append([]int16{}, []int16{0}...), []int16{0}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 06 04:28:23 UTC 2018
    - 9.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/asm/internal/arch/arch.go

    	}
    	for i := ppc64.REG_VS0; i <= ppc64.REG_VS63; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := ppc64.REG_A0; i <= ppc64.REG_A7; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := ppc64.REG_CR0; i <= ppc64.REG_CR7; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := ppc64.REG_MSR; i <= ppc64.REG_CR; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 06:51:28 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/compile/internal/test/shift_test.go

    	return x >> n
    }
    
    //go:noinline
    func ofz16l64(n uint64) int16 {
    	var x int16
    	return x << n
    }
    
    //go:noinline
    func ofz16l32(n uint32) int16 {
    	var x int16
    	return x << n
    }
    
    //go:noinline
    func ofz16l16(n uint16) int16 {
    	var x int16
    	return x << n
    }
    
    //go:noinline
    func ofz16l8(n uint8) int16 {
    	var x int16
    	return x << n
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 22:26:39 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  9. test/intcvt.go

    	//	chki8(int8(f64), 0)
    
    	chki16(int16(i8), ci8&0xffff-1<<16)
    	chki16(int16(i16), ci16&0xffff-1<<16)
    	chki16(int16(i32), ci32&0xffff-1<<16)
    	chki16(int16(i64), ci64&0xffff-1<<16)
    	chki16(int16(u8), cu8&0xffff)
    	chki16(int16(u16), cu16&0xffff-1<<16)
    	chki16(int16(u32), cu32&0xffff)
    	chki16(int16(u64), cu64&0xffff-1<<16)
    	//	chki16(int16(f32), 0)
    	//	chki16(int16(f64), 0)
    
    	chki32(int32(i8), ci8&0xffffffff-1<<32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 07:47:26 UTC 2012
    - 4.3K bytes
    - Viewed (0)
  10. 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)
Back to top