Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 146 for abc (0.01 sec)

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

          MockResponse(socketPolicy = ResetStreamAtStart(ErrorCode.REFUSED_STREAM.httpCode)),
        )
        server.enqueue(MockResponse(body = "abc"))
    
        val request = Request(server.url("/"))
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("abc")
        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. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            text = "abc";
            queries = new String[] { "abc" };
            assertEquals("<strong>abc</strong>", viewHelper.replaceHighlightQueries(text, queries));
    
            text = "1ABC2";
            queries = new String[] { "abc" };
            assertEquals("1<strong>abc</strong>2", viewHelper.replaceHighlightQueries(text, queries));
    
            text = "abc on exy";
            queries = new String[] { "on" };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

    @Tag("Slowish")
    class MultipartReaderTest {
      @Test fun `parse multipart`() {
        val multipart =
          """
          |--simple boundary
          |Content-Type: text/plain; charset=utf-8
          |Content-ID: abc
          |
          |abcd
          |efgh
          |--simple boundary
          |Content-Type: text/plain; charset=utf-8
          |Content-ID: ijk
          |
          |ijkl
          |mnop
          |
          |--simple boundary--
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            assertEquals("", documentHelper.getContent(null, responseData, "\t \t", dataMap));
            assertEquals("123 abc", documentHelper.getContent(null, responseData, " 123 abc ", dataMap));
            assertEquals("123 あいう", documentHelper.getContent(null, responseData, " 123 あいう ", dataMap));
            assertEquals("123 abc", documentHelper.getContent(null, responseData, " 123\nabc ", dataMap));
        }
    
        public void test_getContent_maxAlphanum() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            .url(server.url("/"))
            .addHeader("Original-Header", "foo")
            .method("PUT", "abc".toRequestBody("text/plain".toMediaType()))
            .build()
        client.newCall(request).execute()
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.body.readUtf8()).isEqualTo("ABC")
        assertThat(recordedRequest.headers["Original-Header"]).isEqualTo("foo")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

        this.server = server
      }
    
      @Test
      fun suspendCall() {
        runTest {
          server.enqueue(MockResponse(body = "abc"))
    
          val call = client.newCall(request)
    
          call.executeAsync().use {
            withContext(Dispatchers.IO) {
              assertThat(it.body.string()).isEqualTo("abc")
            }
          }
        }
      }
    
      @Test
      fun timeoutCall() {
        runTest {
          server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        server.enqueue(
          MockResponse.Builder()
            .body("abc")
            .build(),
        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
        response.body.close()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  8. src/bytes/example_test.go

    }
    
    func ExampleToValidUTF8() {
    	fmt.Printf("%s\n", bytes.ToValidUTF8([]byte("abc"), []byte("\uFFFD")))
    	fmt.Printf("%s\n", bytes.ToValidUTF8([]byte("a\xffb\xC0\xAFc\xff"), []byte("")))
    	fmt.Printf("%s\n", bytes.ToValidUTF8([]byte("\xed\xa0\x80"), []byte("abc")))
    	// Output:
    	// abc
    	// abc
    	// abc
    }
    
    func ExampleTrim() {
    	fmt.Printf("[%q]", bytes.Trim([]byte(" !!! Achtung! Achtung! !!! "), "! "))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

          Headers.Builder()
            .add("WWW-Authenticate", "Other abc==")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate"))
          .isEqualTo(
            listOf(Challenge("Other", mapOf(null to "abc=="))),
          )
      }
    
      @Test fun token68AndAuthParams() {
        val headers =
          Headers.Builder()
            .add("WWW-Authenticate", "Other abc==, realm=myrealm")
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertEquals("abc", fessXpathTransformer.removeCommentTag("abc"));
            assertEquals("abc ", fessXpathTransformer.removeCommentTag("abc<!-- foo -->"));
            assertEquals("abc 123", fessXpathTransformer.removeCommentTag("abc<!-- fo\no -->123"));
            assertEquals("abc 123", fessXpathTransformer.removeCommentTag("abc<!--\n foo -->123"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
Back to top