- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for weigh (0.02 sec)
-
guava-tests/test/com/google/common/cache/TestingWeighers.java
} @Override public int weigh(Object key, Object value) { return constant; } } static final class IntKeyWeigher implements Weigher<Integer, Object> { @Override public int weigh(Integer key, Object value) { return key; } } static final class IntValueWeigher implements Weigher<Object, Integer> { @Override public int weigh(Object key, Integer value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 15K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
} 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java
return this; } /** * Sets the weight for the request data. * * @param weight the weight to set * @return the current RequestDataContext instance */ public RequestDataContext weight(final float weight) { data.setWeight(weight); return this; } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlQueue.java
/** * Field name for creation time. */ public static final String CREATE_TIME = "createTime"; /** * Field name for weight. */ public static final String WEIGHT = "weight"; /** * Converts this URL queue entry to XContent format for OpenSearch indexing. * * @param builder The XContentBuilder to write to.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.1K bytes - Viewed (0) -
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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 14 00:36:40 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java
request.setSuggestDetail(suggestDetail); return this; } /** * Sets the prefix match weight. * @param prefixMatchWeight The prefix match weight. * @return This builder instance. */ public SuggestRequestBuilder setPrefixMatchWeight(final float prefixMatchWeight) { request.setPrefixMatchWeight(prefixMatchWeight);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.8K bytes - Viewed (0)