Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 54 for counters (0.04 seconds)

  1. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

            final int maxRequests = fessConfig.getRateLimitRequestsPerWindowAsInteger();
    
            AtomicLong counter = requestCounters.getIfPresent(ip);
            if (counter == null) {
                counter = new AtomicLong(0);
                requestCounters.put(ip, counter);
            }
    
            final long count = counter.incrementAndGet();
    
            if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java

        public String createdTime;
    
        /** Version number for optimistic locking. */
        public String versionNo;
    
        /**
         * Clears all pagination state and filter parameters.
         * Resets pagination counters to default values and clears all filter fields.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/pager/ElevateWordPager.java

        public String createdTime;
    
        /** Search parameter: version number */
        public String versionNo;
    
        /**
         * Clears all pagination data and search parameters.
         * Resets counters, flags, and search form fields to their default values.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. src/test/resources/thumbnail/test_generate_thumbnail.sh

    TEST_DIR="${SCRIPT_DIR}"
    OUTPUT_DIR="/tmp/thumbnail_test_$$"
    
    # Color codes for output
    RED='\033[0;31m'
    GREEN='\033[0;32m'
    NC='\033[0m' # No Color
    
    # Test counters
    TESTS_PASSED=0
    TESTS_FAILED=0
    
    # Create output directory
    mkdir -p "${OUTPUT_DIR}"
    
    # Cleanup function
    cleanup() {
        rm -rf "${OUTPUT_DIR}"
    }
    trap cleanup EXIT
    
    # Test function
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. src/main/webapp/css/bootstrap.min.css.map

    because ul and ol\n  margin-bottom: 0;\n  @include border-radius(var(--#{$prefix}list-group-border-radius));\n}\n\n.list-group-numbered {\n  list-style-type: none;\n  counter-reset: section;\n\n  > .list-group-item::before {\n    // Increments only this instance of the section counter\n    content: counters(section, \".\") \". \";\n    counter-increment: section;\n  }\n}\n\n// Interactive list items\n//\n// Use anchor or button elements instead of `li`s or `div`s to create interactive\n// list items. Includes...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 575.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            AtomicInteger counter1 = new AtomicInteger(0);
            AtomicInteger counter2 = new AtomicInteger(0);
    
            executor1.addShutdownListener(() -> counter1.incrementAndGet());
            executor2.addShutdownListener(() -> counter2.incrementAndGet());
    
            executor1.shutdown();
            assertEquals(1, counter1.get());
            assertEquals(0, counter2.get());
    
            executor2.shutdown();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

        public void test_concurrent_stores() {
            // Test thread-safe implementation
            final AtomicLong counter = new AtomicLong(0);
    
            IndexUpdateCallback callback = new IndexUpdateCallback() {
                @Override
                public void store(DataStoreParams paramMap, Map<String, Object> dataMap) {
                    counter.incrementAndGet();
                }
    
                @Override
                public long getDocumentSize() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

        private void setupMockComponentsWithCounter(final AtomicInteger counter) {
            setupMockComponents();
    
            // Override thumbnail manager with counter
            ThumbnailManager mockThumbnailManager = new ThumbnailManager() {
                @Override
                public int generate(ExecutorService executorService, boolean cleanup) {
                    counter.incrementAndGet();
                    // Return 0 to exit the loop
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/FacetResponse.java

        }
    
        /**
         * Represents a field facet with its name and value counts.
         * Each field facet contains multiple values with their respective document counts.
         */
        public static class Field {
            /**
             * Map containing field values and their document counts.
             * Keys are field values as strings, values are document counts.
             */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. src/main/webapp/js/admin/plugins/form-validator/sweden.js

    m%10===0},errorMessage:"",errorMessageKey:"badSecurityNumber"}),a.formUtils.addValidator({name:"swecounty",validatorFunction:function(b){return b=b.toLowerCase(),a.inArray(b,this.counties)!==-1||"län"!==b.substr(-3).toLocaleLowerCase()&&a.inArray(b+"s län",this.counties)>-1},errorMessage:"",errorMessageKey:"badCustomVal",counties:["stockholms län","uppsala län","södermanlands län","östergötlands län","jönköpings län","kronobergs län","kalmar län","gotlands län","blekinge län","skåne län","hallands län","västra...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 6.4K bytes
    - Click Count (1)
Back to Top