Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Int16 (0.09 sec)

  1. src/cmd/compile/internal/ssa/_gen/generic.rules

      => (MakeResult (Eq16 (Load <typ.Int16> sptr mem) (Const16 <typ.Int16> [int16(read16(scon,0,config.ctxt.Arch.ByteOrder))])) mem)
    
    (StaticLECall {callAux} (Addr {scon} (SB)) sptr (Const64 [2]) mem)
      && isSameCall(callAux, "runtime.memequal")
      && symIsRO(scon)
      && canLoadUnaligned(config)
      => (MakeResult (Eq16 (Load <typ.Int16> sptr mem) (Const16 <typ.Int16> [int16(read16(scon,0,config.ctxt.Arch.ByteOrder))])) mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    	{V(float64(48)), V(uint8(48))},
    	{V(int16(49)), V(int16(49))},
    	{V(int16(50)), V(uint16(50))},
    	{V(uint16(51)), V(int16(51))},
    	{V(int16(52)), V(int32(52))},
    	{V(int32(53)), V(int16(53))},
    	{V(int16(54)), V(uint32(54))},
    	{V(uint32(55)), V(int16(55))},
    	{V(int16(56)), V(int64(56))},
    	{V(int64(57)), V(int16(57))},
    	{V(int16(58)), V(uint64(58))},
    	{V(uint64(59)), V(int16(59))},
    	{V(int16(60)), V(int(60))},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/asm7.go

    func roff(rm int16, o uint32, amount int16) uint32 {
    	return uint32(rm&31)<<16 | o<<13 | uint32(amount)<<10
    }
    
    // encRegShiftOrExt returns the encoding of shifted/extended register, Rx<<n and Rx.UXTW<<n, etc.
    func (c *ctxt7) encRegShiftOrExt(p *obj.Prog, a *obj.Addr, r int16) uint32 {
    	var num, rm int16
    	num = (r >> 5) & 7
    	rm = r & 31
    	switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/s390x/asmz.go

    		if d1 < 0 || d1 >= DISP12 {
    			if b2 == int16(regtmp(p)) {
    				c.ctxt.Diag("regtmp(p) conflict")
    			}
    			if b1 != int16(regtmp(p)) {
    				zRRE(op_LGR, regtmp(p), uint32(b1), asm)
    			}
    			zRIL(_a, op_AGFI, regtmp(p), uint32(d1), asm)
    			if d1 == d2 && b1 == b2 {
    				d2 = 0
    				b2 = int16(regtmp(p))
    			}
    			d1 = 0
    			b1 = int16(regtmp(p))
    		}
    		if d2 < 0 || d2 >= DISP12 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  5. src/reflect/value.go

    // It panics if v's Kind is not [Int], [Int8], [Int16], [Int32], or [Int64], or if [Value.CanSet] returns false.
    func (v Value) SetInt(x int64) {
    	v.mustBeAssignable()
    	switch k := v.kind(); k {
    	default:
    		panic(&ValueError{"reflect.Value.SetInt", v.kind()})
    	case Int:
    		*(*int)(v.ptr) = int(x)
    	case Int8:
    		*(*int8)(v.ptr) = int8(x)
    	case Int16:
    		*(*int16)(v.ptr) = int16(x)
    	case Int32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/ppc64/asm9.go

    	OP_EXTSWSLI = 31<<26 | 445<<2
    	OP_SETB     = 31<<26 | 128<<1
    )
    
    func pfxadd(rt, ra int16, r uint32, imm32 int64) (uint32, uint32) {
    	return AOP_PFX_10_MLS(r, uint32(imm32>>16)), AOP_IRR(14<<26, uint32(rt), uint32(ra), uint32(imm32))
    }
    
    func pfxload(a obj.As, reg int16, base int16, r uint32) (uint32, uint32) {
    	switch a {
    	case AMOVH:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/asm6.go

    	}
    
    	if int(p.From.Reg) == from {
    		p.From.Reg = int16(to)
    		p.Ft = 0
    	}
    
    	if int(p.To.Reg) == from {
    		p.To.Reg = int16(to)
    		p.Tt = 0
    	}
    
    	if int(p.From.Index) == from {
    		p.From.Index = int16(to)
    		p.Ft = 0
    	}
    
    	if int(p.To.Index) == from {
    		p.To.Index = int16(to)
    		p.Tt = 0
    	}
    
    	if false { /* debug['Q'] */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  8. src/database/sql/sql.go

    	if !n.Valid {
    		return nil, nil
    	}
    	return int64(n.Int32), nil
    }
    
    // NullInt16 represents an int16 that may be null.
    // NullInt16 implements the [Scanner] interface so
    // it can be used as a scan destination, similar to [NullString].
    type NullInt16 struct {
    	Int16 int16
    	Valid bool // Valid is true if Int16 is not NULL
    }
    
    // Scan implements the [Scanner] interface.
    func (n *NullInt16) Scan(value any) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/data.go

    		case 1:
    			P[off] = byte(int8(o))
    		case 2:
    			if (rt == objabi.R_PCREL || rt == objabi.R_CALL) && o != int64(int16(o)) {
    				st.err.Errorf(s, "pc-relative relocation address for %s is too big: %#x", ldr.SymName(rs), o)
    			} else if o != int64(int16(o)) && o != int64(uint16(o)) {
    				st.err.Errorf(s, "non-pc-relative relocation address for %s is too big: %#x", ldr.SymName(rs), uint64(o))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  10. src/database/sql/sql_test.go

    		{NullInt32{222, false}, 1, NullInt32{0, false}},
    		{0, NullInt32{31, false}, nil},
    	}}
    	nullTestRun(t, spec)
    }
    
    func TestNullInt16Param(t *testing.T) {
    	spec := nullTestSpec{"nullint16", "int16", [6]nullTestRow{
    		{NullInt16{31, true}, 1, NullInt16{31, true}},
    		{NullInt16{-22, false}, 1, NullInt16{0, false}},
    		{22, 1, NullInt16{22, true}},
    		{NullInt16{33, true}, 1, NullInt16{33, true}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top