- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 331 for Clear (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
@JvmField var headerCount = 0 @JvmField var dynamicTableByteCount = 0 fun getAndResetHeaderList(): List<Header> { val result = headerList.toList() headerList.clear() return result } fun maxDynamicTableByteCount(): Int = maxDynamicTableByteCount private fun adjustDynamicTableByteCount() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 22.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final void clear() { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the table unmodified. * * @throws UnsupportedOperationException alwaysCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 17.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
AtomicLongMap<Object> map = AtomicLongMap.create(); for (int i = 0; i < ITERATIONS; i++) { map.put(new Object(), i); } assertEquals(ITERATIONS, map.size()); map.clear(); assertEquals(0, map.size()); assertTrue(map.isEmpty()); } public void testSum() { AtomicLongMap<Object> map = AtomicLongMap.create(); long sum = 0;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
} } } } private void processAllMustSucceedDoneFuture( int index, ListenableFuture<? extends InputT> future) { try { if (future.isCancelled()) { // Clear futures prior to cancelling children. This sets our own state but lets // the input futures keep running, as some of them may be used elsewhere. futures = null; cancel(false); } else {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableTable.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final void clear() { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the table unmodified. * * @throws UnsupportedOperationException alwaysCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 17.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testSkip_structurallyModifiedSkipSomeList() throws Exception { List<String> list = newArrayList("a", "b", "c"); Iterable<String> tail = skip(list, 1); list.subList(1, 3).clear(); list.addAll(0, newArrayList("A", "B", "C")); assertThat(tail).containsExactly("B", "C", "a").inOrder(); } public void testSkip_structurallyModifiedSkipAll() throws Exception {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 45.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* <li>If {@code C} doesn't explicitly implement {@code equals} but instead inherits it from a * superclass, no equality check is done on the deserialized instance because it's not clear * whether the author intended for the class to be a value type. * <li>If a constructor or factory method takes a parameter whose type is interface, a dynamic
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 17.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
} remaining--; /* * requireNonNull is safe because `remaining` starts at 0, forcing us to initialize * `element` above. After that, we never clear it. */ return requireNonNull(element); } }; } @LazyInit private transient @Nullable ImmutableList<E> asList; @Override public ImmutableList<E> asList() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
slowRemoveIfForRemainingElements(list, predicate, to, from); return true; } } to++; } } // Clear the tail of any remaining items list.subList(to, list.size()).clear(); return from != to; } private static <T extends @Nullable Object> void slowRemoveIfForRemainingElements(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
internal/grid/types.go
s += msgp.StringPrefixSize + len(za0001) + msgp.StringPrefixSize + len(za0002) } return s } // NewMSS returns a new MSS. func NewMSS() *MSS { m := MSS(mssPool.Get()) clear(m) return &m } // NewMSSWith returns a new MSS with the given map. func NewMSSWith(m map[string]string) *MSS { m2 := MSS(m) return &m2 } var mssPool = bpool.Pool[map[string]string]{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0)