Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for PRIORITY (0.04 sec)

  1. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

            int priority = Thread.NORM_PRIORITY;
            webFsIndexHelper.setIndexUpdaterPriority(priority);
            assertEquals(priority, webFsIndexHelper.indexUpdaterPriority);
        }
    
        public void test_setCrawlerPriority() {
            int priority = Thread.NORM_PRIORITY;
            webFsIndexHelper.setCrawlerPriority(priority);
            assertEquals(priority, webFsIndexHelper.crawlerPriority);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ingest/Ingester.java

         *
         * @return the priority value
         */
        public int getPriority() {
            return priority;
        }
    
        /**
         * Sets the priority of this ingester.
         * Lower numbers indicate higher priority.
         *
         * @param priority the priority value to set
         */
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

      public ThreadFactoryBuilder setPriority(int priority) {
        // Thread#setPriority() already checks for validity. These error messages
        // are nicer though and will fail-fast.
        checkArgument(
            priority >= Thread.MIN_PRIORITY,
            "Thread priority (%s) must be >= %s",
            priority,
            Thread.MIN_PRIORITY);
        checkArgument(
            priority <= Thread.MAX_PRIORITY,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

            newIngesters[ingesters.length] = ingester;
            Arrays.sort(newIngesters, (o1, o2) -> o1.priority - o2.priority);
            ingesters = newIngesters;
        }
    
        /**
         * Returns the array of registered ingesters sorted by priority.
         * The returned array contains all ingesters in priority order
         * (lower priority numbers first).
         *
         * @return the sorted array of ingesters
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * all elements in priority order and place them in another collection.
     *
     * <p>Operations on this class make no guarantees about the ordering of elements with equal
     * priority. If you need to enforce an ordering, you can define custom classes or comparators that
     * use a secondary key to break ties in primary priority values. For example, here is a class that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/score/ScoreBooster.java

            }
        }
    
        /**
         * Gets the priority of this score booster.
         * @return The priority.
         */
        public int getPriority() {
            return priority;
        }
    
        /**
         * Sets the priority of this score booster.
         * @param priority The priority.
         */
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            }
        }
    
        // Test class with priority tracking
        private static class PriorityTrackingBooster extends ScoreBooster {
            private static List<Integer> executionOrder = new ArrayList<>();
            private final long returnValue;
    
            public PriorityTrackingBooster(int priority, long returnValue) {
                this.priority = priority;
                this.returnValue = returnValue;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

            assertEquals(2, ingesters[1].getPriority());
            assertEquals(3, ingesters[2].getPriority());
        }
    
        private static class TestIngester extends Ingester {
            public TestIngester(int priority) {
                this.priority = priority;
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

          FLAGS[prefixFlag or FLAG_PADDED] = FLAGS[prefixFlag] + "|PADDED"
        }
    
        FLAGS[FLAG_END_HEADERS] = "END_HEADERS" // Same as END_PUSH_PROMISE.
        FLAGS[FLAG_PRIORITY] = "PRIORITY" // Same as FLAG_COMPRESSED.
        FLAGS[FLAG_END_HEADERS or FLAG_PRIORITY] = "END_HEADERS|PRIORITY" // Only valid on HEADERS.
        val frameFlags = intArrayOf(FLAG_END_HEADERS, FLAG_PRIORITY, FLAG_END_HEADERS or FLAG_PRIORITY)
    
        for (frameFlag in frameFlags) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            int priority = Thread.NORM_PRIORITY; // Use normal priority for tests
            dataIndexHelper.setCrawlerPriority(priority);
    
            try {
                Field field = DataIndexHelper.class.getDeclaredField("crawlerPriority");
                field.setAccessible(true);
                int actualPriority = (Integer) field.get(dataIndexHelper);
                assertEquals(priority, actualPriority);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top