public IRubyObject get(ThreadContext context, StructLayout.Storage cache, Member m, AbstractMemory ptr) { IRubyObject s = cache.getCachedValue(m); if (s == null) { s = isCharArray() ? new StructLayout.CharArrayProxy(context.runtime, ptr, m.offset, arrayType, op) : new StructLayout.ArrayProxy(context.runtime, ptr, m.offset, arrayType, op); cache.putCachedValue(m, s); } return s; }
public IRubyObject get(ThreadContext context, StructLayout.Storage cache, Member m, AbstractMemory ptr) { IRubyObject s = cache.getCachedValue(m); if (s == null) { s = isCharArray() ? new StructLayout.CharArrayProxy(context.runtime, ptr, m.offset, arrayType, op) : new StructLayout.ArrayProxy(context.runtime, ptr, m.offset, arrayType, op); cache.putCachedValue(m, s); } return s; }
@Override IRubyObject get(ThreadContext context, AbstractMemory ptr, long offset) { return isCharArray() ? new StructLayout.CharArrayProxy(context.runtime, ptr, offset, arrayType, op) : new StructLayout.ArrayProxy(context.runtime, ptr, offset, arrayType, op); }
@Override IRubyObject get(ThreadContext context, AbstractMemory ptr, long offset) { return isCharArray() ? new StructLayout.CharArrayProxy(context.runtime, ptr, offset, arrayType, op) : new StructLayout.ArrayProxy(context.runtime, ptr, offset, arrayType, op); }
public IRubyObject get(ThreadContext context, StructLayout.Storage cache, Member m, AbstractMemory ptr) { IRubyObject s = cache.getCachedValue(m); if (s == null) { s = isCharArray() ? new StructLayout.CharArrayProxy(context.runtime, ptr, m.offset, arrayType, op) : new StructLayout.ArrayProxy(context.runtime, ptr, m.offset, arrayType, op); cache.putCachedValue(m, s); } return s; }
@Override IRubyObject get(ThreadContext context, AbstractMemory ptr, long offset) { return isCharArray() ? new StructLayout.CharArrayProxy(context.runtime, ptr, offset, arrayType, op) : new StructLayout.ArrayProxy(context.runtime, ptr, offset, arrayType, op); }
public IRubyObject get(ThreadContext context, StructLayout.Storage cache, Member m, AbstractMemory ptr) { IRubyObject s = cache.getCachedValue(m); if (s == null) { s = isCharArray() ? new StructLayout.CharArrayProxy(context.runtime, ptr, m.offset, arrayType, op) : new StructLayout.ArrayProxy(context.runtime, ptr, m.offset, arrayType, op); cache.putCachedValue(m, s); } return s; }
@Override IRubyObject get(ThreadContext context, AbstractMemory ptr, long offset) { return isCharArray() ? new StructLayout.CharArrayProxy(context.runtime, ptr, offset, arrayType, op) : new StructLayout.ArrayProxy(context.runtime, ptr, offset, arrayType, op); }