- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 260 for 0L (0.03 sec)
-
src/test/java/jcifs/smb1/util/HexdumpTest.java
void testToHexStringLong() { // Test zero assertEquals("0000000000000000", Hexdump.toHexString(0L, 16)); assertEquals("00000000", Hexdump.toHexString(0L, 8)); assertEquals("0000", Hexdump.toHexString(0L, 4)); // Test positive values assertEquals("00000000000000FF", Hexdump.toHexString(255L, 16));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
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) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
* @throws CIFSException */ @Test void testGetServerTimeZoneOffset() throws CIFSException { when(smbTreeHandle.getServerTimeZoneOffset()).thenReturn(0L); assertEquals(0L, smbTreeHandle.getServerTimeZoneOffset(), "Server time zone offset should be 0"); when(smbTreeHandle.getServerTimeZoneOffset()).thenReturn(3600000L);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
private val contentLength: Long, private val isSocket: Boolean, ) : 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,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 10.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/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 {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
// We've chosen a connection to evict. Confirm it's still okay to be evicted, then close it. toEvict.withLock { if (toEvict.calls.isNotEmpty()) return 0L // No longer idle. if (toEvict.idleAtNs != toEvictIdleAtNs) return 0L // No longer oldest. toEvict.noNewExchanges = true connections.remove(toEvict) } toEvict.socket().closeQuietly()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 11.1K bytes - Viewed (0) -
android/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); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt
addCode(i, CODES[i], CODE_BIT_COUNTS[i].toInt()) } } @Throws(IOException::class) fun encode( source: ByteString, sink: BufferedSink, ) { var accumulator = 0L var accumulatorBitCount = 0 for (i in 0 until source.size) { val symbol = source[i] and 0xff val code = CODES[symbol] val codeBitCount = CODE_BIT_COUNTS[symbol].toInt()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt
/** Deflates [buffer] in place as described in RFC 7692 section 7.2.1. */ @Throws(IOException::class) fun deflate(buffer: Buffer) { require(deflatedBytes.size == 0L) if (noContextTakeover) { deflater.reset() } deflaterSink.write(buffer, buffer.size) deflaterSink.flush() if (deflatedBytes.endsWith(EMPTY_DEFLATE_BLOCK)) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0)