- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 214 for 0L (2.98 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
val buffer = Buffer() var receivedByteCount = 0L @Throws(IOException::class) override fun write( source: Buffer, byteCount: Long, ) { val toRead = minOf(remainingByteCount, byteCount) if (toRead > 0L) { source.read(buffer, toRead) } val toSkip = byteCount - toRead if (toSkip > 0L) { source.skip(toSkip) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 37.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LongMathTest.java
for (RoundingMode mode : ALL_ROUNDING_MODES) { assertEquals(0L, LongMath.divide(0L, q, mode)); } } } @GwtIncompatible // TODO public void testDivByZeroAlwaysFails() { for (long p : ALL_LONG_CANDIDATES) { for (RoundingMode mode : ALL_ROUNDING_MODES) { try { LongMath.divide(p, 0L, mode); fail("Expected ArithmeticException");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
delegate: Source, private val contentLength: Long, ) : ForwardingSource(delegate) { private var bytesReceived = 0L private var invokeStartEvent = true private var completed = false private var closed = false init { if (contentLength == 0L) { complete(null) } } @Throws(IOException::class) override fun read( sink: Buffer,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.2K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt
override val isReady: Boolean get() = connectState == ConnectState.TLS_CONNECTED var tcpConnectDelayNanos = 0L var tcpConnectThrowable: Throwable? = null var yieldBeforeTcpConnectReturns = false var connectTcpNextPlan: FakePlan? = null var tlsConnectDelayNanos = 0L var tlsConnectThrowable: Throwable? = null var connectTlsNextPlan: FakePlan? = null fun createRetry(): FakePlan {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 24 04:40:49 GMT 2024 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LongAdder.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 5.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
for (RoundingMode mode : ALL_ROUNDING_MODES) { assertEquals(0L, LongMath.divide(0L, q, mode)); } } } @GwtIncompatible // TODO public void testDivByZeroAlwaysFails() { for (long p : ALL_LONG_CANDIDATES) { for (RoundingMode mode : ALL_ROUNDING_MODES) { try { LongMath.divide(p, 0L, mode); fail("Expected ArithmeticException");
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
public void testFlatMapToLong_nullStream() { SpliteratorTester.ofLong( () -> CollectSpliterators.flatMapToLong( Arrays.spliterator(new Long[] {1L, 0L, 1L, 2L, 3L}), (Long i) -> i == 0L ? null : LongStream.of(i).spliterator(), Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL, 4)) .expect(1L, 1L, 2L, 3L); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
} } internal fun checkDuration( name: String, duration: Long, unit: TimeUnit, ): Int { check(duration >= 0L) { "$name < 0" } val millis = unit.toMillis(duration) require(millis <= Integer.MAX_VALUE) { "$name too large" } require(millis != 0L || duration <= 0L) { "$name too small" } return millis.toInt() } internal fun checkDuration( name: String, duration: Duration, ): Int {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
fail(); } catch (IllegalArgumentException expected) { } } public void testCheckPositive_zeroLong() { try { MathPreconditions.checkPositive("long", 0L); fail(); } catch (IllegalArgumentException expected) { } } public void testCheckPositive_maxLong() { MathPreconditions.checkPositive("long", Long.MAX_VALUE); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
.add("Content-Length", "0") this.trailers = Headers.Builder() this.throttleBytesPerPeriod = Long.MAX_VALUE this.throttlePeriodNanos = 0L this.socketPolicy = KeepOpen this.bodyDelayNanos = 0L this.headersDelayNanos = 0L this.pushPromises = mutableListOf() this.settings = Settings() } internal constructor(mockResponse: MockResponse) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 13.3K bytes - Viewed (1)