All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.netty.buffer.UnpooledUnsafeDirectByteBuf.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2?Ccom/groupbyinc/flux/common/netty/buffer/UnpooledUnsafeDirectByteBufGcom/groupbyinc/flux/common/netty/buffer/AbstractReferenceCountedByteBuf UnpooledUnsafeDirectByteBuf.javaalloc:Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;	tmpNioBufLjava/nio/ByteBuffer;capacityI	doNotFreeZbuffer
memoryAddressJ?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;II)V(I)V
java/lang/NullPointerException(Ljava/lang/String;)V
8com/groupbyinc/flux/common/netty/buffer/ByteBufAllocator"java/lang/IllegalArgumentExceptionjava/lang/StringBuilder ()V"
!#initialCapacity: %append-(Ljava/lang/String;)Ljava/lang/StringBuilder;'(
!)(I)Ljava/lang/StringBuilder;'+
!,toString()Ljava/lang/String;./
!0

maxCapacity: 3%initialCapacity(%d) > maxCapacity(%d)5java/lang/Object7java/lang/Integer9valueOf(I)Ljava/lang/Integer;;<
:=java/lang/String?format9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;AB
@C	EallocateDirect(I)Ljava/nio/ByteBuffer;GH
I
setByteBuffer(Ljava/nio/ByteBuffer;Z)VKL
MthisELcom/groupbyinc/flux/common/netty/buffer/UnpooledUnsafeDirectByteBuf;initialCapacitymaxCapacityS(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;I)Vjava/nio/ByteBufferTslice()Ljava/nio/ByteBuffer;VW
UXT(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;IZ)VZ
[
initialBuffer]isDirect()Z_`
Ua%initialBuffer is not a direct buffer.c
isReadOnlye`
Uf$initialBuffer is a read-only buffer.h	remaining()Ijk
Ul
	njava/nio/ByteOrderp
