Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for UInt16 (0.12 sec)

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

    (ORNshiftRO (RORconst x [c]) x [c]) => (MOVDconst [-1])
    
    // rev16w | rev16
    // ((x>>8) | (x<<8)) => (REV16W x), the type of x is uint16, "|" can also be "^" or "+".
    ((ADDshiftLL|ORshiftLL|XORshiftLL) <typ.UInt16> [8] (UBFX <typ.UInt16> [armBFAuxInt(8, 8)] x) x) => (REV16W x)
    
    // ((x & 0xff00ff00)>>8) | ((x & 0x00ff00ff)<<8), "|" can also be "^" or "+".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	// cond: c >= 0 && int64(uint16(c)) == c
    	// result: x
    	for {
    		x := v_0
    		if x.Op != OpRISCV64ANDI {
    			break
    		}
    		c := auxIntToInt64(x.AuxInt)
    		if !(c >= 0 && int64(uint16(c)) == c) {
    			break
    		}
    		v.copyOf(x)
    		return true
    	}
    	// match: (MOVHUreg (ANDI [c] x))
    	// cond: c < 0
    	// result: (ANDI [int64(uint16(c))] x)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/data.go

    			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))
    			}
    			target.Arch.ByteOrder.PutUint16(P[off:], uint16(o))
    		case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  4. cmd/site-replication.go

    	switch binary.LittleEndian.Uint16(data[0:2]) {
    	case siteResyncMetaFormat:
    	default:
    		return rs, fmt.Errorf("resyncMeta: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case siteResyncMetaVersion:
    	default:
    		return rs, fmt.Errorf("resyncMeta: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    	}
    	// OK, parse data.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  5. 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)
  6. cmd/data-usage-cache_gen.go

    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *dataUsageEntry) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(10)
    	var zb0001Mask uint16 /* 10 bits */
    	_ = zb0001Mask
    	if z.ReplicationStats == nil {
    		zb0001Len--
    		zb0001Mask |= 0x80
    	}
    	if z.AllTierStats == nil {
    		zb0001Len--
    		zb0001Mask |= 0x100
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 100.8K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    <pre class="grammar">
    uint8       the set of all unsigned  8-bit integers (0 to 255)
    uint16      the set of all unsigned 16-bit integers (0 to 65535)
    uint32      the set of all unsigned 32-bit integers (0 to 4294967295)
    uint64      the set of all unsigned 64-bit integers (0 to 18446744073709551615)
    
    int8        the set of all signed  8-bit integers (-128 to 127)
    int16       the set of all signed 16-bit integers (-32768 to 32767)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  8. 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)
  9. src/net/http/transport_test.go

    			return
    		}
    		if _, err := io.ReadFull(s, buf[4:ipLen+6]); err != nil {
    			t.Errorf("socks5 proxy address read: %v", err)
    			return
    		}
    		ip := net.IP(buf[4 : ipLen+4])
    		port := binary.BigEndian.Uint16(buf[ipLen+4 : ipLen+6])
    		copy(buf[:3], []byte{5, 0, 0})
    		if _, err := s.Write(buf[:ipLen+6]); err != nil {
    			t.Errorf("socks5 proxy connect write: %v", err)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  10. 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)
Back to top