Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 135 for ab2c (0.17 sec)

  1. misc/go_android_exec/exitcode_test.go

    	// Write text to the filter one character at a time.
    	var out strings.Builder
    	f, exitStr := newExitCodeFilter(&out)
    	// Embed a "fake" exit code in the middle to check that we don't get caught on it.
    	pre := "abc" + exitStr + "123def"
    	text := pre + exitStr + `1`
    	for i := 0; i < len(text); i++ {
    		_, err := f.Write([]byte{text[i]})
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/bufio/scan_test.go

    		}
    		err := s.Err()
    		if err != nil {
    			t.Errorf("#%d: %v", n, err)
    		}
    	}
    }
    
    var wordScanTests = []string{
    	"",
    	" ",
    	"\n",
    	"a",
    	" a ",
    	"abc def",
    	" abc def ",
    	" abc\tdef\nghi\rjkl\fmno\vpqr\u0085stu\u00a0\n",
    }
    
    // Test that the word splitter returns the same data as strings.Fields.
    func TestScanWords(t *testing.T) {
    	for n, test := range wordScanTests {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. okhttp-coroutines/src/test/kotlin/okhttp3/SuspendCallTest.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(
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Fri Apr 05 11:25:23 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. internal/ioutil/ioutil_test.go

    		expected string
    	}{
    		{bytes.NewBuffer([]byte("")), 0, ""},
    		{bytes.NewBuffer([]byte("")), 1, ""},
    		{bytes.NewBuffer([]byte("abc")), 0, "abc"},
    		{bytes.NewBuffer([]byte("abc")), 1, "bc"},
    		{bytes.NewBuffer([]byte("abc")), 2, "c"},
    		{bytes.NewBuffer([]byte("abc")), 3, ""},
    		{bytes.NewBuffer([]byte("abc")), 4, ""},
    	}
    	for i, testCase := range testCases {
    		r := NewSkipReader(testCase.src, testCase.skipLen)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 11:02:31 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. 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()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  6. 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"));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
  7. 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--
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  8. 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()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  9. utils/utils_test.go

    		{"uint8", uint8(math.MaxUint8), "255"},
    		{"uint16", uint16(math.MaxUint16), "65535"},
    		{"uint32", uint32(math.MaxUint32), "4294967295"},
    		{"uint64", uint64(math.MaxUint64), "18446744073709551615"},
    		{"string", "abc", "abc"},
    		{"other", true, ""},
    	}
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			if out := ToString(test.in); test.out != out {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Feb 19 03:42:25 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. cmd/object-api-multipart_test.go

    		{
    			bucketNames[0], "asia", "asia/europe/", "abc", "", 0,
    			ListMultipartsInfo{},
    			fmt.Errorf("Invalid combination of uploadID marker '%s' and marker '%s'", "abc", "asia/europe/"), false,
    		},
    		{
    			// Contains a base64 padding character
    			bucketNames[0], "asia", "asia/europe", "abc=", "", 0,
    			ListMultipartsInfo{},
    			fmt.Errorf("Malformed upload id %s", "abc="), false,
    		},
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
Back to top