- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 686 for clears (0.05 sec)
-
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
*/ @Override protected final char @Nullable [] escape(int cp) { if (cp < replacementsLength) { char[] chars = replacements[cp]; if (chars != null) { return chars; } } if (cp >= safeMin && cp <= safeMax) { return null; } return escapeUnsafe(cp); } /* Overridden for performance. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* } * public void testFooLeak() { * GcFinalization.awaitClear(fooWeakRef()); * } * } * * <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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSetTest.java
import org.jspecify.annotations.Nullable; /** * Tests for {@code ForwardingSet}. * * @author Robert Konigsberg * @author Louis Wasserman */ @NullUnmarked 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.1K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EvictingQueue.java
* bounded queues, which either block or reject new elements when full. * * <p>This class is not thread-safe, and does not accept null elements. * * @author Kurt Alfred Kluever * @since 15.0 */ @GwtCompatible public final class EvictingQueue<E> extends ForwardingQueue<E> implements Serializable { private final Queue<E> delegate; @VisibleForTesting final int maxSize;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.6K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
} /** * Atomically removes all of the elements from this queue. The queue will be empty after this call * returns. */ @Override public void clear() { Monitor monitor = this.monitor; monitor.enter(); try { q.clear(); } finally { monitor.leave(); } } /** * Returns an iterator over the elements in this queue. The iterator does not return the elementsRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} public void testExecutors_nullCheck() throws Exception { new ClassSanityTester() .setDefault(RateLimiter.class, RateLimiter.create(1.0)) .forAllPublicStaticMethods(MoreExecutors.class) .thatReturn(Executor.class) .testNulls(); } private static class TestApplication extends Application { private final List<Thread> hooks = new ArrayList<>(); @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
* Emergency cleanup method to prevent memory leaks during finalization */ private void emergencyCleanup() { try { // Force usage count to zero this.usageCount.set(0); synchronized (this) { // Force disconnection this.connectionState.set(0); this.tid = -1; // Clear any cached resourcesRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
assertNotNull(result); // Hexdump uses uppercase letters // Note: completionFilter is displayed with 4 hex chars, not 8 assertTrue(result.contains("fid=0xFFFF")); assertTrue(result.contains("filter=0xFFFF")); // Only 4 hex chars are shown assertTrue(result.contains("watchTree=true")); } @Test @DisplayName("Test toString method with zero values")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0)