- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 669 for val2 (0.02 sec)
-
samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt
import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request class PostForm { private val client = OkHttpClient() fun run() { val formBody = FormBody .Builder() .add("search", "Jurassic Park") .build() val request = Request( url = "https://en.wikipedia.org/w/index.php".toHttpUrl(), body = formBody, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
class PublicSuffixDatabaseTest { private val publicSuffixDatabase = PublicSuffixDatabase.get() val pathForTests = okHttpRoot / "okhttp/src/jvmMain/resources" / PUBLIC_SUFFIX_RESOURCE @Before fun setUp() { beforePublicSuffixTest() } @Test fun allPublicSuffixes() { val buffer = Buffer() FileSystem.SYSTEM.read(pathForTests) { val length = readInt()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 8.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt
*/ @JvmField val minimumConcurrentCalls: Int = 0, /** How long to wait to retry pre-emptive connection attempts that fail. */ @JvmField val backoffDelayMillis: Long = 60 * 1000, /** How much jitter to introduce in connection retry backoff delays */ @JvmField val backoffJitterMillis: Int = 100,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt
import java.util.logging.Handler import java.util.logging.LogRecord object JsseDebugLogging { data class JsseDebugMessage( val message: String, val param: String?, ) { enum class Type { Handshake, Plaintext, Encrypted, Setup, Unknown, } val type: Type get() = when { message == "adding as trusted certificates" -> Type.Setup
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(1, ndrBuffer.getLength()); assertEquals((byte) 0xAB, buffer[0]); ndrBuffer.setIndex(0); // Reset index for reading int val = ndrBuffer.dec_ndr_small(); assertEquals(0xAB, val); assertEquals(1, ndrBuffer.getIndex()); } @Test void testEncDecNdrShort() { ndrBuffer.enc_ndr_short(0xABCD);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
docs/hu/docs/index.md
* Ellenőrzi hogy létezik a kötelező `price` nevű attribútum és `float`. * Ellenőrzi hogy létezik a `is_offer` nevű opcionális paraméter, ami ha létezik akkor `bool` * Ez ágyazott JSON objektumokkal is működik * JSONről való automatikus konvertálás. * dokumentáljuk mindent OpenAPI-al amit használható: * Interaktív dokumentációs rendszerekkel. * Automatikus kliens kód generáló a rendszerekkel, több nyelven.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 20.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
/** * An override to ignore the normal order that is enforced. * EventListeners added by Interceptors will not see all events. */ private val enforceOrder: Boolean = true, ) : EventListener() { val eventSequence: Deque<CallEvent> = ConcurrentLinkedDeque() private val forbiddenLocks = mutableListOf<Any>() /** The timestamp of the last taken event, used to measure elapsed time between events. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 9.5K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt
* * https://square.github.io/okhttp/ */ class OkHttpClientTest { @JvmField @RegisterExtension val platform = PlatformRule() @StartStop private val server = MockWebServer() @Test fun get() { server.enqueue(MockResponse(body = "hello, OkHttp")) val client = OkHttpClient() val request = Request .Builder() .url(server.url("/"))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
*/ @ParameterizedTest(name = "Encode and decode {0}") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE }) public void testEncodeWithVariousValues(long val) throws NdrException { NdrHyper hyper = new NdrHyper(val); // Create buffer with extra space for alignment NdrBuffer buf = new NdrBuffer(new byte[16], 0); hyper.encode(buf); // Reset buffer position for decoding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
okcurl/build.gradle.kts
plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("com.gradleup.shadow") } val testJavaVersion = System.getProperty("test.java.version", "21").toInt() val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") { from("src/main/resources-templates") into(layout.buildDirectory.dir("generated/resources-templates"))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:31:49 UTC 2025 - 1.6K bytes - Viewed (0)