Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for errorCounts (0.13 seconds)

  1. cmd/erasure-metadata-utils.go

    	errorCounts := make(map[error]int)
    	for _, err := range errs {
    		if IsErrIgnored(err, ignoredErrs...) {
    			continue
    		}
    		// Errors due to context cancellation may be wrapped - group them by context.Canceled.
    		if errors.Is(err, context.Canceled) {
    			errorCounts[context.Canceled]++
    			continue
    		}
    		errorCounts[err]++
    	}
    
    	maxCnt := 0
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/app/pager/FailureUrlPagerTest.java

            assertEquals(1, failureUrlPager.getCurrentPageNumber());
            assertNull(failureUrlPager.id);
            assertNull(failureUrlPager.url);
            assertNull(failureUrlPager.threadName);
            assertNull(failureUrlPager.errorCount);
            assertNull(failureUrlPager.errorName);
    
            failureUrlPager.setAllRecordCount(999);
            assertEquals(999, failureUrlPager.getAllRecordCount());
            failureUrlPager.setAllPageCount(999);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

                assertEquals(0, result.modifiedCount(), "Empty result should have no modified POMs");
                assertEquals(0, result.unmodifiedCount(), "Empty result should have no unmodified POMs");
                assertEquals(0, result.errorCount(), "Empty result should have no errors");
            }
    
            @Test
            @DisplayName("should create success result")
            void shouldCreateSuccessResult() {
                Path pom1 = Paths.get("pom.xml");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            assertEquals("name", fieldSortBuilderList.get(1).getFieldName());
        }
    
        @Test
        public void test_getExcludedUrlList() {
            final AtomicInteger errorCount = new AtomicInteger(0);
            final DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
            final FailureUrlCB cb = new FailureUrlCB();
            ComponentUtil.register(new FailureUrlBhv() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 35.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            final AtomicInteger thenCount = new AtomicInteger(0);
            final AtomicInteger errorCount = new AtomicInteger(0);
            final CountDownLatch latch = new CountDownLatch(1);
    
            deferred.promise().then(response -> {
                thenCount.incrementAndGet();
                latch.countDown();
            }).error(error -> {
                errorCount.incrementAndGet();
            });
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java

        /**
         * The number of times this URL has failed.
         * This is a required field that tracks repeated failures for the same URL.
         */
        @Required
        @ValidateTypeFailure
        public String errorCount;
    
        /**
         * The timestamp of the last access attempt for this URL.
         * This is a required field indicating when the failure last occurred.
         */
        @Required
        public String lastAccessTime;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/FailureUrlDbm.java

                false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnErrorCount = cci("errorCount", "errorCount", null, null, Integer.class, "errorCount", null, false,
                false, false, "Integer", 0, 0, null, null, false, null, null, null, null, null, false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                        errorCount.incrementAndGet();
                    } finally {
                        latch.countDown();
                    }
                }).start();
            }
    
            latch.await();
    
            assertEquals("All threads should succeed", threadCount, successCount.get());
            assertEquals("No threads should have errors", 0, errorCount.get());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                        // reset count
                        errorCount = 0;
                    } catch (final Exception e) {
                        if (errorCount > maxErrorCount) {
                            throw e;
                        }
                        errorCount++;
                        logger.warn("Failed to access AccessResult data. Retrying... (attempt={}/{})", errorCount, maxErrorCount, e);
                    } finally {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

         */
        public int modifiedCount() {
            return modifiedPoms.size();
        }
    
        /**
         * Returns the number of POMs that had errors.
         */
        public int errorCount() {
            return errorPoms.size();
        }
    
        /**
         * Returns the number of POMs that were processed but not modified and had no errors.
         */
        public int unmodifiedCount() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top