- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 139 for 1L (0.01 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
.request(proxyConnectRequest) .protocol(Protocol.HTTP_1_1) .code(HttpURLConnection.HTTP_PROXY_AUTH) .message("Preemptive Authenticate") .sentRequestAtMillis(-1L) .receivedResponseAtMillis(-1L) .header("Proxy-Authenticate", "OkHttp-Preemptive") .build() val authenticatedRequest = route.address.proxyAuthenticator
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 12K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt
* to resolve a concrete type. */ internal data class AnyValue( var tagClass: Int, var tag: Long, var constructed: Boolean = false, var length: Long = -1L, val bytes: ByteString, ) { // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + tagClass
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
sink: Buffer, byteCount: Long, ): Long { require(byteCount >= 0L) { "byteCount < 0: $byteCount" } while (true) { var tryAgain = false var readBytesDelivered = -1L var errorExceptionToDeliver: IOException? = null // 1. Decide what to do in a synchronized block. withLock { val doReadTimeout = doReadTimeout() if (doReadTimeout) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 07 18:57:05 GMT 2025 - 22.4K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt
* * ``` * 0bxx0xxxxx Primitive * 0bxx1xxxxx Constructed * ``` */ var constructed: Boolean, /** Length of the message in bytes, or -1L if its length is unknown at the time of encoding. */ var length: Long, ) { val isEndOfData: Boolean get() = tagClass == TAG_CLASS_UNIVERSAL && tag == TAG_END_OF_CONTENTSCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt
override fun read( sink: Buffer, byteCount: Long, ): Long { val buffer = Buffer() val read = delegate.read(buffer, byteCount) if (read != -1L) { sink.write(buffer.readByteString().toAsciiUppercase()) } return read } } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
} assertCastFails(GREATEST + 1L); assertCastFails(LEAST - 1L); assertCastFails(Long.MAX_VALUE); assertCastFails(Long.MIN_VALUE); } public void testSaturatedCast() { for (short value : VALUES) { assertThat(Shorts.saturatedCast((long) value)).isEqualTo(value); } assertThat(Shorts.saturatedCast(GREATEST + 1L)).isEqualTo(GREATEST);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 27.5K bytes - Click Count (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
requestBody.contentType()?.let { if (headers["Content-Type"] == null) { logger.log("Content-Type: $it") } } if (requestBody.contentLength() != -1L) { if (headers["Content-Length"] == null) { logger.log("Content-Length: ${requestBody.contentLength()}") } } } for (i in 0 until headers.size) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LongAdder.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt
return byteCount } override fun close() { } override fun timeout() = Timeout.NONE } assertThat(unlimitedSource.buffer().isProbablyUtf8(1L)).isTrue() assertThat(unlimitedSource.buffer().isProbablyUtf8(1024L)).isTrue() assertThat(unlimitedSource.buffer().isProbablyUtf8(1024L * 1024L)).isTrue() }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* prefix, or when one array is a prefix of the other, treats the shorter array as the lesser. For * example, {@code [] < [1L] < [1L, 2L] < [2L] < [1L << 63]}. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link Arrays#equals(long[],Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 17.8K bytes - Click Count (0)