Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Consuming (0.04 sec)

  1. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Read the three data bytes
            assertEquals(1, sis.read());
            assertEquals(2, sis.read());
            assertEquals(3, sis.read());
    
            // After consuming all data, trying to read again will attempt to read
            // another packet header, but since there's no more data, it will throw IOException
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

      }
    
      @Test
      fun trailersWithServerTruncatedResponseHttp2() {
        trailersWithServerTruncatedResponse(Protocol.HTTP_2)
      }
    
      /**
       * If the server closes the connection while the client is consuming the response body, attempts
       * to peek or read the trailers should throw.
       */
      private fun trailersWithServerTruncatedResponse(protocol: Protocol) {
        val responseBody = "a".repeat(OKHTTP_CLIENT_WINDOW_SIZE)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 08 21:45:04 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            assertNotNull(r2, "Second adapted resource must not be null");
            assertTrue(r2.getName().endsWith("/"), "Name should end with '/'");
    
            assertFalse(itr.hasNext(), "No more elements after consuming two");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @DisplayName("Invalid names are skipped; next valid is returned")
        void skipsMalformedNames_thenReturnsValid(String badName) throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * trailers are available to read.
       *
       * It is not safe to call this concurrently with code that is processing the response body. If you
       * call this without consuming the complete response body, any remaining bytes in the response
       * body will be discarded before trailers are returned.
       *
       * If [Call.cancel] is called while this is blocking, this call will immediately throw.
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/transport/Transport.java

         * @throws IOException if an I/O error occurs
         */
        protected abstract void makeKey(Request request) throws IOException;
    
        /**
         * Reads and returns the key of the next message without consuming it.
         *
         * @return the request key of the next message
         * @throws IOException if an I/O error occurs
         */
        protected abstract Request peekKey() throws IOException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            verify(nameFilter, atLeast(1)).accept(eq(parent), nameCaptor.capture());
            assertTrue(nameCaptor.getAllValues().contains(acceptedName));
    
            // After consuming accepted name, iterator should be exhausted and closed
            assertFalse(it.hasNext());
            verify(tree, times(1)).release();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(synStream.associatedStreamId).isEqualTo(-1)
        assertThat(synStream.headerBlock).isEqualTo(headerEntries("a", "artichaut"))
      }
    
      /** A server RST_STREAM shouldn't prevent the client from consuming the response body.  */
      @Test fun serverResponseBodyRstStream() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
        peer.acceptFrame() // SYN_STREAM
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  8. MIGRATION.md

    - **Custom Configurations**: URL patterns, security rules, metadata fields
    - **Search Features**: Facets, suggestions, security filtering, ranking rules
    - **Integration Points**: Applications consuming search APIs
    - **User Permissions**: Access control and label configurations
    
    ### 2. Infrastructure Requirements
    
    Ensure your Fess environment meets these requirements:
    
    - **Java**: JDK 17 or later
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 12:40:11 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.35.md

    - Fixed a bug that prevented allocating the same device that was previously consuming the `CounterSet` when both `DRAConsumableCapacity` and `DRAPartitionableDevices` were enabled. ([#134103](https://github.com/kubernetes/kubernetes/pull/134103), [@sunya-ch](https://github.com/sunya-ch))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 17 13:01:55 UTC 2025
    - 228.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            } catch (final NamingException e) {
                throw new LdapOperationException("Failed to search " + dn, e);
            }
        }
    
        /**
         * An interface for consuming search results.
         */
        interface SearchConsumer {
            /**
             * Accepts a list of search results.
             *
             * @param t The list of search results.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 86.3K bytes
    - Viewed (0)
Back to top