- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for weigh (0.01 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) -
guava/src/com/google/common/cache/Weigher.java
* @since 11.0 */ @GwtCompatible @FunctionalInterface public interface Weigher<K, V> { /** * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply * relative to each other. * * @return the weight of the entry; must be non-negative */ int weigh(K key, V value);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.1K 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) -
docs/assets/css/app.css
font-weight: 700; font-style: normal } body, input { font-family: cash-market,"Helvetica Neue",helvetica,sans-serif; } .md-typeset h1, .md-typeset h2, .md-typeset h3, .md-typeset h4 { font-family: cash-market,"Helvetica Neue",helvetica,sans-serif; line-height: normal; font-weight: bold; } button.dl { font-weight: 300; font-size: 25px;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Feb 08 07:57:03 UTC 2022 - 1.1K bytes - Viewed (2) -
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/webapp/css/admin/style.css
} #result ol { list-style: none !important; padding-left: 0; } #result ol li { margin-bottom: 0; } #result .title { margin: 1.0em 0 0.5em 0; font-size: 120%; font-weight: 600; } section.content table { display: table; table-layout: fixed; width } section.content table td { display: table-cell; word-wrap: break-word; overflow-wrap: break-word; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Feb 13 07:47:04 UTC 2020 - 1.1K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/scheduler/admin_scheduler_edit.jsp
</div> </div> <div class="form-group row"> <span class="font-weight-bold col-sm-3 text-sm-right col-form-label"><la:message key="labels.scheduledjob_jobLogging"/></span> <div class="form-inline col-sm-9">
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Jan 16 12:54:35 UTC 2023 - 9.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/BaseTestHandler.kt
} override fun windowUpdate( streamId: Int, windowSizeIncrement: Long, ) { fail("") } override fun priority( streamId: Int, streamDependency: Int, weight: Int, exclusive: Boolean, ) { fail("") } override fun pushPromise( streamId: Int, associatedStreamId: Int, headerBlock: List<Header>, ) { fail("") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2K bytes - Viewed (0)