Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 49 for Priority (0.05 seconds)

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

            int priority = Thread.NORM_PRIORITY;
            webFsIndexHelper.setIndexUpdaterPriority(priority);
            assertEquals(priority, webFsIndexHelper.indexUpdaterPriority);
        }
    
        @Test
        public void test_setCrawlerPriority() {
            int priority = Thread.NORM_PRIORITY;
            webFsIndexHelper.setCrawlerPriority(priority);
            assertEquals(priority, webFsIndexHelper.crawlerPriority);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  2. 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,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. 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;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  4. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 19K bytes
    - Click Count (0)
  5. doc/next/6-stdlib/99-minor/net/http/75500.md

    HTTP/2 server now accepts client priority signals, as defined in RFC 9218,
    allowing it to prioritize serving HTTP/2 streams with higher priority. If the
    old behavior is preferred, where streams are served in a round-robin manner
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 22 22:02:25 GMT 2026
    - 306 bytes
    - Click Count (0)
  6. 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) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  7. 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;
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  8. 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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike
     * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link
     * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead.
     *
     * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/escape/EscapersTest.java

        // Explicit replacements take priority over unsafe characters.
        builder.addEscape(' ', "_");
        builder.addEscape('!', "_");
        assertThat(builder.build().escape("The Quick Brown Fox!")).isEqualTo("Xhe_Xuick_Xrown_Xox_");
        // Explicit replacements take priority over safe characters.
        builder.setSafeRange(' ', '~');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top