Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for readUtf8 (0.15 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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. 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("/")) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  3. 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()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K 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,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
Back to top