com.jogamp.common.nio.MappedByteBufferInputStream.class Maven / Gradle / Ivy
The newest version!
???? 4? ?
? ?
R ?
?
?
?
? ?
!
?"#$% ?&
'( ?)* ?+, ?-./0 ?1
23 ?45 ?6789 ?:;
? ?<=>
2?????????
?@ ?A
?B
SC ?DE FG
?H
?I ?J
?K ?L ?MN
?
?O
?P
?Q
?QRST
K? UV
WX ?Y
?Z[\
S]
^_
F`
?a
^b
?cd
?e ?f
?g
?hi
_j ?k
?l
?mno
epqr
gs
g ?t
?u
Rvwxyz
q?{
S|
}~
?? ??????
S????
^?
S??
???
??
S?
??
S??
?????
??
S??
S???
S?
S?
S?
S?
S?
S??
?
W?
W??
????? FileResizeOp InnerClasses? CacheMode NoFileResize @Lcom/jogamp/common/nio/MappedByteBufferInputStream$FileResizeOp; DEFAULT_SLICE_SHIFT I DEBUG Z
sliceShift fc Ljava/nio/channels/FileChannel; mmode? MapMode 'Ljava/nio/channels/FileChannel$MapMode; fileResizeOp
sliceCount slices [Ljava/nio/ByteBuffer; slices2GC [Ljava/lang/ref/WeakReference; Signature 5[Ljava/lang/ref/WeakReference; totalSize J
slicesEntries slices2GCEntries synchronous refCount cmode =Lcom/jogamp/common/nio/MappedByteBufferInputStream$CacheMode; sliceIdx mark dbgDump *(Ljava/lang/String;Ljava/io/PrintStream;)V Code LineNumberTable
StackMapTable?? ?(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileChannel$MapMode;Lcom/jogamp/common/nio/MappedByteBufferInputStream$CacheMode;IJI)V?
Exceptions ?(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileChannel$MapMode;Lcom/jogamp/common/nio/MappedByteBufferInputStream$CacheMode;I)V ?(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileChannel$MapMode;Lcom/jogamp/common/nio/MappedByteBufferInputStream$CacheMode;)V "(Ljava/nio/channels/FileChannel;)V setSynchronous (Z)V getSynchronous ()Z checkOpen ()V close
getMapMode )()Ljava/nio/channels/FileChannel$MapMode; setFileResizeOp C(Lcom/jogamp/common/nio/MappedByteBufferInputStream$FileResizeOp;)V setLength (J)V notifyLengthChange notifyLengthChangeImpl (JJ)V ? ? flush flushImpl (ZZ)V getOutputStream v(Lcom/jogamp/common/nio/MappedByteBufferInputStream$FileResizeOp;)Lcom/jogamp/common/nio/MappedByteBufferOutputStream; currentSlice ()Ljava/nio/ByteBuffer; nextSlice flushSlices syncSlice (Ljava/nio/ByteBuffer;)V (Ljava/nio/ByteBuffer;Z)V
flushSlice (IZ)V cleanAllSlices
cleanSlice cleanBuffer (Ljava/nio/ByteBuffer;Z)Z getCacheMode ?()Lcom/jogamp/common/nio/MappedByteBufferInputStream$CacheMode; length ()J remaining available ()I position 6(J)Lcom/jogamp/common/nio/MappedByteBufferInputStream; position2
markSupported (I)V reset skip (J)J read ([BII)I (Ljava/nio/ByteBuffer;I)I
SourceFile MappedByteBufferInputStream.java ? ? ? ? ? ??? ? ?? ?? ? java/io/IOException? ? ? ? ? ? ? ? java/lang/StringBuilder ? ???
refCount ?? , fcSize ?? , totalSize ????
position , remaining mmode ? ??? , cmode ? ? , fileResizeOp ? ? slice ? ? / ( ), synchronous ? ??? mapped ? ? GC-queue ? ? (alive ) sliceShift ? ? -> ? ? "java/lang/IllegalArgumentException Negative size ?? ? ? ? ? ? ? ?? ? ? CTOR??? ? ? ? ? ? ? ? ?? ?? ?
stream closed ? ? ? ? ? ? Close java/lang/IllegalStateException ,FileResizeOp already set, this value differs?????? ? ? ? ? java/lang/ref/WeakReference java/nio/ByteBuffer??????? ? ??? ? NotifyLengthChange ? ?? ? ? ?? ? 2com/jogamp/common/nio/MappedByteBufferOutputStream ??? ??? ? ? FlushSlices java/nio/MappedByteBuffer?? java/lang/Throwable Caught ??? ? ? ? ?? mappedSliceCount , slices2GCEntries : java/lang/InternalError XXX? ???? ? ? java/lang/Integer ? ?
new position not within [0.. ]??? ? java/lang/RuntimeException ?? mark not set ? ? ? ? ??? java/lang/NullPointerException #java/lang/IndexOutOfBoundsException offset , length , b.length ? ? Unexpected EOT?? length , b ? ???? ???? ??? 3com/jogamp/common/nio/MappedByteBufferInputStream$1? ?? ? ByteBufferInputStream??? 1com/jogamp/common/nio/MappedByteBufferInputStream java/io/InputStream >com/jogamp/common/nio/MappedByteBufferInputStream$FileResizeOp ;com/jogamp/common/nio/MappedByteBufferInputStream$CacheMode %java/nio/channels/FileChannel$MapMode java/lang/String java/io/PrintStream java/nio/channels/FileChannel get ()Ljava/lang/Object; isOpen size printStackTrace append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; (J)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; println (Ljava/lang/String;)V -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Z)Ljava/lang/StringBuilder; (I)Ljava/nio/Buffer; java/lang/System err Ljava/io/PrintStream; READ_ONLY FLUSH_PRE_HARD $com/jogamp/common/os/Platform$OSType OSType WINDOWS &Lcom/jogamp/common/os/Platform$OSType; com/jogamp/common/os/Platform getOSType (()Lcom/jogamp/common/os/Platform$OSType; allocate (I)Ljava/nio/ByteBuffer; java/lang/Math min (II)I arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V (JJ)J
READ_WRITE force v(Lcom/jogamp/common/nio/MappedByteBufferInputStream;Lcom/jogamp/common/nio/MappedByteBufferInputStream$FileResizeOp;)V FLUSH_PRE_SOFT map F(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer; ()Ljava/nio/MappedByteBuffer;
getMessage
FLUSH_NONE (Ljava/lang/Object;)V isDirect? %com/jogamp/common/nio/Buffers$Cleaner Cleaner clean (Ljava/nio/ByteBuffer;)Z max capacity (Ljava/lang/Throwable;)V hasRemaining ()B ([BII)Ljava/nio/ByteBuffer; hasArray array ()[B arrayOffset put ,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; limit
initSingleton is32Bit jogamp/common/Debug debug (Ljava/lang/String;)Z com/jogamp/common/nio/Buffers ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ) ? ? ? ?
>6*? ? *? 2? ?????666*? ? '*? 2:? ?? ? ????? 7 7 7
*? ? ? *? ? 7?
:? *?
? *? 7*? e7
?
:? *? ? *? ?? 6,?
Y? +? ? *?
? ? ? ? *? ? ? ? ,?
Y? +? ? ? ?
? ? ? ,?
Y? +? ? *? ? ? *? ? ? *? ? ? ? ,?
Y? +? ? *? !? "? *? ? #? ? $? *? %? &? ? ,?
Y? +? '? *? (? "? ? ? ? ,?
Y? +? )? *? *? "? ? +? ? ,? ? ? ,?
Y? +? -? *? .? /?
*? .y? ? ? ? k t w ? ? ? ? ? # ? ? ? ? ? " ? % ? ( ? 4 ? = ? C ? F ? O ? R ? X ? a ? k ? t ? w ? y ? ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?B ?? ?? ?? ? ? ? 7 ? ? ? &? ? ? ? ? Y @ ? ? ? ? ?*? 0*? 1? *? .*+? *,? ?? ? 2Y?
Y? 3? ? ? ? 4?* 5? *? *? 7*?
*-? *? !* 5? 8*? 9? :W? ;? *? ? J ? ? ? ? ? ? " ? > ? E ? J ? P ? U ? Z ? ` ? g ? p ? v ? ? ? ? > ? ? ? ? ? @ ? ? ? ? + *+,-+? ? ?? ?
? ? ? ? ? ? ' *+,-? @? A? ?
? ? ? ? + *+? B? C? @? A? ?
? 1 ? ? ? " *? %? ?
+ , 1 ? ? ? *? %? ? 1 0 ? ? ? <