- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Hit (0.15 sec)
-
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()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
i = end } while (i < newline) i++ } } } private fun loggerTag(loggerName: String): String { // We need to handle long logger names before they hit Log. // java.lang.IllegalArgumentException: Log tag "okhttp3.mockwebserver.MockWebServer" exceeds limit of 23 characters return knownLoggers[loggerName] ?: loggerName.take(23) } fun enable() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
* created. * * **[Network Count:][networkCount]** the number of those requests that required network use. * * **[Hit Count:][hitCount]** the number of those requests whose responses were served by the * cache. * * Sometimes a request will result in a conditional cache hit. If the cache contains a stale copy of * the response, the client will issue a conditional `GET`. The server will then send either
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0) -
Jenkinsfile.s390x
runITsTasks[stageId] = { node('s390x') { stage("${stageLabel}") { echo "NODE_NAME = ${env.NODE_NAME}" // on Windows, need a short path or we hit 256 character limit for paths // using EXECUTOR_NUMBER guarantees that concurrent builds on same agent // will not trample each other plus workaround for JENKINS-52657
Plain Text - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sun Mar 03 21:28:30 GMT 2024 - 7.7K bytes - Viewed (0) -
Jenkinsfile
node(jenkinsEnv.nodeSelection(osLabel)) { stage("${stageLabel}") { echo "NODE_NAME = ${env.NODE_NAME}" // on Windows, need a short path or we hit 256 character limit for paths // using EXECUTOR_NUMBER guarantees that concurrent builds on same agent // will not trample each other plus workaround for JENKINS-52657
Plain Text - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sun Mar 03 21:28:30 GMT 2024 - 8.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
* have reached a limit, this returns [END_OF_DATA]. */ internal fun readHeader(): DerHeader { require(peekedHeader == null) // We've hit a local limit. if (byteCount == limit) return END_OF_DATA // We've exhausted the source stream. if (limit == -1L && source.exhausted()) return END_OF_DATA // Read the tag.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
} fileToClose?.closeQuietly() } } companion object { // TODO(jwilson): what to do about timeouts? They could be different and unfortunately when any // timeout is hit we like to tear down the whole stream. private const val SOURCE_UPSTREAM = 1 private const val SOURCE_FILE = 2 @JvmField val PREFIX_CLEAN = "OkHttp cache v1\n".encodeUtf8()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.8K bytes - Viewed (0) -
CONTRIBUTING.md
its dependencies and the rest of the system. - Rarely, If the tests fail at this stage, we cannot merge the code. - If needed, we may come to you to make some changes. At times, it may not be you, it may be us who may have hit a snag. Please be patient while we work to fix this. - Once the internal tests pass, we go ahead and merge the code internally as well as externally on GitHub.
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
docs/en/docs/python-types.md
Was it `upper`? Was it `uppercase`? `first_uppercase`? `capitalize`? Then, you try with the old programmer's friend, editor autocompletion. You type the first parameter of the function, `first_name`, then a dot (`.`) and then hit `Ctrl+Space` to trigger the completion. But, sadly, you get nothing useful: <img src="/img/python-types/image01.png"> ### Add types Let's modify a single line from the previous version.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
} private fun testRequestMethod( requestMethod: String, expectCached: Boolean, withOverride: Boolean = false, ) { // 1. Seed the cache (potentially). // 2. Expect a cache hit or miss. server.enqueue( MockResponse.Builder() .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) .addHeader("X-Response-ID: 1") .build(), ) server.enqueue(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0)