Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 311 for crossed (0.52 sec)

  1. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        }
    
        @Override
        public synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (!this.open) {
                throw new SmbException("Pipe handle already closed");
            }
    
            if (!isOpen()) {
                try (SmbTreeHandleImpl th = ensureTreeConnected()) {
    
                    if (th.isSMB2()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureKeyManager.java

            } catch (Exception e) {
                return false;
            }
        }
    
        private void checkNotClosed() {
            if (closed) {
                throw new IllegalStateException("SecureKeyManager is closed");
            }
        }
    
        // Key rotation configuration
        private long keyRotationIntervalMillis = 3600000L; // 1 hour default
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. .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)
  9. 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)
  10. 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)
Back to top