- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 661 for clears (0.21 sec)
-
guava-testlib/src/com/google/common/testing/GcFinalization.java
* } * public void testFooLeak() { * GcFinalization.awaitClear(fooWeakRef()); * } * }</pre> * * <p>This class cannot currently be used to test soft references, since this class does not try to * create the memory pressure required to cause soft references to be cleared. * * <p>This class only provides testing utilities. It is not designed for direct use in production or * for benchmarking. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 11.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
.withArguments(args) .forwardOutput() } private void assertNoDeadLinks() { assert linkErrors.exists() assert linkErrors.text.stripTrailing().endsWith('All clear!') } private void assertFoundDeadLinks(Collection<DeadLink> deadLinks) { assert linkErrors.exists() def lines = linkErrors.readLines() deadLinks.each { deadLink ->
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 08:08:05 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* * <p>Most methods in this class treat absent values and zero values identically, as individually * documented. Exceptions to this are {@link #containsKey}, {@link #size}, {@link #isEmpty}, {@link * #asMap}, and {@link #toString}. * * <p>Instances of this class may be used by multiple threads concurrently. All operations are * atomic unless otherwise noted. * * <p>Instances of this class are serializable if the keys are serializable.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 14.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
List<Integer> sublist = list.subList(0, 5); assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder(); sublist.clear(); assertTrue(sublist.isEmpty()); multimap.put("foo", 6); assertThrows(ConcurrentModificationException.class, () -> sublist.isEmpty()); } public void testCreateFromMultimap() { Multimap<String, Integer> multimap = create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java
import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingSortedSet}. * * @author Louis Wasserman */ public class ForwardingSortedSetTest extends TestCase { static class StandardImplForwardingSortedSet<T> extends ForwardingSortedSet<T> { private final SortedSet<T> backingSortedSet; StandardImplForwardingSortedSet(SortedSet<T> backingSortedSet) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSetTest.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingSet}. * * @author Robert Konigsberg * @author Louis Wasserman */ public class ForwardingSetTest extends TestCase { static class StandardImplForwardingSet<T> extends ForwardingSet<T> { private final Set<T> backingSet; StandardImplForwardingSet(Set<T> backingSet) { this.backingSet = backingSet; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
} @Override public void clear() { forwardList.clear(); } @Override @ParametricNullness public T remove(int index) { return forwardList.remove(reverseIndex(index)); } @Override protected void removeRange(int fromIndex, int toIndex) { subList(fromIndex, toIndex).clear(); } @Override @ParametricNullness
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
import jakarta.annotation.Resource; /** * @author shinsuke * @author Keiichi Watanabe */ public class AdminDictKuromojiAction extends FessAdminAction { public static final String ROLE = "admin-dict"; private static final Logger logger = LogManager.getLogger(AdminDictKuromojiAction.class); // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
List<Integer> sublist = list.subList(0, 5); assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder(); sublist.clear(); assertTrue(sublist.isEmpty()); multimap.put("foo", 6); assertThrows(ConcurrentModificationException.class, () -> sublist.isEmpty()); } public void testCreateFromMultimap() { Multimap<String, Integer> multimap = create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
extras.addAll(other.extras); if (extras.size() > MAX_EXTRAS) { extras.subList(MAX_EXTRAS, extras.size()).clear(); throw multiples(true); } return this; } } @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...) Optional<Object> getOptional() { if (extras.isEmpty()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 5.6K bytes - Viewed (0)