public final MemoryIO getMemoryIO(long offset) { checkBounds(offset, ADDRESS_SIZE >> 3); return Factory.getInstance().wrapDirectMemory(runtime, getAddress(offset)); }
public final MemoryIO getMemoryIO(long offset) { checkBounds(offset, ADDRESS_SIZE >> 3); return Factory.getInstance().wrapDirectMemory(runtime, getAddress(offset)); }
public final MemoryIO getMemoryIO(long offset) { checkBounds(offset, ADDRESS_SIZE >> 3); return Factory.getInstance().wrapDirectMemory(runtime, getAddress(offset)); }
public final MemoryIO getMemoryIO(long offset) { checkBounds(offset, ADDRESS_SIZE >> 3); return Factory.getInstance().wrapDirectMemory(runtime, getAddress(offset)); }
@JRubyMethod(name = { "initialize" }, visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject address) { setMemoryIO(address instanceof Pointer ? ((Pointer) address).getMemoryIO() : Factory.getInstance().wrapDirectMemory(context.runtime, RubyFixnum.num2long(address))); size = Long.MAX_VALUE; typeSize = 1; return this; }
@JRubyMethod(name = { "initialize" }, visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject address) { setMemoryIO(address instanceof Pointer ? ((Pointer) address).getMemoryIO() : Factory.getInstance().wrapDirectMemory(context.runtime, RubyFixnum.num2long(address))); size = Long.MAX_VALUE; typeSize = 1; return this; }
@JRubyMethod(name = { "initialize" }, visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject address) { setMemoryIO(address instanceof Pointer ? ((Pointer) address).getMemoryIO() : Factory.getInstance().wrapDirectMemory(context.runtime, RubyFixnum.num2long(address))); size = Long.MAX_VALUE; typeSize = 1; return this; }
@JRubyMethod(name = { "initialize" }, visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject address) { setMemoryIO(address instanceof Pointer ? ((Pointer) address).getMemoryIO() : Factory.getInstance().wrapDirectMemory(context.runtime, RubyFixnum.num2long(address))); size = Long.MAX_VALUE; typeSize = 1; return this; }
@JRubyMethod(name = { "initialize" }, visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject type, IRubyObject address) { setMemoryIO(address instanceof Pointer ? ((Pointer) address).getMemoryIO() : Factory.getInstance().wrapDirectMemory(context.runtime, RubyFixnum.num2long(address))); size = Long.MAX_VALUE; typeSize = calculateTypeSize(context, type); return this; }
@JRubyMethod(name = { "initialize" }, visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject type, IRubyObject address) { setMemoryIO(address instanceof Pointer ? ((Pointer) address).getMemoryIO() : Factory.getInstance().wrapDirectMemory(context.runtime, RubyFixnum.num2long(address))); size = Long.MAX_VALUE; typeSize = calculateTypeSize(context, type); return this; }
@JRubyMethod(name = { "initialize" }, visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject type, IRubyObject address) { setMemoryIO(address instanceof Pointer ? ((Pointer) address).getMemoryIO() : Factory.getInstance().wrapDirectMemory(context.runtime, RubyFixnum.num2long(address))); size = Long.MAX_VALUE; typeSize = calculateTypeSize(context, type); return this; }
@JRubyMethod(name = { "initialize" }, visibility = PRIVATE) public IRubyObject initialize(ThreadContext context, IRubyObject type, IRubyObject address) { setMemoryIO(address instanceof Pointer ? ((Pointer) address).getMemoryIO() : Factory.getInstance().wrapDirectMemory(context.runtime, RubyFixnum.num2long(address))); size = Long.MAX_VALUE; typeSize = calculateTypeSize(context, type); return this; }