- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 282 for able (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertEquals("Should be able to peek() at first element", "A", peekingIterator.peek()); assertEquals( "Should be able to peek() first element multiple times", "A", peekingIterator.peek()); assertEquals( "next() should still return first element after peeking", "A", peekingIterator.next()); assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertEquals("Should be able to peek() at first element", "A", peekingIterator.peek()); assertEquals( "Should be able to peek() first element multiple times", "A", peekingIterator.peek()); assertEquals( "next() should still return first element after peeking", "A", peekingIterator.next()); assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
for (byte[] buffer : buffers) { BufferCache.releaseBuffer(buffer); } // Then - Should be able to get buffers again byte[] newBuffer = BufferCache.getBuffer(); assertNotNull(newBuffer, "Should be able to get buffer after release"); assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, newBuffer.length, "Buffer should have correct size"); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
// Read some data assertEquals('T', stream.read()); // Close should be ignored stream.close(); // Should still be able to read assertEquals('e', stream.read()); assertEquals('s', stream.read()); assertEquals('t', stream.read()); } public void test_read_delegatesToUnderlying() throws IOException {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SpecialRandom.java
* limitations under the License. */ package com.google.common.collect; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * Utility class for being able to seed a {@link Random} value with a passed in seed from a * benchmark parameter. * * <p>TODO: Remove this class once Caliper has a better way. * * @author Nicholaus Shupe */ @NullUnmarkedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Subscribe.java
* be primitive. If this annotation is applied to methods with zero parameters, or more than one * parameter, the object containing the method will not be able to register for event delivery from * the {@link EventBus}. * * <p>Unless also annotated with @{@link AllowConcurrentEvents}, event subscriber methods will be * invoked serially by each event bus that they are registered with.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 15:46:17 UTC 2025 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/Subscribe.java
* be primitive. If this annotation is applied to methods with zero parameters, or more than one * parameter, the object containing the method will not be able to register for event delivery from * the {@link EventBus}. * * <p>Unless also annotated with @{@link AllowConcurrentEvents}, event subscriber methods will be * invoked serially by each event bus that they are registered with.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 15:46:17 UTC 2025 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
total += buf.remaining(); Java8Compatibility.clear(buf); } return total; } // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able // to reuse buffers, others would be able to size them more appropriately than the constant // defaults /** * Copies all characters between the {@link Reader} and {@link StringBuilder} objects. Does not * close or flush the reader.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 13:56:24 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Success should reset counter assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordSuccess(username, ip); // Should be able to fail 3 more times before lockout for (int i = 0; i < 3; i++) { assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordFailure(username, ip); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
} finally { monitor.leave(); } } else { // It is possible due to races that we are currently in the expected state even though we // timed out. e.g. if we weren't event able to grab the lock within the timeout we would never // even check the guard. I don't think we care too much about this use case but it could lead // to a confusing error message.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0)