Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for weigh (0.02 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // add an at-the-maximum-weight entry
        getAll(cache, asList(45));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(0, 45);
    
        // add an over-the-maximum-weight entry
        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

        checkArgument(maximumWeight >= 0, "maximum weight must not be negative");
        this.maximumWeight = maximumWeight;
        return this;
      }
    
      /**
       * Specifies the weigher to use in determining the weight of entries. Entry weight is taken into
       * consideration by {@link #maximumWeight(long)} when determining which entries to evict, and use
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            .isEqualTo(maxSize);
      }
    
      public void testSetWeigher() {
        Weigher<Object, Object> testWeigher =
            new Weigher<Object, Object>() {
              @Override
              public int weigh(Object key, Object value) {
                return 42;
              }
            };
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().maximumWeight(1).weigher(testWeigher));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            .isEqualTo(maxSize);
      }
    
      public void testSetWeigher() {
        Weigher<Object, Object> testWeigher =
            new Weigher<Object, Object>() {
              @Override
              public int weigh(Object key, Object value) {
                return 42;
              }
            };
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().maximumWeight(1).weigher(testWeigher));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

        checkArgument(maximumWeight >= 0, "maximum weight must not be negative");
        this.maximumWeight = maximumWeight;
        return this;
      }
    
      /**
       * Specifies the weigher to use in determining the weight of entries. Entry weight is taken into
       * consideration by {@link #maximumWeight(long)} when determining which entries to evict, and use
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.35.md

    - Made legacy watch calls (`ResourceVersion` = 0 or unset) that generate init-events weigh higher in `API Priority and Fairness (APF)` seat usage. Properly accounting for their cost protects the API server from CPU overload. Users might see increased throttling of such calls as a result. ([#134601](https://github.com/kubernetes/kubernetes/pull/134601),...
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 17 13:01:55 UTC 2025
    - 228.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            RequestData data1 = RequestDataBuilder.newRequestData().url("https://example.com").weight(1.5f).get().build();
    
            RequestData data2 = RequestDataBuilder.newRequestData().get().url("https://example.com").weight(1.5f).build();
    
            RequestData data3 = RequestDataBuilder.newRequestData().weight(1.5f).get().url("https://example.com").build();
    
            assertEquals(data1.getMethod(), data2.getMethod());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/general/admin_general.jsp

                                    <h4><la:message key="labels.general_menu_system"/></h4>
                                    <div class="form-group row">
                                        <span class="font-weight-bold col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.web_api_json_enabled"/></span>
                                        <div class="form-inline col-sm-9">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            queue.setCreateTime(null);
            assertNull(queue.getCreateTime());
        }
    
        public void test_weightGetterSetter() {
            // Test weight getter/setter
            UrlQueueImpl<Long> queue = new UrlQueueImpl<>();
    
            // Default weight should be 1.0
            assertEquals(1.0f, queue.getWeight(), 0.001f);
    
            queue.setWeight(0.5f);
            assertEquals(0.5f, queue.getWeight(), 0.001f);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. CLAUDE.md

    **Extractor**: Weight-based selection (tries in descending weight order)
    
    ### Key Extractors
    
    `TikaExtractor` (1000+ formats), `PdfExtractor`, `MsWordExtractor`, `MsExcelExtractor`, `MsPowerPointExtractor`, `ZipExtractor`, `HtmlExtractor`, etc.
    
    **Registration**:
    ```java
    extractorFactory.addExtractor("text/html", htmlExtractor, 2);  // Weight 2
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top