- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for newApi (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
/** * Returns the last value corresponding to the specified field parsed as an HTTP date, or null if * either the field is absent or cannot be parsed as a date. */ @Suppress("NewApi") @IgnoreJRERequirement // Only programs that already have Instant will use this. fun getInstant(name: String): Instant? = getDate(name)?.toInstant() /** Returns the number of field values. */ @get:JvmName("size")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
import okhttp3.Protocol import okhttp3.internal.SuppressSignatureCheck /** * OpenJDK 9+ and JDK8 build 252+. * * This may also be used for Android tests with Robolectric. */ @Suppress("NewApi") open class Jdk9Platform : Platform() { @SuppressSignatureCheck override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<@JvmSuppressWildcards Protocol>, ) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 3.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* all must complete within one timeout period. * * The default value is 0 which imposes no timeout. */ @Suppress("NewApi") @IgnoreJRERequirement fun callTimeout(duration: Duration) = apply { callTimeout(duration.toMillis(), MILLISECONDS) } /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSource.java
* * @throws IOException if an I/O error occurs while opening the stream * @since 33.4.0 (but since 22.0 in the JRE flavor) */ @MustBeClosed // If users use this when they shouldn't, we hope that NewApi will catch subsequent Stream calls. @IgnoreJRERequirement public Stream<String> lines() throws IOException { BufferedReader reader = openBufferedStream();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 25.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
open fun getSelectedProtocol(sslSocket: SSLSocket): String? = null /** For MockWebServer. This returns the inbound SNI names. */ @Suppress("NewApi") @IgnoreJRERequirement // This function is overridden to require API >= 24. open fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> { val session = sslSocket.session as? ExtendedSSLSession ?: return listOf()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 8.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
@VisibleForTesting // We call the method only after checking that it's present. @IgnoreJRERequirement @SuppressWarnings({ "Java8ApiChecker", "NewApi", // This method is a helper, which we call from a `finally` block, as recommended. "ReachabilityFenceUsage", }) static void reachabilityFence(@Nullable Object o) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
* and that there are no unexpected items. */ private fun <T> inAnyOrder(items: Array<out T>): Matcher<Iterable<T>> = Matchers.containsInAnyOrder(*items) fun newApi(thing: String, desc: String): String = "$thing ${describe(thing, desc)}: New public API in 2.0 (@Incubating)" fun added(thing: String, desc: String): List<String> = listOf(Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 11:30:48 GMT 2026 - 18.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
* @return a stream over the segments split from the parameter * @since 33.4.0 (but since 28.2 in the JRE flavor) */ // If users use this when they shouldn't, we hope that NewApi will catch subsequent Stream calls. @IgnoreJRERequirement public Stream<String> splitToStream(CharSequence sequence) { // Can't use Streams.stream() from base
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* by startup time. * @since 33.4.0 (but since 31.0 in the JRE flavor) */ @J2ObjCIncompatible // If users use this when they shouldn't, we hope that NewApi will catch subsequent Duration calls @IgnoreJRERequirement public ImmutableMap<Service, Duration> startupDurations() { return ImmutableMap.copyOf(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 33.2K bytes - Click Count (1) -
android/guava/src/com/google/common/primitives/Doubles.java
public Double get(int index) { checkElementIndex(index, size()); return array[start + index]; } @Override /* * This is an override that is not directly visible to callers, so NewApi will catch calls to * Collection.spliterator() where necessary. */ @IgnoreJRERequirement public Spliterator.OfDouble spliterator() { return Spliterators.spliterator(array, start, end, 0);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 27.8K bytes - Click Count (0)