Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for reached (0.06 sec)

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

                throw new SmbEndOfFileException();
            });
            assertEquals("Unexpectedly reached end of file", thrown.getMessage());
        }
    
        /**
         * toString should include both the class name and the default message.
         */
        @ParameterizedTest
        @ValueSource(strings = { "SmbEndOfFileException", "Unexpectedly reached end of file" })
        void toStringContainsKeyInfo(String expectedSubstring) {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbEndOfFileException.java

         *
         */
        private static final long serialVersionUID = 298752101881244000L;
    
        /**
         * Constructs an end-of-file exception.
         */
        public SmbEndOfFileException() {
            super("Unexpectedly reached end of file");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/LruHashSet.java

    import java.util.Iterator;
    import java.util.Set;
    
    /**
     * A {@link Set} implementation that stores its elements in a {@link LruHashMap}.
     * <p>
     * This set has a fixed maximum capacity. When the capacity is reached and a new element is added,
     * the least recently used element is removed.
     * </p>
     * @author shinsuke
     * @param <E> the type of elements maintained by this set
     */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/BufferCache.java

            if (buf == null || buf.length != SmbComTransaction.TRANSACTION_BUF_SIZE) {
                return; // Silently ignore invalid buffers
            }
    
            // Only cache if we haven't reached the limit - O(1) check
            if (queueSize.get() < MAX_BUFFERS) {
                if (bufferQueue.offer(buf)) { // O(1) operation
                    queueSize.incrementAndGet();
                }
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

     * It maintains a list of ReadingConverter instances and iterates through them, applying each converter to the input text and accumulating the results.
     * The chain stops processing when the maximum number of readings is reached.
     */
    public class ReadingConverterChain implements ReadingConverter {
        /**
         * Constructs a new {@link ReadingConverterChain}.
         */
        public ReadingConverterChain() {
            // nothing
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 3.3K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/core/io/ReaderUtil.java

         *
         * @param reader
         *            the {@link BufferedReader} (must not be {@literal null})
         * @return a line of text, or {@literal null} if the end of the stream has been reached
         * @see BufferedReader#readLine()
         */
        public static String readLine(final BufferedReader reader) {
            assertArgumentNotNull("reader", reader);
    
            try {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileFilterTest.java

            SmbFileFilter filter = f -> {
                if (f == null) {
                    throw new NullPointerException("file must not be null");
                }
                return true; // not reached in this test
            };
    
            // Act + Assert
            NullPointerException npe = assertThrows(NullPointerException.class, () -> filter.accept(null));
            assertEquals("file must not be null", npe.getMessage());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

            return inputStream.markSupported();
        }
    
        /**
         * Reads the next byte of data from the input stream.
         *
         * @return the next byte of data, or -1 if the end of the stream is reached
         * @throws IOException if an I/O error occurs
         */
        @Override
        public int read() throws IOException {
            return inputStream.read();
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            state.incrementRetry(); // Retry 2
            assertTrue(state.shouldRetry());
    
            state.incrementRetry(); // Retry 3
            assertFalse(state.shouldRetry()); // Max retries reached
        }
    
        @Test
        void testFailoverStateBackoff() {
            ChannelFailover.FailoverState state = new ChannelFailover.FailoverState("test-channel");
    
            long firstRetry = state.getNextRetryTime();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                    if (is == null) {
                        throw new IOException("Resource not found: non/existent/resource.json");
                    }
                    // This line should not be reached
                    new String(is.readAllBytes(), StandardCharsets.UTF_8);
                    fail("Should throw IOException for missing resource");
                }
            } catch (IOException e) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top