Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Count (0.27 sec)

  1. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

                try {
                    if (count < 10) {
                        System.out.println(path1);
                    }
                    assertThat(path1, is(notNullValue()));
                    assertThat(is, is(notNullValue()));
                    count++;
                } finally {
                    CloseableUtil.close(is);
                }
            });
            assertTrue(count > 0);
        }
    
        /**
         * @throws Exception
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

            Map<String, String> props = new HashMap<>();
            int count = entropy.nextInt(10);
            for (int i = 0; i < count; i++) {
                props.put("name" + Long.toHexString(entropy.nextLong()), "value" + Long.toHexString(entropy.nextLong()));
            }
            count = entropy.nextInt(3);
            List<Repository> repos = new ArrayList<>();
            for (int i = 0; i < count; i++) {
                Repository r = Repository.newBuilder()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

                    testPlugin = plugin;
                }
    
                Integer count = validPluginCounts.get(pluginArtifactId);
    
                assertEquals(0, (int) count, "Multiple copies of plugin: " + pluginArtifactId + " found in POM.");
    
                count = count + 1;
    
                validPluginCounts.put(pluginArtifactId, count);
            }
    
            assertNotNull(testPlugin);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author taedium
     */
    public class ClassTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

            }
    
            @Override
            public void dispose() {
                ++count;
                names += name;
            }
        }
    
        /**
         *
         */
        public class TestDisposable2 implements Disposable {
            @Override
            public void dispose() {
                ++count;
                throw new RuntimeException();
            }
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                }
            }
    
            int totalCount = 0;
            int count = 1;
            final ExecutorService executorService = Executors.newFixedThreadPool(options.numOfThreads);
            try {
                while (count != 0) {
                    count = ComponentUtil.getThumbnailManager().generate(executorService, options.cleanup);
                    totalCount += count;
                }
                executorService.shutdown();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

        }
    
        public synchronized String store(final String sessionId, final CrawlingConfig crawlingConfig) {
            final String sessionCountId = sessionId + "-" + count;
            crawlingConfigMap.put(sessionCountId, crawlingConfig);
            count++;
            return sessionCountId;
        }
    
        public void remove(final String sessionCountId) {
            crawlingConfigMap.remove(sessionCountId);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

            final LanguageHelper languageHelper = ComponentUtil.getLanguageHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            try {
                final long count = searchEngineClient.updateByQuery(fessConfig.getIndexDocumentUpdateIndex(), option -> {
                    if (queryBuilder != null) {
                        option.setQuery(queryBuilder);
                    }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

            final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
            final int count = searchLogHelper.getClickCount(url);
            doc.put(clickCountField, count);
            if (logger.isDebugEnabled()) {
                logger.debug("Click Count: {}, url: {}", count, url);
            }
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         * @param count estimated number of dependencies
         */
        DefaultDependencyResolverResult(PathModularizationCache cache, List<Exception> exceptions, Node root, int count) {
            this.cache = cache;
            this.exceptions = exceptions;
            this.root = root;
            nodes = new ArrayList<>(count);
            paths = new ArrayList<>(count);
            dispatchedPaths = new LinkedHashMap<>();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top