- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 116 for IgnoreJRERequirement (0.27 seconds)
-
android/guava/src/com/google/common/util/concurrent/Internal.java
import com.google.common.annotations.J2ktIncompatible; import java.time.Duration; /** This class is for {@code com.google.common.util.concurrent} use only! */ @J2ktIncompatible @GwtIncompatible // java.time.Duration @IgnoreJRERequirement // We use this method only from within APIs that require a Duration. final class Internal { /** * Returns the number of nanoseconds of the given duration without throwing or overflowing. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java
@Ignore("test runners must not instantiate and run this directly, only via suites we build") // @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 CollectionForEachTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(absent = KNOWN_ORDER) public void testForEachUnknownOrder() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 2.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
* href="https://github.com/google/guava#guava-google-core-libraries-for-java">flavor</a>) */ @GwtIncompatible @J2ktIncompatible @CanIgnoreReturnValue @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents. @Beta // TODO: b/288085449 - Remove @Beta after we're sure that Java 8 APIs are safe for Android public FakeTicker advance(Duration duration) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/base/Internal.java
*/ // We use this method only for cases in which we need to decompose to primitives. @SuppressWarnings({"GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive"}) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
import javax.net.ssl.X509TrustManager import okhttp3.internal.platform.Platform import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement object TlsUtil { val password = "password".toCharArray() private val localhost: HandshakeCertificates by lazy { // Generate a self-signed cert for the server to serve and the client to trust.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (1) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
val algorithm: AlgorithmIdentifier, val subjectPublicKey: BitString, ) @IgnoreJRERequirement // As of AGP 3.4.1, D8 desugars API 24 hashCode methods. internal data class Extension( val id: String, val critical: Boolean, val value: Any?, ) @IgnoreJRERequirement // As of AGP 3.4.1, D8 desugars API 24 hashCode methods. internal data class BasicConstraints(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
import java.util.function.Supplier; import java.util.stream.Collector; import org.jspecify.annotations.Nullable; /** Collectors utilities for {@code common.collect.Table} internals. */ @GwtCompatible @IgnoreJRERequirement // used only from APIs with Java 8 types in them final class TableCollectors { static <T extends @Nullable Object, R, C, V> Collector<T, ?, ImmutableTable<R, C, V>> toImmutableTable(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
* without needing a separate VM or classloader. */ @IgnoreJRERequirement // used only when Path is available (and only from tests) @VisibleForTesting static void testMakingUserPermissionsFromScratch() throws IOException { // All we're testing is whether it throws. FileAttribute<?> unused = JavaNioCreator.userPermissions().get(); } @IgnoreJRERequirement // used only when Path is available
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Optional.java
* * @since 33.4.0 (but since 21.0 in the JRE flavor) */ @SuppressWarnings("NullableOptional") // Null passthrough is reasonable for type conversions @IgnoreJRERequirement // Users will use this only if they're already using Optional. public static <T> @Nullable Optional<T> fromJavaUtil( java.util.@Nullable Optional<T> javaUtilOptional) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
}, (Multiset<E> multiset) -> copyOfSortedEntries(comparator, multiset.entrySet())); } @IgnoreJRERequirement // helper for toImmutableSortedMultiset /* * If we make these calls inline inside toImmutableSortedMultiset, we get an Animal Sniffer error, * despite the @IgnoreJRERequirement annotation there. My assumption is that, because javacCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 35.2K bytes - Click Count (0)