Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for images (0.17 sec)

  1. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

            if (testClass != null) {
              access.registerAsUsed(testClass)
              registerTest(access, testClass)
            }
          } catch (e: Exception) {
            // If you throw an exception here then native image building fails half way through
            // silently without rewriting the binary. So we report noisily, but keep going and prefer
            // running most tests still.
            e.printStackTrace()
          }
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. settings.gradle.kts

    val graalBuild: String by settings
    val loomBuild: String by settings
    
    if (androidBuild.toBoolean()) {
      include(":regression-test")
    }
    
    if (graalBuild.toBoolean()) {
      include(":native-image-tests")
    }
    
    include(":okcurl")
    include(":okhttp")
    include(":okhttp-bom")
    include(":okhttp-brotli")
    include(":okhttp-coroutines")
    include(":okhttp-dnsoverhttps")
    include(":okhttp-hpacktests")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. docs/changelogs/upgrading_to_okhttp_4.md

    Unfortunately it crashes on OkHttp 4.x’s bytecode. Until [Google’s bug][advanced_profiling_bug] is
    fixed you must disable advanced profiling in Android Studio.
    
    ![Disable Advanced Profiling](../assets/images/******@****.***)
    
    
    R8 / ProGuard
    -------------
    
    R8 and ProGuard are both code optimizers for `.class` files.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  4. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

    import org.junit.platform.launcher.listeners.SummaryGeneratingListener
    
    /**
     * Graal main method to run tests with minimal reflection and automatic settings.
     * Uses the test list in native-image-tests/src/main/resources/testlist.txt.
     */
    fun main(vararg args: String) {
      System.setProperty("junit.jupiter.extensions.autodetection.enabled", "true")
    
      val inputFile = if (args.isNotEmpty()) File(args[0]) else null
    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)
  5. docs/recipes.md

          fun run() {
            // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
            val requestBody = MultipartBody.Builder()
                .setType(MultipartBody.FORM)
                .addFormDataPart("title", "Square Logo")
                .addFormDataPart("image", "logo-square.png",
                    File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG))
                .build()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  6. okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp/native-image.properties

    Jesse Wilson <******@****.***> 1703114827 -0500
    Properties
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 122 bytes
    - Viewed (0)
  7. native-image-tests/README.md

    Native Image Tests
    ==================
    
    This executes OkHttp's test suite inside a Graalvm image.
    
    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)
  8. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

          file.name.endsWith(".css") -> "text/css"
          file.name.endsWith(".gif") -> "image/gif"
          file.name.endsWith(".html") -> "text/html"
          file.name.endsWith(".jpeg") -> "image/jpeg"
          file.name.endsWith(".jpg") -> "image/jpeg"
          file.name.endsWith(".js") -> "application/javascript"
          file.name.endsWith(".png") -> "image/png"
          else -> "text/plain"
        }
      }
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

    import java.util.concurrent.Executors
    import okhttp3.Dispatcher
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.containers.BasicMockServerTest.Companion.MOCKSERVER_IMAGE
    import okhttp3.containers.BasicMockServerTest.Companion.trustMockServer
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 11:15:46 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  10. .devcontainer/devcontainer.json

    {
      "image": "mcr.microsoft.com/devcontainers/java:17-bookworm",
      "features": {
          "ghcr.io/devcontainers/features/java:1": {
              "version": "17"
          }
      },
      "customizations": {
          "vscode": {
              "settings": {
                  "java.server.launchMode": "Standard"
              },
              "extensions": [
                  "vscjava.vscode-java-pack",
                  "vscjava.vscode-gradle"
              ]
          }
      }
    Json
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 429 bytes
    - Viewed (0)
Back to top