com.squareup.okhttp.internal.Util.class Maven / Gradle / Ivy
???? 3?
^ ? ?
?
^ ? ? ? ? ?
? ? ?
] ?
? ? ? ? ?
?
]
???????
? ????????
W
!
1"
#$
%& ?
'()
7*
#+,
:-
]./0
12/3
1 ?/4
56
57
589
E ?
5:
E;<
E=
E>
W?
W@
A
B
CD
E
F
GH
WI/JK
L ]M ]N
OP ]QRS InnerClasses EMPTY_BYTE_ARRAY [B EMPTY_STRING_ARRAY [Ljava/lang/String; UTF_8 Ljava/nio/charset/Charset; ()V Code LineNumberTable LocalVariableTable this #Lcom/squareup/okhttp/internal/Util; checkOffsetAndCount (JJJ)V arrayLength J offset count
StackMapTable equal '(Ljava/lang/Object;Ljava/lang/Object;)Z a Ljava/lang/Object; b closeQuietly (Ljava/io/Closeable;)V rethrown Ljava/lang/RuntimeException; closeable Ljava/io/Closeable; ? ? (Ljava/net/Socket;)V e Ljava/lang/AssertionError; socket Ljava/net/Socket; ? (Ljava/net/ServerSocket;)V serverSocket Ljava/net/ServerSocket; closeAll )(Ljava/io/Closeable;Ljava/io/Closeable;)V Ljava/lang/Throwable; thrownT ?
Exceptions discard 0(Lokio/Source;ILjava/util/concurrent/TimeUnit;)Z Ljava/io/IOException; source
Lokio/Source; timeout I timeUnit Ljava/util/concurrent/TimeUnit; ? skipAll
skipBuffer
Lokio/Buffer; Ljava/io/InterruptedIOException; duration now originalDurationUV md5Hex &(Ljava/lang/String;)Ljava/lang/String;
messageDigest Ljava/security/MessageDigest; md5bytes Ljava/lang/Exception; s Ljava/lang/String; shaBase64 sha1Bytes sha1 $(Lokio/ByteString;)Lokio/ByteString; (Ljava/security/NoSuchAlgorithmException; Lokio/ByteString;
immutableList "(Ljava/util/List;)Ljava/util/List; list Ljava/util/List; LocalVariableTypeTable Ljava/util/List; Signature B(Ljava/util/List;)Ljava/util/List; %([Ljava/lang/Object;)Ljava/util/List; elements [Ljava/lang/Object; [TT; 1([TT;)Ljava/util/List; immutableMap (Ljava/util/Map;)Ljava/util/Map; map Ljava/util/Map; Ljava/util/Map; Z(Ljava/util/Map;)Ljava/util/Map;
threadFactory 9(Ljava/lang/String;Z)Ljava/util/concurrent/ThreadFactory; name daemon Z intersect L(Ljava/lang/Class;[Ljava/lang/Object;[Ljava/lang/Object;)[Ljava/lang/Object; arrayType Ljava/lang/Class; first second result Ljava/lang/Class; :(Ljava/lang/Class;[TT;[TT;)[TT; 8([Ljava/lang/Object;[Ljava/lang/Object;)Ljava/util/List; TT;WS 5([TT;[TT;)Ljava/util/List;
hostHeader 1(Lcom/squareup/okhttp/HttpUrl;)Ljava/lang/String; url Lcom/squareup/okhttp/HttpUrl;K toHumanReadableAscii j buffer i length c isAndroidGetsocknameError (Ljava/lang/AssertionError;)Z contains (([Ljava/lang/String;Ljava/lang/String;)Z array value concat :([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
SourceFile Util.java f g (java/lang/ArrayIndexOutOfBoundsExceptionXYTZ g java/lang/RuntimeException java/lang/Exception[ java/lang/AssertionError ? ?\ java/lang/Throwable java/io/IOException java/lang/Error f] ? ?^_`U ?abcde` java/lang/LongVfghijek okio/Bufferlmn goa java/io/InterruptedIOException MD5pqr UTF-8stuvwxyz{ &java/security/NoSuchAlgorithmException $java/io/UnsupportedEncodingException SHA-1|{}~ java/util/ArrayList f?? ? ????? ? java/util/LinkedHashMap f?? ? #com/squareup/okhttp/internal/Util$1 f? ? ?W????????Y????{?? java/lang/StringBuilder?{?? :???{ ????????????{???{ getsockname failed ?? ?Y java/lang/String?? ` a b c??? d e !com/squareup/okhttp/internal/Util java/lang/Object java/io/Closeable okio/Source java/util/concurrent/TimeUnit java/util/List equals (Ljava/lang/Object;)Z close java/net/Socket java/net/ServerSocket (Ljava/lang/Object;)V java/lang/System nanoTime ()J ()Lokio/Timeout; okio/Timeout hasDeadline ()Z deadlineNanoTime toNanos (J)J java/lang/Math min (JJ)J (J)Lokio/Timeout; read (Lokio/Buffer;J)J clear
clearDeadline java/security/MessageDigest getInstance 1(Ljava/lang/String;)Ljava/security/MessageDigest; getBytes (Ljava/lang/String;)[B digest ([B)[B okio/ByteString of ([B)Lokio/ByteString; hex ()Ljava/lang/String; base64 toByteArray ()[B (Ljava/util/Collection;)V java/util/Collections unmodifiableList clone ()Ljava/lang/Object; java/util/Arrays asList (Ljava/util/Map;)V unmodifiableMap (Ljava/lang/String;Z)V size ()I java/lang/reflect/Array newInstance &(Ljava/lang/Class;I)Ljava/lang/Object; toArray (([Ljava/lang/Object;)[Ljava/lang/Object; add com/squareup/okhttp/HttpUrl port scheme defaultPort (Ljava/lang/String;)I host append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString codePointAt (I)I writeUtf8 #(Ljava/lang/String;II)Lokio/Buffer; writeUtf8CodePoint (I)Lokio/Buffer; java/lang/Character charCount readUtf8 getCause ()Ljava/lang/Throwable;
getMessage (Ljava/lang/CharSequence;)Z arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V java/nio/charset/Charset forName .(Ljava/lang/String;)Ljava/nio/charset/Charset; 1 ] ^ ` a b c d e f g h 3 *? ? i
2 3 j k l m n h q ! ? ?? ?? e?? ? Y? ?? i 6 7 9 j ! o p ! q p ! r p s t u h W *+? *? *+? ? ? ? i = j v w x w s @ y z h *? *? ? L+?L?
i E G
K
H I J M j { | } ~ s M B ? y ? h ? *? *? ? L+?
? +?? L+?L? i *
T V \ W X \ Y Z [ ^ j ? ? { | ? ? s K ? B B ? y ? h } *? *? ? L+?L? i e g k h i j m j { | ? ? s K B ? ? ? h PM*? ? N-M+? ?
N,? -M,? ?,?
? ,?
?,? ? ,? ?,? ? ,? ?? Y,? ? i : t v y w x { ~ | } # ? / ? ; ? G ? j 4 ? ? ? ? P v ~ P x ~ N ? ? s ? ? ? ? ?H ? ?
? ? h n
*,? ?N?
i ? ? ? j * ? ?
? ?
? ?
? ? s G ? ? ? h ?
ܸ B*? ? ? *? ? !e? 7*? !,?? ? a? W? Y? :* ? ?? ? "???6 ?? *? ? #W? *? !a? W?:6 ?? *? ? #W? *? !a? W?: ?? *? ? #W? *? !a? W ? : ` ? $ : ` ? ? ? ? ? ? ? i N ? ? ? # ? : ? C ? U ? ] ? ` ? i ? v ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? j H C D ? ? ? * ? ? ? ? ? ? ? ? ? ? ? ? ? p # ? ? p s L ? B? ! ??
? ? ? ?? ?
? ? ? ?? ?
?
? ? h ? #%? &L+*'? (? )M,? *? +?L? Y+? ? , - i ? ? ? ? ? j * ? ? ? a ? ? # ? ? s Y ? ? ? h ? #.? &L+*'? (? )M,? *? /?L? Y+? ? , - i ? ? ? ? ? j * ? ? ? a ? ? # ? ? s Y ? ? ? h ? .? &L+*? 0? )M,? *?L? Y+? ? , i ? ? ? ? ? j * ? ? ? a ? ? ? ? s T ? ? ? h H ? 1Y*? 2? 3? i ? j ? ? ? ? ? ? ? ? ? ? h J *? 4? 5? 6? 3? i ? j ? ? ? ? ? ? ? ? ? h H ? 7Y*? 8? 9? i ? j ? ? ? ? ? ? ? ? ? h >
? :Y*? ;? i ? j
? ?
? ? ? ? h ? +,?