- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,324 for Remove (0.08 sec)
-
guava/src/com/google/common/collect/EnumMultiset.java
if (oldCount == 0) { distinctElements++; } size += occurrences; return oldCount; } // Modification Operations @CanIgnoreReturnValue @Override public int remove(@Nullable Object element, int occurrences) { // isActuallyE checks for null, but we check explicitly to help nullness checkers. if (element == null || !isActuallyE(element)) { return 0; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteDatabase.kt
@Synchronized fun failed(failedRoute: Route) { _failedRoutes.add(failedRoute) } /** Records success connecting to [route]. */ @Synchronized fun connected(route: Route) { _failedRoutes.remove(route) } /** Returns true if [route] has failed recently and should be avoided. */ @Synchronized fun shouldPostpone(route: Route): Boolean = route in _failedRoutes
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/CollectorTester.java
} <E extends @Nullable Object> void push(List<E> stack, E value) { stack.add(value); } <E extends @Nullable Object> E pop(List<E> stack) { return stack.remove(stack.size() - 1); } }; abstract <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> A result(Collector<T, A, R> collector, Iterable<T> inputs); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 15 21:47:56 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java
map.put("data1", 20); assertTrue(docBoostMatcher.match(map)); map.put("data1", 5); assertFalse(docBoostMatcher.match(map)); map.remove("data1"); assertFalse(docBoostMatcher.match(map)); map.put("data2", 5); assertFalse(docBoostMatcher.match(map)); } public void test_string() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 4.6K bytes - Viewed (0) -
.github/workflows/test.yml
run: uv pip install "pydantic>=1.10.0,<2.0.0" - name: Install Pydantic v2 if: matrix.pydantic-version == 'pydantic-v2' run: uv pip install --upgrade "pydantic>=2.0.2,<3.0.0" # TODO: Remove this once Python 3.8 is no longer supported - name: Install older AnyIO in Python 3.8 if: matrix.python-version == '3.8' run: uv pip install "anyio[trio]<4.0.0" - run: mkdir coverage
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Aug 15 21:44:06 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* assume that using setCount() to increase the count is permitted iff add() * is permitted and similarly for decrease/remove(). We assume that a * setCount() no-op is permitted if either add() or remove() is permitted, * though we also allow it to "succeed" if neither is permitted. */ private void assertSetCount(E element, int count) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MyTester.java
/* * @Ignore affects the Android test runner (and only the Android test runner): It respects JUnit 4 * annotations even on JUnit 3 tests. * * TODO(b/225350400): Remove @Ignore, which doesn't seem like it should be necessary and probably * soon won't be. */ @SuppressWarnings("JUnit4ClassUsedInJUnit3") @Ignore public final class MyTester extends AbstractTester<@Nullable Void> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
* Table} interface. * * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported. * Null row keys, columns keys, and values are not supported. * * <p>Lookups by row key are often faster than lookups by column key, because the data is stored inRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
@CollectionSize.Require(absent = {ZERO, ONE}) public void testSubList_subListRemoveAffectsOriginalLargeList() { List<E> subList = getList().subList(1, 3); subList.remove(e2()); List<E> expected = copyToList(createSamplesArray()); expected.remove(2); expectContents(expected); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = {ZERO, ONE})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13.5K bytes - Viewed (0)