- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 225 for 0L (0.01 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
// Setup String pipeName = "TestPipe"; long timeout = 0L; FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout); byte[] buffer = new byte[100]; // Execute int bytesEncoded = request.encode(buffer, 0); // Verify assertEquals(0L, SMBUtil.readInt8(buffer, 0));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
sink: Buffer, byteCount: Long, ): Long { require(byteCount >= 0L) { "byteCount < 0: $byteCount" } check(currentPart == this) { "closed" } return source.timeout().intersectWith(timeout) { when (val limit = currentPartBytesRemaining(maxByteCount = byteCount)) { 0L -> -1L // No more bytes in this part. else -> source.read(sink, limit) }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 02:11:14 GMT 2025 - 7.3K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
} /** * Parameterised test for a selection of edge and typical values. */ @ParameterizedTest(name = "Encode and decode {0}") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE }) public void testEncodeWithVariousValues(long val) throws NdrException { NdrHyper hyper = new NdrHyper(val); // Create buffer with extra space for alignmentCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java
final long lastWriteTime, final long lastAccessTime) { this(config, fid, new FileBasicInfo(createTime, lastAccessTime, lastWriteTime, 0L, attributes | 0x80)); } @Override protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = this.getSubCommand(); dstIndex++;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
@Override public int getAttributes() { return 0; } @Override public long getCreateTime() { return 0L; } @Override public long getLastWriteTime() { return 0L; } @Override public long getSize() { return endOfFile; } @Override public String toString() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt
private val delegate: Sink, private val triggerByteCount: Long, private val trigger: () -> Unit, ) : Sink by delegate { private var bytesWritten = 0L override fun write( source: Buffer, byteCount: Long, ) { if (byteCount == 0L) return // Avoid double-triggering. if (bytesWritten == triggerByteCount) { source.skip(byteCount) return }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
void shouldHandleZeroValues() { // Given TestAllocInfo allocInfo = new TestAllocInfo(0L, 0L); // When & Then assertEquals(0L, allocInfo.getCapacity()); assertEquals(0L, allocInfo.getFree()); } @Test @DisplayName("Should handle maximum long values") void shouldHandleMaximumLongValues() {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
when(mockCtx.getConfig()).thenReturn(mock(Configuration.class)); Smb2SessionSetupRequest nextReq = new Smb2SessionSetupRequest(mockCtx, 0, 0, 0L, null); assertEquals(0L, nextReq.getSessionId()); resp.prepare(nextReq); assertEquals(0L, nextReq.getSessionId(), "SessionId should not be propagated before response is received"); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
) : Closeable { private var closed = false private var receivedCloseFrame = false // Stateful data about the current frame. private var opcode = 0 private var frameLength = 0L private var isFinalFrame = false private var isControlFrame = false private var readingCompressedMessage = false private val controlFrameBuffer = Buffer() private val messageFrameBuffer = Buffer()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 10K bytes - Click Count (0)