- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 126 for weight (0.03 sec)
-
guava-tests/test/com/google/common/cache/TestingWeighers.java
/** Returns a {@link Weigher} that uses the integer key as the weight. */ static Weigher<Integer, Object> intKeyWeigher() { return new IntKeyWeigher(); } /** Returns a {@link Weigher} that uses the integer value as the weight. */ static Weigher<Object, Integer> intValueWeigher() { return new IntValueWeigher(); } static final class ConstantWeigher implements Weigher<Object, Object> { private final int constant;
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) -
guava/src/com/google/common/cache/Weigher.java
/** * Calculates the weights of cache entries. * * @author Charles Fry * @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 */
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/src/com/google/common/cache/CacheBuilder.java
checkArgument(maximumSize >= 0, "maximum size must not be negative"); this.maximumSize = maximumSize; return this; } /** * Specifies the maximum weight of entries the cache may contain. Weight is determined using the * {@link Weigher} specified with {@link #weigher}, and use of this method requires a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K 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/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) -
android/guava/src/com/google/common/io/AppendableWriter.java
@Override public void write(char[] cbuf, int off, int len) throws IOException { checkNotClosed(); // It turns out that creating a new String is usually as fast, or faster // than wrapping cbuf in a light-weight CharSequence. target.append(new String(cbuf, off, len)); } /* * Override a few functions for performance reasons to avoid creating unnecessary strings. */ @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/webapp/css/admin/bootstrap.min.css
.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-heigh...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 158.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
streamId: Int, ) { val w1 = source.readInt() val exclusive = w1 and 0x80000000.toInt() != 0 val streamDependency = w1 and 0x7fffffff val weight = (source.readByte() and 0xff) + 1 handler.priority(streamId, streamDependency, weight, exclusive) } @Throws(IOException::class) private fun readRstStream( handler: Handler, length: Int, flags: Int, streamId: Int,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0)