- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for SetUint32 (0.26 sec)
-
misc/wasm/wasm_exec.js
const setInt64 = (addr, v) => { this.mem.setUint32(addr + 0, v, true); this.mem.setUint32(addr + 4, Math.floor(v / 4294967296), true); } const setInt32 = (addr, v) => { this.mem.setUint32(addr + 0, v, true); } const getInt64 = (addr) => { const low = this.mem.getUint32(addr + 0, true); const high = this.mem.getInt32(addr + 4, true); return low + high * 4294967296; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 17:47:47 UTC 2023 - 16.3K bytes - Viewed (0) -
src/cmd/link/internal/mips64/asm.go
return } // Load resolver address from got[0] into r25. plt.AddSymRef(ctxt.Arch, gotplt.Sym(), 0, objabi.R_ADDRMIPSU, 4) plt.SetUint32(ctxt.Arch, plt.Size()-4, 0x3c0e0000) // lui $14, %hi(&GOTPLT[0]) plt.AddSymRef(ctxt.Arch, gotplt.Sym(), 0, objabi.R_ADDRMIPS, 4) plt.SetUint32(ctxt.Arch, plt.Size()-4, 0xddd90000) // ld $25, %lo(&GOTPLT[0])($14) // Load return address into r15, the index of the got.plt entry into r24, then
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:58:20 UTC 2023 - 11K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
} off = sb.SetUint32(ctxt.Arch, off, args) // deferreturn deferreturn := computeDeferReturn(ctxt, deferReturnSym, s) off = sb.SetUint32(ctxt.Arch, off, deferreturn) // pcdata if fi.Valid() { off = sb.SetUint32(ctxt.Arch, off, uint32(ldr.SymValue(pcsp))) off = sb.SetUint32(ctxt.Arch, off, uint32(ldr.SymValue(pcfile))) off = sb.SetUint32(ctxt.Arch, off, uint32(ldr.SymValue(pcline)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ifreq_linux.go
// Uint32 returns the Ifreq union data as a C int/Go uint32 value. func (ifr *Ifreq) Uint32() uint32 { return *(*uint32)(unsafe.Pointer(&ifr.raw.Ifru[:4][0])) } // SetUint32 sets a C int/Go uint32 value as the Ifreq's union data. func (ifr *Ifreq) SetUint32(v uint32) { ifr.clear() *(*uint32)(unsafe.Pointer(&ifr.raw.Ifru[:4][0])) = v } // clear zeroes the ifreq's union field to prevent trailing garbage data from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 4.3K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
initfunc.SetUint32(ctxt.Arch, sz-8, OP_PLD_PFX_PCREL) initfunc.SetUint32(ctxt.Arch, sz-4, OP_PLD_SFX|(3<<21)) // pld r3, local.moduledata@got@pcrel } // Call runtime.addmoduledata sz := initfunc.AddSymRef(ctxt.Arch, addmoduledata, 0, objabi.R_CALLPOWER, 4) initfunc.SetUint32(ctxt.Arch, sz-4, OP_BL) // bl runtime.addmoduledata
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
src/cmd/link/internal/riscv64/asm.go
plt.AddSymRef(ctxt.Arch, sb.Sym(), 0, objabi.R_RISCV_PCREL_LO12_I, 4) plt.SetUint32(ctxt.Arch, plt.Size()-4, 0x0003be03) // ld t3,0(t2) plt.AddUint32(ctxt.Arch, 0xfd430313) // addi t1,t1,-44 plt.AddSymRef(ctxt.Arch, sb.Sym(), 0, objabi.R_RISCV_PCREL_LO12_I, 4) plt.SetUint32(ctxt.Arch, plt.Size()-4, 0x00038293) // addi t0,t2,0 plt.AddUint32(ctxt.Arch, 0x00135313) // srli t1,t1,0x1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 01 08:06:08 UTC 2024 - 22.8K bytes - Viewed (0) -
src/cmd/link/internal/arm64/asm.go
// adrp x16, &got[0] plt.AddSymRef(ctxt.Arch, gotplt.Sym(), 16, objabi.R_ARM64_GOT, 4) plt.SetUint32(ctxt.Arch, plt.Size()-4, 0x90000010) // <imm> is the offset value of &got[2] to &got[0], the same below // ldr x17, [x16, <imm>] plt.AddSymRef(ctxt.Arch, gotplt.Sym(), 16, objabi.R_ARM64_GOT, 4) plt.SetUint32(ctxt.Arch, plt.Size()-4, 0xf9400211) // add x16, x16, <imm>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 20:09:45 UTC 2024 - 47K bytes - Viewed (0) -
src/cmd/link/internal/loader/symbolbuilder.go
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) } func (sb *SymbolBuilder) SetUint(arch *sys.Arch, r int64, v uint64) int64 { return sb.setUintXX(arch, r, v, int64(arch.PtrSize))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 15:25:19 UTC 2023 - 13.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
lsu.SetUint(d.arch, unitLengthOffset+4, uint64(unitlen)) // +4 because of 0xFFFFFFFF lsu.SetUint(d.arch, headerLengthOffset, uint64(headerend-headerstart)) } else { lsu.SetUint32(d.arch, unitLengthOffset, uint32(unitlen)) lsu.SetUint32(d.arch, headerLengthOffset, uint32(headerend-headerstart)) } return syms } // writepcranges generates the DW_AT_ranges table for compilation unit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
t8(){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 lowStr=('0000000'+low.toString(16)).substr(-8);const highStr=('0000000'+high.toString(16)).substr(-8);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)