Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for abcde (7.29 sec)

  1. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .build(),
        )
        val startNanos = System.nanoTime()
        val connection = server.url("/").toUrl().openConnection()
        connection.doOutput = true
        connection.getOutputStream().write("ABCDEF".toByteArray(UTF_8))
        val inputStream = connection.getInputStream()
        assertThat(inputStream.read()).isEqualTo(-1)
        val elapsedNanos = System.nanoTime() - startNanos
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  2. cmd/bucket-handlers_test.go

    			errorResponse: APIErrorResponse{},
    			shouldPass:    true,
    		},
    		// Test case - 2.
    		// Tests for signature mismatch error.
    		{
    			bucketName:         bucketName,
    			accessKey:          "abcd",
    			secretKey:          "abcd",
    			expectedRespStatus: http.StatusForbidden,
    			locationResponse:   []byte(""),
    			errorResponse: APIErrorResponse{
    				Resource: SlashSeparator + bucketName + SlashSeparator,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  3. cmd/object-handlers_test.go

    		// Creating sequence of parts for same uploadID.
    		{bucketName, objectName, uploadIDs[0], 1, "abcd", "e2fc714c4727ee9395f324cd2e7f331f", int64(len("abcd"))},
    		{bucketName, objectName, uploadIDs[0], 2, "efgh", "1f7690ebdd9b4caf8fab49ca1757bf27", int64(len("efgh"))},
    		{bucketName, objectName, uploadIDs[0], 3, "ijkl", "09a0877d04abf8759f99adec02baf579", int64(len("abcd"))},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin_test.go

    		},
    		{
    			name: "Empty",
    			args: args{ports: []string{}},
    			want: []string{},
    		},
    		{
    			name: "Non-parseable",
    			args: args{ports: []string{"abcd", "2345", "abcd"}},
    			want: []string{"abcd", "2345"},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := dedupPorts(tt.args.ports); !reflect.DeepEqual(got, tt.want) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. cmd/xl-storage_windows_test.go

    	"context"
    	"fmt"
    	"testing"
    )
    
    // Test if various paths work as expected when converted to UNC form
    func TestUNCPaths(t *testing.T) {
    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    		// Each path component must be <= 255 bytes long.
    		{string(bytes.Repeat([]byte("界"), 280)), false},
    		{`/p/q/r/s/t`, true},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    foo:////://///  s:foo p:////://///
    c:/foo  s:c p:/foo
    //foo/bar  s:http h:foo p:/bar
    http://foo/path;a??e#f#g  s:http h:foo p:/path;a q:??e f:#f#g
    http://foo/abcd?efgh?ijkl  s:http h:foo p:/abcd q:?efgh?ijkl
    http://foo/abcd#foo?bar  s:http h:foo p:/abcd f:#foo?bar
    [61:24:74]:98  s:http h:example.org p:/foo/[61:24:74]:98
    http:[61:27]/:foo  s:http h:example.org p:/foo/[61:27]/:foo
    http://[1::2]:3:4
    http://2001::1
    http://2001::1]
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun hostnameLowercaseCharactersMappedDirectly() {
        assertThat(parse("http://abcd").host).isEqualTo("abcd")
        assertThat(parse("http://σ").host).isEqualTo("xn--4xa")
      }
    
      @Test
      fun hostnameUppercaseCharactersConvertedToLowercase() {
        assertThat(parse("http://ABCD").host).isEqualTo("abcd")
        assertThat(parse("http://Σ").host).isEqualTo("xn--4xa")
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil_test.go

    		t.Error("DeadlineWriter shouldn't be successful - should return context.DeadlineExceeded")
    	}
    	w.Close()
    	w = NewDeadlineWriter(&sleepWriter{timeout: 100 * time.Millisecond}, 600*time.Millisecond)
    	n, err := w.Write([]byte("abcd"))
    	w.Close()
    	if err != nil {
    		t.Errorf("DeadlineWriter should succeed but failed with %s", err)
    	}
    	if n != 4 {
    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)
  9. cmd/xl-storage_test.go

    		},
    		// Empty filename name. - 11
    		{
    			volume, "", 14, 1, nil, errIsNotRegular,
    		},
    		// Non existent volume name - 12
    		{
    			"abcd", "", 14, 1, nil, errVolumeNotFound,
    		},
    		// Non existent filename - 13
    		{
    			volume, "abcd", 14, 1, nil, errFileNotFound,
    		},
    	}
    
    	// Create all files needed during testing.
    	appendFiles := testCases[:4]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RequestTest.kt

        assertThat(bodyToHex(body), "Retransmit body").isEqualTo("616263")
      }
    
      @Test
      fun byteArrayRange() {
        val contentType = "text/plain".toMediaType()
        val body: RequestBody = ".abcd".toByteArray().toRequestBody(contentType, 1, 3)
        assertThat(body.contentType()).isEqualTo(contentType)
        assertThat(body.contentLength()).isEqualTo(3)
        assertThat(bodyToHex(body)).isEqualTo("616263")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
Back to top