- Sort Score
- Result 10 results
- Languages All
Results 2811 - 2820 of 3,587 for findall (0.29 sec)
-
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
* * @author Louis Wasserman */ @GwtCompatible @NullMarked public class GeneralRangeTest extends TestCase { private static final Ordering<@Nullable Integer> ORDERING = Ordering.<Integer>natural().<Integer>nullsFirst(); private static final List<@Nullable Integer> IN_ORDER_VALUES = unmodifiableList(Arrays.<@Nullable Integer>asList(null, 1, 2, 3, 4, 5)); public void testCreateEmptyRangeFails() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
cmd/streaming-v4-unsigned.go
"strings" ) // newUnsignedV4ChunkedReader returns a new s3UnsignedChunkedReader that translates the data read from r // out of HTTP "chunked" format before returning it. // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read. func newUnsignedV4ChunkedReader(req *http.Request, trailer bool, signature bool) (io.ReadCloser, APIErrorCode) { if signature {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 03 14:55:52 UTC 2025 - 6.3K bytes - Viewed (0) -
mockwebserver-junit4/README.md
``` testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.1.0") ``` Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation: ``` @Rule public final MockWebServerRule serverRule = new MockWebServerRule(); ``` The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance will be shut down automatically after the test runs.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 706 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* period or an interrupt while waiting for the expected event will result in a {@link * RuntimeException}. * * <p>Here's an example that tests a {@code finalize} method: * * {@snippet : * final CountDownLatch latch = new CountDownLatch(1); * Object x = new MyClass() { * ... * protected void finalize() { latch.countDown(); ... } * }; * x = null; // Hint to the JIT that x is stack-unreachable
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/ImmutableSetTest.java
.expectCollects(ImmutableSet.of("a", "b", "c", "d"), "a", "b", "a", "c", "b", "b", "d"); } public void testToImmutableSet_duplicates() { class TypeWithDuplicates { final int a; final int b; TypeWithDuplicates(int a, int b) { this.a = a; this.b = b; } @Override public int hashCode() { return a; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
assertFalse(result); } /** * Test thread safety of enum */ public void test_threadSafety() throws Exception { final int threadCount = 100; final int iterationsPerThread = 1000; final Set<Exception> exceptions = new HashSet<>(); Thread[] threads = new Thread[threadCount]; for (int i = 0; i < threadCount; i++) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
jobExecutor.shutdown(); assertEquals(3, shutdownCount.get()); } public void test_shutdownListener_interface() { // Test anonymous ShutdownListener implementation final AtomicBoolean flag = new AtomicBoolean(false); ShutdownListener listener = new ShutdownListener() { @Override public void onShutdown() { flag.set(true); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
private interface One {} private interface Two {} private interface Three {} private interface Four {} private interface Five {} static final class Impl implements One, Two, Three, Four, Five, Serializable { final int value; Impl(int value) { this.value = value; } @Override public boolean equals(@Nullable Object obj) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// When RuntimeCIFSException finalException = new RuntimeCIFSException("Final error", intermediateCause); // Then assertEquals(intermediateCause, finalException.getCause()); assertEquals(rootCause, finalException.getCause().getCause()); assertEquals("Final error", finalException.getMessage()); assertEquals("Intermediate", intermediateCause.getMessage());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
* "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap}</a>. * * @author Mike Bostock * @since 2.0 */ @GwtCompatible @J2ktIncompatible public final class EnumBiMap<K extends Enum<K>, V extends Enum<V>> extends AbstractBiMap<K, V> { /* * J2CL's EnumMap does not need the Class instance, so we can use Object.class instead. (Or we
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0)