Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetUint16 (0.15 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ifreq_linux.go

    }
    
    // Uint16 returns the Ifreq union data as a C short/Go uint16 value.
    func (ifr *Ifreq) Uint16() uint16 {
    	return *(*uint16)(unsafe.Pointer(&ifr.raw.Ifru[:2][0]))
    }
    
    // SetUint16 sets a C short/Go uint16 value as the Ifreq's union data.
    func (ifr *Ifreq) SetUint16(v uint16) {
    	ifr.clear()
    	*(*uint16)(unsafe.Pointer(&ifr.raw.Ifru[:2][0])) = v
    }
    
    // Uint32 returns the Ifreq union data as a C int/Go uint32 value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/symbolbuilder.go

    	return sb.AddUintXX(arch, v, arch.PtrSize)
    }
    
    func (sb *SymbolBuilder) SetUint8(arch *sys.Arch, r int64, v uint8) int64 {
    	return sb.setUintXX(arch, r, uint64(v), 1)
    }
    
    func (sb *SymbolBuilder) SetUint16(arch *sys.Arch, r int64, v uint16) int64 {
    	return sb.setUintXX(arch, r, uint64(v), 2)
    }
    
    func (sb *SymbolBuilder) SetUint32(arch *sys.Arch, r int64, v uint32) int64 {
    	return sb.setUintXX(arch, r, uint64(v), 4)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/static/trace_viewer_full.html

    oTypedArray(base64Payload,this.payload_);this.position_=0;},skip(length){this.position_+=length;},decodeUInt8(){const result=this.payload_.getUint8(this.position_,true);this.position_+=1;return result;},decodeUInt16(){const result=this.payload_.getUint16(this.position_,true);this.position_+=2;return result;},decodeUInt32(){const result=this.payload_.getUint32(this.position_,true);this.position_+=4;return result;},decodeUInt64ToString(){const low=this.decodeUInt32();const high=this.decodeUInt32();const...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top