- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 237 for CLOSED (0.13 sec)
-
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
target.close(); CIFSException e1 = assertThrows(SmbException.class, target::getInput); assertTrue(e1.getMessage().contains("Already closed")); CIFSException e2 = assertThrows(SmbException.class, target::getOutput); assertTrue(e2.getMessage().contains("Already closed")); } @Test @DisplayName("ensureOpen throws after close() is called") void testEnsureOpenAfterClose() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
/** All pipe instances are busy */ int NT_STATUS_PIPE_BUSY = 0xC00000ae; /** No process is on the other end of the pipe */ int NT_STATUS_PIPE_DISCONNECTED = 0xC00000b0; /** The pipe is being closed */ int NT_STATUS_PIPE_CLOSING = 0xC00000b1; /** Waiting for a process to open the other end of the pipe */ int NT_STATUS_PIPE_LISTENING = 0xC00000b3; /** The file that was specified is a directory */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt
assertThat(source1.readUtf8(10)).isEqualTo("abcdefghij") assertThat(source1.exhausted()).isTrue() source1.close() assertThat(relay1.isClosed).isTrue() // Since relay1 is closed, new sources cannot be created. assertThat(relay1.newSource()).isNull() val relay2 = read(file) assertThat(relay2.metadata()).isEqualTo(metadata) val source2 = relay2.newSource()!!.buffer()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
Arguments.of(WinError.ERROR_PIPE_BUSY, "All pipe instances are busy."), Arguments.of(WinError.ERROR_NO_DATA, "The pipe is being closed."), Arguments.of(WinError.ERROR_PIPE_NOT_CONNECTED, "No process is on the other end of the pipe."), Arguments.of(WinError.ERROR_MORE_DATA, "More data is available."),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
// After close, file should report as not open // Mock the read to throw an exception when file is closed doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { throw new SmbException("File closed"); } }).when(smbFile).send(any(SmbComReadAndX.class), any(SmbComReadAndXResponse.class));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
writerClosed = true } } @Throws(IOException::class) private fun writeControlFrame( opcode: Int, payload: ByteString, ) { if (writerClosed) throw IOException("closed") val length = payload.size require(length <= PAYLOAD_BYTE_MAX) { "Payload size must be less than or equal to $PAYLOAD_BYTE_MAX" } val b0 = B0_FLAG_FIN or opcode
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
assertThrows(SmbUnsupportedOperationException.class, sut::watch); verify(tree, times(1)).close(); } // SMB1 path: on error code 0x10B the handle should be marked closed @Test @DisplayName("watch() SMB1 marks handle closed on error 0x10B") void watch_smb1_marksClosed_onError10B() throws Exception { NotifyResponse resp = mock(NotifyResponse.class); when(resp.isReceived()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/bug_report.md
assignees: '' --- Good bug reports include a failing test! Writing a test helps you to isolate and describe the problem, and it helps us to fix it fast. Bug reports without a failing test or reproduction steps are likely to be closed. Here’s an example test to get you started.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Dec 30 22:44:40 UTC 2018 - 412 bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
} else { openClientSockets.add(socket) serveConnection(nextConnectionIndex++, socket, peek) } } } public override fun close() { if (closed) return closed = true if (!started) return // Nothing to shut down. val serverSocket = this.serverSocket ?: return // If this is null, start() must have failed. // Cause acceptConnections() to break out.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtStatus.java
/** All pipe instances are busy */ int NT_STATUS_PIPE_BUSY = 0xC00000ae; /** No process is on the other end of the pipe */ int NT_STATUS_PIPE_DISCONNECTED = 0xC00000b0; /** The pipe is being closed */ int NT_STATUS_PIPE_CLOSING = 0xC00000b1; /** Waiting for a process to open the other end of the pipe */ int NT_STATUS_PIPE_LISTENING = 0xC00000b3; /** The file that was specified is a directory */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 13.2K bytes - Viewed (0)