Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 97 for reached (3.14 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/smb/NtStatus.java

        /** The system cannot find the device specified */
        int NT_STATUS_NO_SUCH_DEVICE = 0xC000000e;
        /** The system cannot find the file specified */
        int NT_STATUS_NO_SUCH_FILE = 0xC000000f;
        /** End of file reached */
        int NT_STATUS_END_OF_FILE = 0xC0000011;
        /** More processing is required to complete this request */
        int NT_STATUS_MORE_PROCESSING_REQUIRED = 0xC0000016;
        /** Access is denied */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. 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)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

            method.setAccessible(true);
            final boolean result = (boolean) method.invoke(crawlerThread, 15);
    
            assertFalse(result);
        }
    
        /**
         * Test isContinue method when max access count is reached.
         */
        public void test_isContinue_maxAccessCountReached() throws Exception {
            crawlerContext.maxAccessCount = 10;
            crawlerContext.incrementAndGetAccessCount();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            // When/Then - Should retry for attempts 1 and 2
            assertTrue(exception.shouldRetry(1));
            assertTrue(exception.shouldRetry(2));
            assertFalse(exception.shouldRetry(3)); // Max attempts reached
    
            // Verify exponential backoff
            assertEquals(1000, exception.getRetryDelayMs(1));
            assertEquals(2000, exception.getRetryDelayMs(2));
            assertEquals(4000, exception.getRetryDelayMs(3));
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            jcifs.SID mockSid1 = mock(jcifs.SID.class);
            jcifs.SID mockSid2 = mock(jcifs.SID.class);
            when(mockSid1.unwrap(sid_t.class)).thenReturn(mockSidT);
            // Don't stub mockSid2 since it won't be reached due to NPE on null element
            testSids = new jcifs.SID[] { mockSid1, null, mockSid2 };
    
            // Act & Assert - This should throw an exception when LsarSidArrayX tries to process null
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                        } catch (final SmbException e) {
                            if (e.getNtStatus() != 0xC0000011) {
                                throw e;
                            }
                            log.debug("Reached end of file", e);
                            n = -1;
                        }
                    } else {
                        final SmbComReadAndX request = new SmbComReadAndX(th.getConfig(), fh.getFid(), this.fp, r, null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileInputStream.java

                            } catch (final SmbException e) {
                                if (e.getNtStatus() == 0xC0000011) { // NT_STATUS_END_OF_FILE
                                    log.debug("Reached end of file", e);
                                    n = -1;
                                } else {
                                    throw e;
                                }
                            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    // If still at limit, throw exception
                    if (this.connections.size() >= maxPoolSize) {
                        throw new IllegalStateException("Connection pool has reached maximum size of " + maxPoolSize
                                + ". Consider increasing pool size or closing idle connections.");
                    }
                }
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top