Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1911 - 1920 of 2,371 for Try (0.02 seconds)

  1. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                isFinished.set(true);
                return;
            }
    
            RuntimeException exception = null;
    
            for (int i = 0; i < maxRetryCount; i++) {
                try {
                    final SearchResponse response;
                    if (scrollId == null) {
                        final SearchRequestBuilder builder = client.prepareSearch()
                                .setIndices(indexName)
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Striped.java

          L created = supplier.get();
          ArrayReference<L> newRef = new ArrayReference<>(created, index, queue);
          while (!locks.compareAndSet(index, existingRef, newRef)) {
            // we raced, we need to re-read and try again
            existingRef = locks.get(index);
            existing = existingRef == null ? null : existingRef.get();
            if (existing != null) {
              return existing;
            }
          }
          drainQueue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/entity/ChatSessionTest.java

        }
    
        @Test
        public void test_touch() {
            final ChatSession session = new ChatSession();
            final LocalDateTime initialTime = session.getLastAccessedAt();
    
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                // ignore
            }
    
            session.touch();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          throws ConflictingRequirementsException {
        Class<? extends Annotation> annotationClass = testerAnnotation.annotationType();
        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                return isOptionEnabled(options, options.plugins(), true);
            }
    
            public int testExecuteWithTargetModel(UpgradeContext context, String targetModel) {
                try {
                    Map<Path, Document> pomMap = Map.of(); // Empty for this test
                    return doUpgrade(context, targetModel, pomMap);
                } catch (Exception e) {
                    throw new RuntimeException(e);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  6. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            final AtomicInteger totalPolled = new AtomicInteger(0);
            final List<String> allUrls = new ArrayList<>();
    
            for (int i = 0; i < numThreads; i++) {
                new Thread(() -> {
                    try {
                        startLatch.await();
                        int count = 0;
                        while (count < itemsPerThread) {
                            final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

                    return "file";
                }
            });
    
            final ProtocolHelper protocolHelper = new ProtocolHelper();
            protocolHelper.init();
    
            try {
                protocolHelper.isValidWebProtocol(null);
                fail("Should throw exception for null URL");
            } catch (Exception e) {
                // Expected
                assertNotNull(e);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 35.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        public static final String ERRORS_APP_DB_ALREADY_UPDATED = "{errors.app.db.already.updated}";
    
        /** The key of the message: The data already exists. Please try again. */
        public static final String ERRORS_APP_DB_ALREADY_EXISTS = "{errors.app.db.already.exists}";
    
        /** The key of the message: It may have been processed before this request. Please try again. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 126.6K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

              .post(
                object : RequestBody() {
                  override fun contentType(): MediaType? = null
    
                  override fun writeTo(sink: BufferedSink) {
                    try {
                      for (i in 0..9) {
                        sink.writeUtf8(".")
                        sink.flush()
                        Thread.sleep(100)
                      }
                    } catch (e: IOException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

        }
    
        @Test
        public void test_byteCountToDisplaySize_edgeCases() {
            // Test negative values - should throw NullPointerException in private method via BigInteger.valueOf
            try {
                MemoryUtil.byteCountToDisplaySize(-1L);
                // If no exception, verify it handles negative as expected
            } catch (Exception e) {
                // Expected for negative values
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
Back to Top