okhttp3.internal.cache2.Relay.class Maven / Gradle / Ivy
???? 4 okhttp3/internal/cache2/Relay java/lang/Object upstreamReader Ljava/lang/Thread; $Lorg/jetbrains/annotations/Nullable; getUpstreamReader ()Ljava/lang/Thread;
this Lokhttp3/internal/cache2/Relay; setUpstreamReader (Ljava/lang/Thread;)V upstreamBuffer
Lokio/Buffer; #Lorg/jetbrains/annotations/NotNull; getUpstreamBuffer ()Lokio/Buffer; complete Z getComplete ()Z setComplete (Z)V buffer getBuffer " sourceCount I getSourceCount ()I $ % ( setSourceCount (I)V isClosed file Ljava/io/RandomAccessFile; - . / writeHeader (Lokio/ByteString;JJ)V java/io/IOException 3 okio/Buffer 5 ()V 7 8
6 9 write (Lokio/ByteString;)Lokio/Buffer; ; <
6 = writeLong (J)Lokio/Buffer; ? @
6 A size ()J C D
6 E Failed requirement. I "java/lang/IllegalArgumentException K toString ()Ljava/lang/String; M N
O (Ljava/lang/String;)V 7 Q
L R java/lang/Throwable T $okhttp3/internal/cache2/FileOperator V kotlin/jvm/internal/Intrinsics X checkNotNull (Ljava/lang/Object;)V Z [
Y \ java/io/RandomAccessFile ^
getChannel !()Ljava/nio/channels/FileChannel; ` a
_ b file!!.channel d checkNotNullExpressionValue '(Ljava/lang/Object;Ljava/lang/String;)V f g
Y h "(Ljava/nio/channels/FileChannel;)V 7 j
W k (JLokio/Buffer;J)V ; m
W n $this$apply &$i$a$-apply-Relay$writeHeader$header$1 fileOperator &Lokhttp3/internal/cache2/FileOperator; header prefix Lokio/ByteString; upstreamSize J metadataSize okio/ByteString z
writeMetadata (J)V metadata ~ v C '
{ ? metadataBuffer commit | }
? java/nio/channels/FileChannel ? force ?
? ? PREFIX_CLEAN ? v ? 1 2
? kotlin/Unit ? INSTANCE
Lkotlin/Unit; ? ? ? ? upstream
Lokio/Source; ? ? ? java/io/Closeable ? okhttp3/internal/Util ? closeQuietly (Ljava/io/Closeable;)V ? ?
? ? okio/Source ? !$i$a$-synchronized-Relay$commit$1 ()Lokio/ByteString; newSource ()Lokio/Source; )okhttp3/internal/cache2/Relay$RelaySource ? "(Lokhttp3/internal/cache2/Relay;)V 7 ?
? ? $$i$a$-synchronized-Relay$newSource$1 getFile ()Ljava/io/RandomAccessFile; setFile (Ljava/io/RandomAccessFile;)V getUpstream setUpstream (Lokio/Source;)V upstreamPos getUpstreamPos ? x ? setUpstreamPos
bufferMaxSize getBufferMaxSize ? x ? =(Ljava/io/RandomAccessFile;Lokio/Source;JLokio/ByteString;J)V
9 SOURCE_UPSTREAM SOURCE_FILE Lkotlin/jvm/JvmField; PREFIX_DIRTY FILE_HEADER_SIZE Companion )Lokhttp3/internal/cache2/Relay$Companion; k(Ljava/io/RandomAccessFile;Lokio/Source;JLokio/ByteString;JLkotlin/jvm/internal/DefaultConstructorMarker;)V 7 ?
? $constructor_marker .Lkotlin/jvm/internal/DefaultConstructorMarker; access$writeHeader 5(Lokhttp3/internal/cache2/Relay;Lokio/ByteString;JJ)V $this Lkotlin/Metadata; mv bv k d1??L
??
??
??
??
??
?? :20::;B30000
0¢J203240J0 J50J 603270 240280HJ903240HR0
¢
??R
0¢
??R0X¢
??"R0X¢
??"R08F¢R0 X¢
??R0X¢
?? "!"R0X¢
??#$"%&R'0
¢
??(R0X¢
??)"*+R,0-X¢
??./"01¨< d2 RelaySource okhttp 'okhttp3/internal/cache2/Relay$Companion ? 1(Lkotlin/jvm/internal/DefaultConstructorMarker;)V 7 ?
? ? ? ? ? Lokio/ByteString$Companion; ? ? { ? OkHttp cache v1
? okio/ByteString$Companion ?
encodeUtf8 %(Ljava/lang/String;)Lokio/ByteString; ? ?
? ? OkHttp DIRTY :(
? ? v ? Relay.kt RuntimeInvisibleAnnotations
ConstantValue Code LineNumberTable LocalVariableTable $RuntimeInvisibleParameterAnnotations
StackMapTable
Exceptions InnerClasses
SourceFile RuntimeVisibleAnnotations 1 ? ? ? $ % - . ? ? ? ? ? x ~ v ? x ? % ? ? ? % ? ? ? v ?
? ? v ?
? ? x ? G ? ? ? / *? ? ? H ?
? ? : *+? ? ? H ?
? ? / *? ? ? N ?
? ? / *? ? ? Q ?
? : *? ? ? Q ?
! ? / *? #? ? T ?
? &