- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for Bruns (0.18 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
internal fun inet6AddressToAscii(address: ByteArray): String { // Go through the address looking for the longest run of 0s. Each group is 2-bytes. // A run must be longer than one group (section 4.2.2). // If there are multiple equal runs, the first one must be used (section 4.2.3). var longestRunOffset = -1 var longestRunLength = 0 run { var i = 0 while (i < address.size) { val currentRunOffset = i
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
* Fix: Don't crash when running as a plugin in Android Studio Canary 4.1. To enable platform-specific TLS features OkHttp must detect whether it's running in a JVM or in Android. The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp! * Fix: Include the header `Accept: text/event-stream` for SSE calls. This header is not added if the request already contains an `Accept` header.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
mockwebserver-junit5/README.md
testRuntimeOnly("com.squareup.okhttp3:mockwebserver3-junit5:4.12.0") ``` Then in tests annotated `@org.junit.jupiter.api.Test`, you may add a [MockWebServer] as a test method parameter. It will be shut down automatically after the test runs. ``` class MyTest { @Test void test(MockWebServer server) { ... } } ``` Alternately you may add the [MockWebServer] as a constructor parameter: ``` class MyTest {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import kotlin.test.Test import okhttp3.HttpUrl.Companion.toHttpUrlOrNull /** Runs the web platform ToAscii tests. */ class WebPlatformToAsciiTest { @Suppress("ktlint:standard:max-line-length") val knownFailures = setOf( // OkHttp rejects empty labels. "x..xn--zca", "x..ß",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
*/ fun buildTestEngine(): TestEngine = JupiterTestEngine() /** * Returns a fixed set of test classes from testlist.txt, skipping any not found in the * current classpath. The IDE runs with less classes to avoid conflicting module ownership. */ fun testSelectors(inputFile: File? = null): List<DiscoverySelector> { val sampleTestClass = SampleTest::class.java val lines =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
import org.junit.jupiter.api.extension.ReflectiveInvocationContext import org.openjsse.net.ssl.OpenJSSE import org.opentest4j.TestAbortedException /** * Marks a test as Platform aware, before the test runs a consistent Platform will be * established e.g. SecurityProvider for Conscrypt installed. * * Also allows a test file to state general platform assumptions, or for individual test. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.3K bytes - Viewed (0) -
.github/workflows/build.yml
permissions: contents: read env: GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false" jobs: publish: runs-on: ubuntu-latest if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master' steps: - name: Checkout uses: actions/checkout@v4 - name: Configure JDK
Others - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 01:51:50 GMT 2024 - 17.2K bytes - Viewed (0) -
native-image-tests/README.md
Build the Native Image ---------------------- Compile the classes and metadata into a Graalvm native image. ``` ./gradlew --info native-image-tests:nativeImage ``` Execute ------- The native image runs JUnit 5 tests in the project. ``` ./native-image-tests/build/graal/ConsoleLauncher
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Oct 31 12:12:20 GMT 2020 - 393 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Protocol.kt
* provides support. */ QUIC("quic"), /** * HTTP/3 is the third and upcoming major version of the Hypertext Transfer Protocol used to * exchange information. HTTP/3 runs over QUIC, which is published as RFC 9000. * * HTTP/3 is not natively supported by OkHttp, but provided to allow a theoretical interceptor * that provides support. */ HTTP_3("h3"), ; /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:17:33 GMT 2024 - 4.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt
taskFaker.runTasks() assertThat(log).isEmpty() // At 100.µs, the coordinator runs the red task and starts a thread for the new coordinator. taskFaker.advanceUntil(100.µs) assertThat(log).containsExactly("red:run@100000") assertThat(taskFaker.executeCallCount).isEqualTo(2) // At 200.µs, the blue task runs. taskFaker.advanceUntil(200.µs)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 29 00:33:04 GMT 2024 - 23K bytes - Viewed (0)