Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 305 for crossed (0.04 sec)

  1. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            assertTrue(iterator.hasNext());
            assertSame(resource, iterator.next());
            assertFalse(iterator.hasNext());
            assertNull(iterator.next());
    
            // Without filter, resource should not be closed
            verify(resource, never()).close();
        }
    
        @Test
        @DisplayName("Iterator with accepting filter")
        void iteratorWithAcceptingFilter() throws Exception {
            // Setup
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

              .build(),
          )
    
        val exception =
          assertFailsWith<IOException> {
            call2.execute()
          }
        assertThat(exception.message).isIn("Socket closed", "Socket is closed")
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

            ESTABLISHED,
            /** Connection encountered an error */
            ERROR,
            /** Connection is being closed */
            CLOSING,
            /** Connection is closed */
            CLOSED
        }
    
        /** Remote endpoint address */
        protected final InetSocketAddress remoteAddress;
        /** Local endpoint address */
        protected final InetSocketAddress localAddress;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testCopyToAppendable_doesNotCloseIfWriter() throws IOException {
        TestWriter writer = new TestWriter();
        assertFalse(writer.closed());
        source.copyTo(writer);
        assertFalse(writer.closed());
      }
    
      public void testClosesOnErrors_copyingToCharSinkThatThrows() {
        for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbPipeHandleTest.java

            }
    
            /**
             * Verifies that the isOpen method returns false for a closed handle.
             */
            @Test
            public void testIsOpen_ReturnsFalseWhenClosed() {
                when(smbPipeHandle.isOpen()).thenReturn(false);
                assertFalse(smbPipeHandle.isOpen(), "isOpen() should return false when the handle is closed.");
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

        /**
         * Constructs a close response
         *
         * @param config
         *            The configuration to use
         * @param fileId
         *            The file ID that was closed
         * @param fileName
         *            The name of the file that was closed
         */
        public Smb2CloseResponse(final Configuration config, final byte[] fileId, final String fileName) {
            super(config);
            this.fileId = fileId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

        val delegate = delegate
        if (delegate != null) {
          this.delegate = null
          delegate.onClosed(webSocket, code, reason)
        } else {
          events.add(Closed(code, reason))
        }
      }
    
      override fun onFailure(
        webSocket: WebSocket,
        t: Throwable,
        response: Response?,
      ) {
        Platform.get().log("[WS $name] onFailure", Platform.INFO, t)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            assertTrue(ex1.getMessage().contains("Already closed"));
            CIFSException ex2 = assertThrows(CIFSException.class, handle::getOutput, "getOutput after close must throw");
            assertTrue(ex2.getMessage().contains("Already closed"));
        }
    
        @Test
        @DisplayName("ensureOpen opens SMB2 via UNC path and marks open")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testCopyToAppendable_doesNotCloseIfWriter() throws IOException {
        TestWriter writer = new TestWriter();
        assertFalse(writer.closed());
        source.copyTo(writer);
        assertFalse(writer.closed());
      }
    
      public void testClosesOnErrors_copyingToCharSinkThatThrows() {
        for (TestOption option : EnumSet.of(OPEN_THROWS, WRITE_THROWS, CLOSE_THROWS)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/stream/StreamUtil.java

                this.supplier = supplier;
            }
    
            /**
             * Executes the provided {@link Consumer} with a {@link Stream} obtained from the supplier.
             * The stream is automatically closed after the consumer is executed.
             *
             * @param stream the {@link Consumer} to process the {@link Stream}
             */
            public void of(final Consumer<Stream<T>> stream) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top