Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,922 for Try (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.filter.UrlFilter#addExclude(java.lang.String)
         */
        @Override
        public void addExclude(final String urlPattern) {
            try {
                Pattern.compile(urlPattern);
            } catch (final Exception e) {
                if (logger.isWarnEnabled()) {
                    logger.warn("Invalid exclude pattern: {}", urlPattern);
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testRemove_nullValueQueriesUnsupported() {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0);
        monitor.enter();
        try {
          verifyOccupiedMethodsInCurrentThread(monitor, true, true, 1);
          verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0);
          monitor.enter();
          try {
            verifyOccupiedMethodsInCurrentThread(monitor, true, true, 2);
            verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testRemove_nullValueQueriesUnsupported() {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0);
        monitor.enter();
        try {
          verifyOccupiedMethodsInCurrentThread(monitor, true, true, 1);
          verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0);
          monitor.enter();
          try {
            verifyOccupiedMethodsInCurrentThread(monitor, true, true, 2);
            verifyOccupiedMethodsInAnotherThread(monitor, true, false, 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/HMACT64.java

                opad[i] = (byte) (key[i] ^ OPAD);
            }
            for (int i = length; i < BLOCK_LENGTH; i++) {
                ipad[i] = IPAD;
                opad[i] = OPAD;
            }
            try {
                md5 = MessageDigest.getInstance("MD5");
            } catch (Exception ex) {
                throw new IllegalStateException(ex.getMessage());
            }
            engineReset();
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  7. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

      /**
       * Test that MockWebServer blocks for a call to enqueue() if a request is made before a mock
       * response is ready.
       */
      @Test
      fun dispatchBlocksWaitingForEnqueue() {
        Thread {
          try {
            Thread.sleep(1000)
          } catch (ignored: InterruptedException) {
          }
          server.enqueue(
            MockResponse.Builder()
              .body("enqueued in the background")
              .build(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

         * @return {@link ZipEntry}
         * @see ZipInputStream#getNextEntry()
         */
        public static ZipEntry getNextEntry(final ZipInputStream zis) {
            assertArgumentNotNull("zis", zis);
    
            try {
                return zis.getNextEntry();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * {@link ZipInputStream#reset()}の例外処理をラップするメソッドです。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                // query matches on all documents.
                body.q = Constants.MATCHES_ALL_QUERY;
            }
    
            final SearchRenderData renderData = new SearchRenderData();
            body.initialize();
            try {
                searchHelper.search(body, renderData, getUserBean());
                return asJson(new ApiDocsResponse().renderData(renderData).status(Status.OK).result());
            } catch (final InvalidQueryException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            final EsDataService dataService = ComponentUtil.getComponent(EsDataService.class);
    
            try {
                // clear url filter
                urlFilterService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlFilter for {}", sid, e);
            }
    
            try {
                // clear queue
                urlQueueService.clearCache();
                urlQueueService.delete(sid);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top