BIG_ENDIANLjava/nio/ByteOrder;rs	qtorder+(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;vw
UxwriterIndex4(I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;z{
|doFree
UI
freeDirect(Ljava/nio/ByteBuffer;)V@com/groupbyinc/flux/common/netty/util/internal/PlatformDependent?freeDirectBuffer??
??		???
?directBufferAddress(Ljava/nio/ByteBuffer;)J??
??	?		?
	?	oldBuffertryFreecheckNewCapacity?
?readerIndex?k
?zk
?position(I)Ljava/nio/Buffer;??
U?
k
U?java/nio/Buffer?limit??
??put,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;??
U?clear()Ljava/nio/Buffer;??
U?setIndex5(II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;??
?	newBuffernewCapacityoldCapacity<()Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;()Ljava/nio/ByteOrder;hasArrayarray()[B'java/lang/UnsupportedOperationException?
direct buffer?
?arrayOffsethasMemoryAddress()JensureAccessible?"
?_getByte(I)Baddr(I)J??
?9com/groupbyinc/flux/common/netty/buffer/UnsafeByteBufUtil?getByte(J)B??
??index	_getShort(I)SgetShort(J)S??
??_getShortLE
getShortLE??
??_getUnsignedMedium(I)IgetUnsignedMedium(J)I??
??_getUnsignedMediumLEgetUnsignedMediumLE??
??_getIntgetInt??
??	_getIntLEgetIntLE??
??_getLonggetLong(J)J??
??
_getLongLE	getLongLE??
??getBytesg(ILcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;q(Lcom/groupbyinc/flux/common/netty/buffer/AbstractByteBuf;JILcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)V??
??dst1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;dstIndexlength8(I[BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;B(Lcom/groupbyinc/flux/common/netty/buffer/AbstractByteBuf;JI[BII)V?
?[BI(ILjava/nio/ByteBuffer;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;S(Lcom/groupbyinc/flux/common/netty/buffer/AbstractByteBuf;JILjava/nio/ByteBuffer;)V?

?	readBytesH(Ljava/nio/ByteBuffer;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;checkReadableBytes
?	?	
_setByte(II)VsetByte(JI)V
?value	_setShortsetShort
?_setShortLE
setShortLE"
?#
_setMedium	setMedium&
?'_setMediumLEsetMediumLE*
?+_setIntsetInt.
?/	_setIntLEsetIntLE2
?3_setLong(IJ)VsetLong(JJ)V78
?9
_setLongLE	setLongLE<8
?=setBytes??
?@srcsrcIndex?
?D?

?FK(ILjava/io/OutputStream;I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;java/io/IOExceptionIU(Lcom/groupbyinc/flux/common/netty/buffer/AbstractByteBuf;JILjava/io/OutputStream;I)V?K
?LoutLjava/io/OutputStream;-(ILjava/nio/channels/GatheringByteChannel;I)I.(ILjava/nio/channels/GatheringByteChannel;IZ)I?Q
R(Ljava/nio/channels/GatheringByteChannel;internalNioBufferUW
V	duplicateXW
UY
??&java/nio/channels/GatheringByteChannel\write(Ljava/nio/ByteBuffer;)I^_]`tmpBufinternal%(ILjava/nio/channels/FileChannel;JI)I&(ILjava/nio/channels/FileChannel;JIZ)I?e
fLjava/nio/channels/FileChannel;java/nio/channels/FileChanneli(Ljava/nio/ByteBuffer;J)I^k
jl,(Ljava/nio/channels/GatheringByteChannel;I)I$(Ljava/nio/channels/FileChannel;JI)I(ILjava/io/InputStream;I)IT(Lcom/groupbyinc/flux/common/netty/buffer/AbstractByteBuf;JILjava/io/InputStream;I)I?q
?rinLjava/io/InputStream;.(ILjava/nio/channels/ScatteringByteChannel;I)I(java/nio/channels/ClosedChannelExceptionw'java/nio/channels/ScatteringByteChannelyread{_z|ignored*Ljava/nio/channels/ClosedChannelException;)Ljava/nio/channels/ScatteringByteChannel;{k
j?nioBufferCount
nioBuffers(II)[Ljava/nio/ByteBuffer;	nioBuffer(II)Ljava/nio/ByteBuffer;??
?copyo(Lcom/groupbyinc/flux/common/netty/buffer/AbstractByteBuf;JII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;??
??
checkIndex?
?
deallocateunwrap3()Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;newSwappedByteBuf:()Lcom/groupbyinc/flux/common/netty/buffer/SwappedByteBuf;isUnaligned?`
??Bcom/groupbyinc/flux/common/netty/buffer/UnsafeDirectSwappedByteBuf?<(Lcom/groupbyinc/flux/common/netty/buffer/AbstractByteBuf;)V?
????
?setZero?
??	writeZeroensureWritable?{
?z	?wIndexCodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
SourceFile!	

	???*?+?
?Y????Y?!Y?$&?*?-?1?2???Y?!Y?$4?*?-?1?2??"?Y6?8Y?>SY?>S?D?2?*+?F**?J?N??*?OP??Q?R?:45	6892;6<Q>V?c@n?uCzD?E??#S?X*+,?Y?\??*OP]	R?
VWZ?v?*?+?
?Y??,?
?Y^??,?b?
?Yd?2?,?g?
?Yi?2?,?m6?#?Y6?8Y?>SY?>S?D?2?*+?F*???o*,?u?y?N*?}W??>?OP??]	?R?~
IMQ?NZ[	\^_!a(b2d9eChIiOj]khjonto?p?q?r?6?U
?+N?UGH?9???OPQ?x???=+????OP	?
?KL??<? *??N-?*?o?*?o?*-??*+??*+????*??*+?m????*	?	<OP<	<?
?.??	?
???!?&?.?3?;???U?_`?,??OP??
k?/*????OP??
{???*??*??=*??>*??6?F*??:*?J:??????W??????W??W??W*?N?]?W*??:*?J:?7?*Y>?}W????W????W??W??W?
*??W*?N*??\	!:?	(3?	jN?	qG?	?OP??
???z???f??
????!?(?7?F?N?T?[?d?j?q?v?{?????????????????^?$UU&???/*?F??OP??v??.?u??OP???`?,??OP?????4
??Y??¿?
OP???k?4
??Y??¿?
OP???`?,??OP????7	*??*????	OP?
?????=	*?θԬ?	OP	??????=	*?θ۬?	OP	??????=	*?θ߬?	OP	??????=	*?θ??	OP	??????=	*?θ??	OP	??????=	*?θ???	OP	??????=	*?θ??	OP	?????=	*?θ???	OP	??	???=	*?θ???	OP	?????f**??,??*??4OP??
??f**??,?*??4OP??
?	?O
**??,?*?? 
OP
?
	?
 
?n +?m=*?**?+?W*Y?`?*??  OP 	?%&
'()?L
*????? 
OP
?
?
.	/?L
*??? ?? 
OP
?
?
3	4!?L
*???$?? 
OP
?
?
8	9%?L
*???(?? 
OP
?
?
=	>)?L
*???,?? 
OP
?
?
B	C-?L
*???0?? 
OP
?
?
G	H1?L
*???4?? 
OP
?
?
L	M56?L
*?? ?:?? 
OP
?
?
Q	R;6?L
*?? ?>?? 
OP
?
?
V	W???f**??,?A*??4OP?BC?
[\??f**??,?E*??4OP?BC?
ab?	?O
**??,?G*?? 
OP
?
B	?
gh?H?Z**??,?M*??*OP?NO?
mn?J?P?Q	*,?S??*	OP	?	NT	?s?J?Q??:*?????*?W:?*???Z:???[`??W,?a??Hb	:OP:?:NT::c
!b	?"wxy
}~?!?1??


?U?J?d?]*,!?g??4OP?Nh????J?e??9*?????
*?W?
*???Z:???[`??W,!?m??H9OP9?9Nh9?99c
 b	???	?? ?1??FU?J
n?q*?**?+?S>*Y?`???*OPNT
??????J
o??#*?**?+ ?g6*Y?`???4#OP#Nh#?#
???? ??J?p?U
**??,?s??*
OP
?
tu
???J?v??'*??*?W:???[`??W,?}?:?"#x?>%~'OP'?'t?'
b	???
??#?%???#zUx?J?d??'*??*?W:???[`??W,!???:?"#x?H%~'OP'?'th'?'
b	???
??#?%???#jUx?J?k?,??OP?????L?UY*??S?? OP??????J**?????? OP???U??]*??*?W???[`???U?? OP??
??UW?f*??L+?**???ZYL??+??OP	???	????U???`*??*???Z??`???U?Y?? OP??
???"?w*??L+??*??*?o?*+????OP	???	?
?????	?
U???,??OP?????<*???a??OP??????O?????Y*???*????OP??????W*??*????*?? OP??	
?{?k*??W*??=*????*`??*?? OP???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy