Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val response1 = call1.execute()
        val response2 = call2.execute()
        assertThat(response1.body.source().readUtf8(3)).isEqualTo("ABC")
        assertThat(response2.body.source().readUtf8(3)).isEqualTo("GHI")
        assertThat(response1.body.source().readUtf8(3)).isEqualTo("DEF")
        assertThat(response2.body.source().readUtf8(3)).isEqualTo("JKL")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        connection.writePingAndAwaitPong()
        assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android"))
        val source = stream.getSource().buffer()
        assertThat(source.readUtf8(5)).isEqualTo("robot")
        stream.getSink().close()
        assertThat(connection.openStreamCount()).isEqualTo(0)
    
        // Verify the peer received what was expected.
        val synStream = peer.takeFrame()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      ) = cacheDir / "$key.$index.tmp"
    
      private fun readFile(file: Path): String {
        return filesystem.read(file) {
          readUtf8()
        }
      }
    
      private fun readFileOrNull(file: Path): String? {
        return try {
          filesystem.read(file) {
            readUtf8()
          }
        } catch (_: FileNotFoundException) {
          null
        }
      }
    
      fun writeFile(
        file: Path,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top