Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1361 - 1370 of 1,808 for Try (0.02 sec)

  1. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
    
                final String url = urlQueue.getUrl();
                ResponseData responseData = null;
                try {
                    final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(crawlerContext.getSessionId());
                    final Map<String, Object> dataMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

              future.addListener(listener, directExecutor());
            }
          }
        }
      }
    
      private void processAllMustSucceedDoneFuture(
          int index, ListenableFuture<? extends InputT> future) {
        try {
          if (future.isCancelled()) {
            // Clear futures prior to cancelling children. This sets our own state but lets
            // the input futures keep running, as some of them may be used elsewhere.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

        val dateFormat =
          SimpleDateFormat("yyMMddHHmmss'Z'").apply {
            timeZone = utc
            set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z.
          }
    
        try {
          val parsed = dateFormat.parse(string)
          return parsed.time
        } catch (e: ParseException) {
          throw ProtocolException("Failed to parse UTCTime $string")
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        for (int i = 1; i < 5; i++) {
          // convoluted way to check that the same result happens from each
          Y expected = null;
          try {
            expected = f.apply(i);
          } catch (IllegalArgumentException e) {
            try {
              g.apply(i);
              fail();
            } catch (IllegalArgumentException ok) {
              continue;
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.saturatedCast(Long.MAX_VALUE)).isEqualTo(GREATEST);
        assertThat(Chars.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST);
      }
    
      private void assertCastFails(long value) {
        try {
          Chars.checkedCast(value);
          fail("Cast to char should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

        return Types.newParameterizedTypeWithOwner(
            resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs);
      }
    
      private static <T> T expectArgument(Class<T> type, Object arg) {
        try {
          return type.cast(arg);
        } catch (ClassCastException e) {
          throw new IllegalArgumentException(arg + " is not a " + type.getSimpleName());
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        try {
          assertSubtypeTokenBeforeSupertypeToken(
              ImmutableList.of(TypeToken.of(CharSequence.class), TypeToken.of(String.class)));
        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      public void testAssertSubtypeTokenBeforeSupertypeToken_duplicate() {
        try {
          assertSubtypeTokenBeforeSupertypeToken(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

                @Override
                public Tuple3<String, String, String>[] getVirtualHosts() {
                    return new Tuple3[] { new Tuple3<>("Host", "example.com", "site1") };
                }
            });
    
            try {
                HtmlNext result = virtualHostHelper.getVirtualHostPath(null);
                // If it doesn't throw an exception, the test passes
                assertTrue(true);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

                return fromClassNameToSuffix(componentName);
            }
    
            @Override
            public Class<?> fromComponentNameToClass(String componentName) {
                try {
                    return Class.forName(componentName);
                } catch (ClassNotFoundException e) {
                    return null;
                }
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. cmd/speedtest.go

    				if result.Error != "" {
    					// Break out on errors.
    					sendResult()
    					return
    				}
    			}
    
    			sendResult()
    			if !opts.autotune {
    				break
    			}
    
    			// Try with a higher concurrency to see if we get better throughput
    			concurrency += (concurrency + 1) / 2
    		}
    	}()
    	return ch
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top