final class io.netty.buffer.PooledUnsafeDirectByteBuf extends io.netty.buffer.PooledByteBuf
{
private static final io.netty.util.internal.ObjectPool RECYCLER;
private long memoryAddress;
static io.netty.buffer.PooledUnsafeDirectByteBuf newInstance(int)
{
int v;
java.lang.Object v;
io.netty.util.internal.ObjectPool v;
v := @parameter: int;
v = <io.netty.buffer.PooledUnsafeDirectByteBuf: io.netty.util.internal.ObjectPool RECYCLER>;
v = virtualinvoke v.<io.netty.util.internal.ObjectPool: java.lang.Object get()>();
virtualinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: void reuse(int)>(v);
return v;
}
private void <init>(io.netty.util.internal.ObjectPool$Handle, int)
{
int v;
io.netty.buffer.PooledUnsafeDirectByteBuf v;
io.netty.util.internal.ObjectPool$Handle v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: io.netty.util.internal.ObjectPool$Handle;
v := @parameter: int;
specialinvoke v.<io.netty.buffer.PooledByteBuf: void <init>(io.netty.util.internal.ObjectPool$Handle,int)>(v, v);
return;
}
void init(io.netty.buffer.PoolChunk, java.nio.ByteBuffer, long, int, int, int, io.netty.buffer.PoolThreadCache)
{
long v;
java.nio.ByteBuffer v;
io.netty.buffer.PoolThreadCache v;
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v, v;
io.netty.buffer.PoolChunk v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: io.netty.buffer.PoolChunk;
v := @parameter: java.nio.ByteBuffer;
v := @parameter: long;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v := @parameter: io.netty.buffer.PoolThreadCache;
specialinvoke v.<io.netty.buffer.PooledByteBuf: void init(io.netty.buffer.PoolChunk,java.nio.ByteBuffer,long,int,int,int,io.netty.buffer.PoolThreadCache)>(v, v, v, v, v, v, v);
specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: void initMemoryAddress()>();
return;
}
void initUnpooled(io.netty.buffer.PoolChunk, int)
{
int v;
io.netty.buffer.PoolChunk v;
io.netty.buffer.PooledUnsafeDirectByteBuf v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: io.netty.buffer.PoolChunk;
v := @parameter: int;
specialinvoke v.<io.netty.buffer.PooledByteBuf: void initUnpooled(io.netty.buffer.PoolChunk,int)>(v, v);
specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: void initMemoryAddress()>();
return;
}
private void initMemoryAddress()
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v;
java.lang.Object v;
long v, v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v = v.<io.netty.buffer.PooledUnsafeDirectByteBuf: java.lang.Object memory>;
v = staticinvoke <io.netty.util.internal.PlatformDependent: long directBufferAddress(java.nio.ByteBuffer)>(v);
v = v.<io.netty.buffer.PooledUnsafeDirectByteBuf: int offset>;
v = v + v;
v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long memoryAddress> = v;
return;
}
protected java.nio.ByteBuffer newInternalNioBuffer(java.nio.ByteBuffer)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
java.nio.ByteBuffer v, v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: java.nio.ByteBuffer;
v = virtualinvoke v.<java.nio.ByteBuffer: java.nio.ByteBuffer duplicate()>();
return v;
}
public boolean isDirect()
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
return 1;
}
protected byte _getByte(int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
byte v;
int v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
v = staticinvoke <io.netty.buffer.UnsafeByteBufUtil: byte getByte(long)>(v);
return v;
}
protected short _getShort(int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
short v;
int v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
v = staticinvoke <io.netty.buffer.UnsafeByteBufUtil: short getShort(long)>(v);
return v;
}
protected short _getShortLE(int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
short v;
int v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
v = staticinvoke <io.netty.buffer.UnsafeByteBufUtil: short getShortLE(long)>(v);
return v;
}
protected int _getUnsignedMedium(int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
v = staticinvoke <io.netty.buffer.UnsafeByteBufUtil: int getUnsignedMedium(long)>(v);
return v;
}
protected int _getUnsignedMediumLE(int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
v = staticinvoke <io.netty.buffer.UnsafeByteBufUtil: int getUnsignedMediumLE(long)>(v);
return v;
}
protected int _getInt(int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
v = staticinvoke <io.netty.buffer.UnsafeByteBufUtil: int getInt(long)>(v);
return v;
}
protected int _getIntLE(int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
v = staticinvoke <io.netty.buffer.UnsafeByteBufUtil: int getIntLE(long)>(v);
return v;
}
protected long _getLong(int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v;
long v, v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
v = staticinvoke <io.netty.buffer.UnsafeByteBufUtil: long getLong(long)>(v);
return v;
}
protected long _getLongLE(int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v;
long v, v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
v = staticinvoke <io.netty.buffer.UnsafeByteBufUtil: long getLongLE(long)>(v);
return v;
}
public io.netty.buffer.ByteBuf getBytes(int, io.netty.buffer.ByteBuf, int, int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
io.netty.buffer.ByteBuf v;
int v, v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: io.netty.buffer.ByteBuf;
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void getBytes(io.netty.buffer.AbstractByteBuf,long,int,io.netty.buffer.ByteBuf,int,int)>(v, v, v, v, v, v);
return v;
}
public io.netty.buffer.ByteBuf getBytes(int, byte[], int, int)
{
byte[] v;
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void getBytes(io.netty.buffer.AbstractByteBuf,long,int,byte[],int,int)>(v, v, v, v, v, v);
return v;
}
public io.netty.buffer.ByteBuf getBytes(int, java.nio.ByteBuffer)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v;
long v;
java.nio.ByteBuffer v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: java.nio.ByteBuffer;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void getBytes(io.netty.buffer.AbstractByteBuf,long,int,java.nio.ByteBuffer)>(v, v, v, v);
return v;
}
public io.netty.buffer.ByteBuf getBytes(int, java.io.OutputStream, int) throws java.io.IOException
{
java.io.OutputStream v;
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: java.io.OutputStream;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void getBytes(io.netty.buffer.AbstractByteBuf,long,int,java.io.OutputStream,int)>(v, v, v, v, v);
return v;
}
protected void _setByte(int, int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
byte v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setByte(long,int)>(v, v);
return;
}
protected void _setShort(int, int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setShort(long,int)>(v, v);
return;
}
protected void _setShortLE(int, int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setShortLE(long,int)>(v, v);
return;
}
protected void _setMedium(int, int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setMedium(long,int)>(v, v);
return;
}
protected void _setMediumLE(int, int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setMediumLE(long,int)>(v, v);
return;
}
protected void _setInt(int, int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setInt(long,int)>(v, v);
return;
}
protected void _setIntLE(int, int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setIntLE(long,int)>(v, v);
return;
}
protected void _setLong(int, long)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v;
long v, v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: long;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setLong(long,long)>(v, v);
return;
}
protected void _setLongLE(int, long)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v;
long v, v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: long;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setLongLE(long,long)>(v, v);
return;
}
public io.netty.buffer.ByteBuf setBytes(int, io.netty.buffer.ByteBuf, int, int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
io.netty.buffer.ByteBuf v;
int v, v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: io.netty.buffer.ByteBuf;
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setBytes(io.netty.buffer.AbstractByteBuf,long,int,io.netty.buffer.ByteBuf,int,int)>(v, v, v, v, v, v);
return v;
}
public io.netty.buffer.ByteBuf setBytes(int, byte[], int, int)
{
byte[] v;
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setBytes(io.netty.buffer.AbstractByteBuf,long,int,byte[],int,int)>(v, v, v, v, v, v);
return v;
}
public io.netty.buffer.ByteBuf setBytes(int, java.nio.ByteBuffer)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v;
long v;
java.nio.ByteBuffer v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: java.nio.ByteBuffer;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setBytes(io.netty.buffer.AbstractByteBuf,long,int,java.nio.ByteBuffer)>(v, v, v, v);
return v;
}
public int setBytes(int, java.io.InputStream, int) throws java.io.IOException
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v, v;
long v;
java.io.InputStream v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: java.io.InputStream;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
v = staticinvoke <io.netty.buffer.UnsafeByteBufUtil: int setBytes(io.netty.buffer.AbstractByteBuf,long,int,java.io.InputStream,int)>(v, v, v, v, v);
return v;
}
public io.netty.buffer.ByteBuf copy(int, int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
io.netty.buffer.ByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: int;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
v = staticinvoke <io.netty.buffer.UnsafeByteBufUtil: io.netty.buffer.ByteBuf copy(io.netty.buffer.AbstractByteBuf,long,int,int)>(v, v, v, v);
return v;
}
public boolean hasArray()
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
return 0;
}
public byte[] array()
{
java.lang.UnsupportedOperationException v;
io.netty.buffer.PooledUnsafeDirectByteBuf v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>(java.lang.String)>("direct buffer");
throw v;
}
public int arrayOffset()
{
java.lang.UnsupportedOperationException v;
io.netty.buffer.PooledUnsafeDirectByteBuf v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>(java.lang.String)>("direct buffer");
throw v;
}
public boolean hasMemoryAddress()
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
return 1;
}
public long memoryAddress()
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
virtualinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: void ensureAccessible()>();
v = v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long memoryAddress>;
return v;
}
private long addr(int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v;
long v, v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v = v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long memoryAddress>;
v = v + v;
return v;
}
protected io.netty.buffer.SwappedByteBuf newSwappedByteBuf()
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
io.netty.buffer.UnsafeDirectSwappedByteBuf v;
io.netty.buffer.SwappedByteBuf v;
boolean v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v = staticinvoke <io.netty.util.internal.PlatformDependent: boolean isUnaligned()>();
if v == 0 goto label;
v = new io.netty.buffer.UnsafeDirectSwappedByteBuf;
specialinvoke v.<io.netty.buffer.UnsafeDirectSwappedByteBuf: void <init>(io.netty.buffer.AbstractByteBuf)>(v);
return v;
label:
v = specialinvoke v.<io.netty.buffer.PooledByteBuf: io.netty.buffer.SwappedByteBuf newSwappedByteBuf()>();
return v;
}
public io.netty.buffer.ByteBuf setZero(int, int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
v := @parameter: int;
virtualinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: void checkIndex(int,int)>(v, v);
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setZero(long,int)>(v, v);
return v;
}
public io.netty.buffer.ByteBuf writeZero(int)
{
io.netty.buffer.PooledUnsafeDirectByteBuf v;
int v, v, v;
long v;
v := @this: io.netty.buffer.PooledUnsafeDirectByteBuf;
v := @parameter: int;
virtualinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: io.netty.buffer.ByteBuf ensureWritable(int)>(v);
v = v.<io.netty.buffer.PooledUnsafeDirectByteBuf: int writerIndex>;
v = specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf: long addr(int)>(v);
staticinvoke <io.netty.buffer.UnsafeByteBufUtil: void setZero(long,int)>(v, v);
v = v + v;
v.<io.netty.buffer.PooledUnsafeDirectByteBuf: int writerIndex> = v;
return v;
}
static void <clinit>()
{
io.netty.util.internal.ObjectPool v;
io.netty.buffer.PooledUnsafeDirectByteBuf$1 v;
v = new io.netty.buffer.PooledUnsafeDirectByteBuf$1;
specialinvoke v.<io.netty.buffer.PooledUnsafeDirectByteBuf$1: void <init>()>();
v = staticinvoke <io.netty.util.internal.ObjectPool: io.netty.util.internal.ObjectPool newPool(io.netty.util.internal.ObjectPool$ObjectCreator)>(v);
<io.netty.buffer.PooledUnsafeDirectByteBuf: io.netty.util.internal.ObjectPool RECYCLER> = v;
return;
}
}