Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for readUTF8 (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        val response1 = client.newCall(request).execute()
        val in1 = response1.body.source()
        assertThat(in1.readUtf8("I love ".length.toLong())).isEqualTo("I love ")
        in1.skip("puppies but hate ".length.toLong())
        assertThat(in1.readUtf8("spiders".length.toLong())).isEqualTo("spiders")
        assertThat(in1.exhausted()).isTrue()
        in1.close()
        assertThat(cache.writeSuccessCount()).isEqualTo(1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        assertThat(body1.readUtf8()).isEqualTo("abc")
        body1.timeout().deadline(5, TimeUnit.SECONDS)
    
        // Call 2: check for the absence of a deadline on the request body.
        val request2 = Request.Builder().url(server.url("/")).build()
        val response2 = client.newCall(request2).execute()
        val body2 = response2.body.source()
        assertThat(body2.readUtf8()).isEqualTo("def")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                final String autoExpandReplicas) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            String source = FileUtil.readUTF8(indexConfigFile);
            String dictionaryPath = System.getProperty("fess.dictionary.path", StringUtil.EMPTY);
            if (StringUtil.isNotBlank(dictionaryPath) && !dictionaryPath.endsWith("/")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            .onResponseEnd(ShutdownConnection)
            .build(),
        )
        assertFailsWith<ProtocolException> {
          val response = getResponse(newRequest("/"))
          response.body.source().readUtf8(5)
        }
      }
    
      private fun testConnectViaSocketFactory(useHttps: Boolean) {
        val uselessSocketFactory: SocketFactory =
          object : SocketFactory() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top