- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 648 for clears (0.05 sec)
-
guava/src/com/google/common/collect/LinkedHashMultimap.java
} @Override Spliterator<V> valueSpliterator() { return CollectSpliterators.map(entrySpliterator(), Entry::getValue); } @Override public void clear() { super.clear(); succeedsInMultimap(multimapHeaderEntry, multimapHeaderEntry); } /** * @serialData the expected values per key, the number of distinct keys, the number of entries,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 24.3K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
Additionally, it's very useful to us if you can provide a "straw API" — what the method signatures would look like, for example, even if the method and class names are still in flux. This can make the feature you're suggesting much clearer to us. - type: textarea attributes: label: (Optional) What would the method signatures for your feature look like? placeholder: | e.g.,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 5.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt
} val initialWindowSize: Int get() { val bit = 1 shl INITIAL_WINDOW_SIZE return if (bit and set != 0) values[INITIAL_WINDOW_SIZE] else DEFAULT_INITIAL_WINDOW_SIZE } fun clear() { set = 0 values.fill(0) } operator fun set( id: Int, value: Int, ): Settings { if (id < 0 || id >= values.size) { return this // Discard unknown settings. }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
public void checkAccess(Thread t) { throw new SecurityException(); } @Override public void checkPermission(Permission perm) { // Do nothing so we can clear the security manager at the end } }); try { final String oldName = Thread.currentThread().getName(); Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 5.5K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
import org.junit.Assert.assertEquals import org.junit.Assert.assertTrue import org.junit.Test import org.junit.runner.RunWith /** * Android HttpEngine. */ @RunWith(AndroidJUnit4::class) @SdkSuppress(minSdkVersion = 34) class AndroidHttpEngineTest { val context = InstrumentationRegistry.getInstrumentation().context val cacheDir = context.cacheDir.resolve("httpEngine").also { it.mkdirs() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 24 13:19:43 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListTest.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingList}. * * @author Robert Konigsberg * @author Louis Wasserman */ public class ForwardingListTest extends TestCase { static final class StandardImplForwardingList<T> extends ForwardingList<T> { private final List<T> backingList; StandardImplForwardingList(List<T> backingList) { this.backingList = backingList;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link ForwardingSortedMultiset}. * * @author Louis Wasserman */ public class ForwardingSortedMultisetTest extends TestCase { static class StandardImplForwardingSortedMultiset<E> extends ForwardingSortedMultiset<E> { private final SortedMultiset<E> backingMultiset;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingListTest.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingList}. * * @author Robert Konigsberg * @author Louis Wasserman */ public class ForwardingListTest extends TestCase { static final class StandardImplForwardingList<T> extends ForwardingList<T> { private final List<T> backingList; StandardImplForwardingList(List<T> backingList) { this.backingList = backingList;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
@GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class SimpleAbstractMultisetTest extends TestCase { @J2ktIncompatible @GwtIncompatible // suite public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(SimpleAbstractMultisetTest.class); suite.addTest( MultisetTestSuiteBuilder.using( new TestStringMultisetGenerator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java
} @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testPropagatesClearToMultimap() { Collection<V> result = multimap().asMap().get(k0()); result.clear(); assertGet(k0()); assertEmpty(result); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testAddNullValue() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0)