Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 2,062 for watch (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/AbstractCrawlerClientTest.java

            try {
                client.checkMaxContentLength(responseData);
                fail();
            } catch (MaxLengthExceededException e) {
                // ok
            }
    
            responseData.setContentLength(1000000000L);
            try {
                client.checkMaxContentLength(responseData);
                fail();
            } catch (MaxLengthExceededException e) {
                // ok
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                        return item;
                    } catch (final IOException e) {
                        throw new DictionaryException("Failed to write: " + item, e);
                    }
                }
                return null;
            }
    
            @Override
            public void close() {
                try {
                    writer.flush();
                } catch (final IOException e) {
                    // ignore
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            } catch (Exception e) {
                return null;
            }
        }
    
        private SSLSocketFactory getSSLSocketFactory(CurlHelper curlHelper) {
            try {
                Field field = CurlHelper.class.getDeclaredField("sslSocketFactory");
                field.setAccessible(true);
                return (SSLSocketFactory) field.get(curlHelper);
            } catch (Exception e) {
                return null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // After 3 failures, account should be locked
            try {
                rateLimiter.checkAttempt(username, ip);
                fail("Should throw SmbException for locked account");
            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("locked out"), "Should indicate account lockout");
            }
        }
    
        @Test
        public void testIpRateLimit() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          val byteRead = inputStream.read()
          // OpenJDK behavior: end of stream.
          assertThat(byteRead).isEqualTo(-1)
        } catch (e: ProtocolException) {
          // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp
          // treats an incomplete response body as a ProtocolException.
        } catch (ioe: IOException) {
          // Change in https://bugs.openjdk.org/browse/JDK-8335135
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbPipeResourceTest.java

        }
    
        /**
         * Test if the PIPE_TYPE_WRONLY constant has the correct value.
         */
        @Test
        void testPipeTypeWronly() {
            assertEquals(SmbConstants.O_WRONLY, SmbPipeResource.PIPE_TYPE_WRONLY, "PIPE_TYPE_WRONLY should match SmbConstants.O_WRONLY");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            try {
                throw new ResultOffsetExceededException(expectedMessage);
            } catch (ResultOffsetExceededException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught ResultOffsetExceededException");
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

     */
    public class SearchResult {
    
        /** The list of documents returned by the search query. */
        protected final List<Map<String, Object>> documentList;
    
        /** The total number of records that match the search criteria. */
        protected final long allRecordCount;
    
        /** The relation type indicating how the record count should be interpreted (e.g., "eq", "gte"). */
        protected final String allRecordCountRelation;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

            fail("Expected IllegalStateException");
          } catch (IllegalStateException expected) {
          }
        }
        assertEquals(expectHost, hp.getHost());
    
        // Check the post-withDefaultPort() instance (if any).
        if (!badDefaultPort) {
          try {
            int port = hp2.getPort();
            assertTrue(expectPort != -1);
            assertEquals(expectPort, port);
          } catch (IllegalStateException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/HostAndPortTest.java

            fail("Expected IllegalStateException");
          } catch (IllegalStateException expected) {
          }
        }
        assertEquals(expectHost, hp.getHost());
    
        // Check the post-withDefaultPort() instance (if any).
        if (!badDefaultPort) {
          try {
            int port = hp2.getPort();
            assertTrue(expectPort != -1);
            assertEquals(expectPort, port);
          } catch (IllegalStateException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top