- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 450 for olur (0.01 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/IgnoreJRERequirement.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 02 18:21:28 GMT 2025 - 1.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Runnables.java
/* * If we inline this, it's not longer a singleton under Android (at least under the Marshmallow * version that we're testing under) or J2CL. * * That's not necessarily a real-world problem, but it does break our tests. */ @SuppressWarnings({"InlineLambdaConstant", "UnnecessaryLambda"}) private static final Runnable EMPTY_RUNNABLE = () -> {}; /** Returns a {@link Runnable} instance that does nothing when run. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Aug 05 15:30:14 GMT 2025 - 1.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
*/ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.Nullable; /** * An unhashable object to be used in testing as values in our collections. * * @author Regina O'Dell */ @GwtCompatible public class UnhashableObject implements Comparable<UnhashableObject> { private final int value; public UnhashableObject(int value) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 10 20:12:40 GMT 2025 - 1.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ConsumingQueueIterator.java
ConsumingQueueIterator(Queue<T> queue) { this.queue = checkNotNull(queue); } @Override protected @Nullable T computeNext() { // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker. if (queue.isEmpty()) { return endOfData(); } return queue.remove(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.4K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt
.groupBy { it.major } .map { (_, v) -> listOf(v.maxOrNull()!!.format()) }.flatten() } private fun VersionNumber.format() = // reformat according to our versioning scheme, since toString() would typically convert 1.0 to 1.0.0 // starting with Gradle 9.0, the version number is always 3 digits (SemVer)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Sep 10 06:04:09 GMT 2025 - 3.3K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
mockWebServer.dispatcher = dispatcher val url = mockWebServer.url("/").toUrl() val conn = url.openConnection() as HttpURLConnection conn.responseCode // Force the connection to hit the "server". // Make sure our dispatcher got the request. assertThat(requestsMade.size).isEqualTo(1) } @Test fun outOfOrderResponses() { val firstResponseCode = AtomicInteger() val secondResponseCode = AtomicInteger()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.2K bytes - Click Count (1) -
guava-tests/test/com/google/common/collect/LegacyComparable.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A class that implements {@code Comparable} without generics, such as those found in libraries * that support Java 1.4 and before. Our library needs to do the bare minimum to accommodate such * types, though their use may still require an explicit type parameter and/or warning suppression. * * @author Kevin Bourrillion */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerTest.java
MapMaker maker = new MapMaker(); assertThrows(IllegalArgumentException.class, () -> maker.initialCapacity(-1)); } // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation) public void xtestInitialCapacity_setTwice() { MapMaker maker = new MapMaker().initialCapacity(16); try { // even to the same value is not allowed maker.initialCapacity(16); fail();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
* Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known * bugs in OpenJDK 6 or higher. * * @author Kevin Bourrillion */ // TODO(cpovirk): consider renaming this class in light of our now running it under newer JDKs. @AndroidIncompatible // test-suite builders public class OpenJdk6MapTests extends TestsForMapsInJavaUtil { public static Test suite() { return new OpenJdk6MapTests().allTests(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests. public class MapForEachTester<K, V> extends AbstractMapTester<K, V> { @CollectionFeature.Require(KNOWN_ORDER) public void testForEachKnownOrder() { List<Entry<K, V>> entries = new ArrayList<>();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 3.4K bytes - Click Count (0)