- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 451 for olur (0.06 seconds)
-
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/src/com/google/common/reflect/Types.java
* {@link TypeVariableImpl#equals(Object)} is changed to no longer be equal to custom TypeVariable * implementations. As a result, we need to make sure our TypeVariable implementation respects * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our * implementation unless some of its bounds have changed in resolution. This avoids creatingCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
service.runSecondBarrier.await(); assertThrows(CancellationException.class, () -> future.get()); // An execution exception holds a runtime exception (from throwables.propagate) that holds our // original exception. assertEquals(service.runException, service.failureCause()); assertEquals(Service.State.FAILED, service.state()); } public void testFailOnExceptionFromStartUp() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
service.runSecondBarrier.await(); assertThrows(CancellationException.class, () -> future.get()); // An execution exception holds a runtime exception (from throwables.propagate) that holds our // original exception. assertEquals(service.runException, service.failureCause()); assertEquals(Service.State.FAILED, service.state()); } public void testFailOnExceptionFromStartUp() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K 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)