- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 531 for Fun (0.01 sec)
-
guava-tests/test/com/google/common/eventbus/StringCatcher.java
import java.util.List; import junit.framework.Assert; import org.checkerframework.checker.nullness.qual.Nullable; /** * A simple EventSubscriber mock that records Strings. * * <p>For testing fun, also includes a landmine method that EventBus tests are required not * to call ({@link #methodWithoutAnnotation(String)}). * * @author Cliff Biffle */ public class StringCatcher {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 16 22:49:59 UTC 2018 - 1.4K bytes - Viewed (0) -
tests/test_tutorial/test_dataclasses/test_tutorial002.py
assert response.status_code == 200 assert response.json() == { "name": "Island In The Moon", "price": 12.99, "description": "A place to be playin' and havin' fun", "tags": ["breater"], "tax": None, } def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Jul 31 14:09:15 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Callback.kt
* timeout. Because networks can fail during an exchange, it is possible that the remote server * accepted the request before the failure. */ fun onFailure( call: Call, e: IOException, ) /** * Called when the HTTP response was successfully returned by the remote server. The callback may
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* > GeneralizedTime. */ internal val time: DerAdapter<Long> = object : DerAdapter<Long> { override fun matches(header: DerHeader): Boolean { return Adapters.UTC_TIME.matches(header) || Adapters.GENERALIZED_TIME.matches(header) } override fun fromDer(reader: DerReader): Long { val peekHeader = reader.peekHeader()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/DoubleInetAddressDns.kt
/** * A network that always resolves two IP addresses per host. Use this when testing route selection * fallbacks to guarantee that a fallback address is available. */ class DoubleInetAddressDns : Dns { override fun lookup(hostname: String): List<InetAddress> { val addresses = Dns.SYSTEM.lookup(hostname) return listOf(addresses[0], addresses[0]) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Dec 23 10:26:25 UTC 2023 - 1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/RecordingAuthenticator.kt
private val authentication: PasswordAuthentication? = PasswordAuthentication( "username", "password".toCharArray(), ), ) : Authenticator() { val calls = mutableListOf<String>() override fun getPasswordAuthentication(): PasswordAuthentication? { calls.add( "host=$requestingHost port=$requestingPort site=${requestingSite.hostName} " + "url=$requestingURL type=$requestorType prompt=$requestingPrompt " +
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
val sections: String, val ranges: String, val mappings: String, ) { /** * Returns true if the [codePoint] was applied successfully. Returns false if it was disallowed. */ fun map( codePoint: Int, sink: BufferedSink, ): Boolean { val sectionsIndex = findSectionsIndex(codePoint) val rangesPosition = sections.read14BitInt(sectionsIndex + 2) val rangesLimit =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 11:39:58 UTC 2024 - 9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/graal/GraalSvm.kt
@Delete class TargetJdk8WithJettyBootPlatform @TargetClass(OpenJSSEPlatform::class) @Delete class TargetOpenJSSEPlatform @TargetClass(Platform.Companion::class) class TargetPlatform { @Substitute fun findPlatform(): Platform { return Jdk9Platform.buildIfSupported()!! }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/graal/OkHttpFeature.kt
/** * Automatic configuration of OkHttp for native images. * * Currently, includes all necessary resources. */ class OkHttpFeature : Feature { @IgnoreJRERequirement override fun beforeAnalysis(access: Feature.BeforeAnalysisAccess?) { RuntimeResourceAccess.addResource( ClassLoader.getSystemClassLoader().getUnnamedModule(), "okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz", )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.2K bytes - Viewed (0)