Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for SELECT (0.12 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

       */
      @Throws(IOException::class)
      fun processNextEvent(): Boolean {
        var id = lastId
        var type: String? = null
        val data = Buffer()
    
        while (true) {
          when (source.select(options)) {
            in 0..2 -> {
              completeEvent(id, type, data)
              return true
            }
    
            in 3..4 -> {
              source.readData(data)
            }
    
            in 5..7 -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt

      }
    
      @Test
      fun proxySelector() {
        server.enqueue(MockResponse.Builder().body("abc").build())
        val proxySelector: ProxySelector =
          object : ProxySelector() {
            override fun select(uri: URI) = listOf(socksProxy.proxy())
    
            override fun connectFailed(
              uri: URI,
              socketAddress: SocketAddress,
              e: IOException,
            ) = error("unexpected call")
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. .github/workflows/ci.yml

            with:
              # For discussion, see the first setup-java block.
              # The publish-snapshot workflow doesn't run tests, so we don't have to care which version Maven would select for that step.
              java-version: 24
              distribution: 'temurin'
              server-id: sonatype-nexus-snapshots
              server-username: CI_DEPLOY_USERNAME
              server-password: CI_DEPLOY_PASSWORD
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. android-test/src/androidTest/README.md

    ...
    BUILD SUCCESSFUL in 1m 30s
    63 actionable tasks: 61 executed, 2 up-to-date
    
    ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

      @Test fun sharesRouteDatabase() {
        val client =
          OkHttpClient
            .Builder()
            .build()
        val proxySelector: ProxySelector =
          object : ProxySelector() {
            override fun select(uri: URI): List<Proxy> = listOf()
    
            override fun connectFailed(
              uri: URI,
              socketAddress: SocketAddress,
              e: IOException,
            ) {}
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. maven-tests/mvnw

    # Download and Install Apache Maven
    verbose "Couldn't find MAVEN_HOME, downloading and installing it ..."
    verbose "Downloading from: $distributionUrl"
    verbose "Downloading to: $TMP_DOWNLOAD_DIR/$distributionUrlName"
    
    # select .zip or .tar.gz
    if ! command -v unzip >/dev/null; then
      distributionUrl="${distributionUrl%.zip}.tar.gz"
      distributionUrlName="${distributionUrl##*/}"
    fi
    
    # verbose opt
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            return;
          }
    
          Document document = Jsoup.parse(response.body().string(), url.toString());
          for (Element element : document.select("a[href]")) {
            String href = element.attr("href");
            HttpUrl link = response.request().url().resolve(href);
            if (link == null) continue; // URL is either invalid or its scheme isn't http/https.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    ): String = String.format(Locale.US, format, *args)
    
    /**
     * will also strip BOM from the source
     */
    @Throws(IOException::class)
    internal fun BufferedSource.readBomAsCharset(default: Charset): Charset =
      when (select(UNICODE_BOMS)) {
        // a mapping from the index of encoding methods in UNICODE_BOMS to its corresponding encoding method
        0 -> UTF_8
        1 -> UTF_16BE
        2 -> UTF_32LE
        3 -> UTF_16LE
        4 -> UTF_32BE
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. README.md

        }
    ```
    
    Maven and JVM Projects
    ----------------------
    
    OkHttp is published as a Kotlin Multiplatform project. While Gradle handles this automatically,
    Maven projects must select between `okhttp-jvm` and `okhttp-android`. The `okhttp` artifact will be empty in
    Maven projects.
    
    ```xml
    <dependencyManagement>
      <dependencies>
        <dependency>
          <groupId>com.squareup.okhttp3</groupId>
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

        }
    
        // ===================================================================================
        //                                                                              Select
        //                                                                              ======
        @Override
        protected int delegateSelectCountUniquely(final ConditionBean cb) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top