Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for abcd (0.02 sec)

  1. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |--simple boundary
          |
          |efgh
          |--simple boundary--
          """.trimMargin()
            .replace("\n", "\r\n")
            .replace(Regex("(?m)abcd\r\n"), "abcd\n")
    
        val parts =
          MultipartReader(
            boundary = "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)
  2. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst('b'), "bcda");
        assertEqualCharNodes(traverser.breadthFirst('c'), "cdab");
        assertEqualCharNodes(traverser.breadthFirst('d'), "dabc");
      }
    
      @Test
      public void forGraph_breadthFirstIterable_twoCycles() {
        Traverser<Character> traverser = Traverser.forGraph(TWO_CYCLES_GRAPH);
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("a")), "abcd");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst('b'), "bcda");
        assertEqualCharNodes(traverser.breadthFirst('c'), "cdab");
        assertEqualCharNodes(traverser.breadthFirst('d'), "dabc");
      }
    
      @Test
      public void forGraph_breadthFirstIterable_twoCycles() {
        Traverser<Character> traverser = Traverser.forGraph(TWO_CYCLES_GRAPH);
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("a")), "abcd");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  4. internal/hash/reader_test.go

    		err               error
    	}{
    		0: {
    			desc:       "Success, no checksum verification provided.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    			actualSize: 4,
    		},
    		{
    			desc:       "Failure md5 mismatch.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    			actualSize: 4,
    			md5hex:     "d41d8cd98f00b204e9800998ecf8427f",
    			err: BadDigest{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. cmd/utils_test.go

    		commonPrefix string
    	}{
    		{[]string{"", ""}, ""},
    		{[]string{"a", "b"}, ""},
    		{[]string{"a", "a"}, "a"},
    		{[]string{"a/", "a/"}, "a/"},
    		{[]string{"abcd/", ""}, ""},
    		{[]string{"abcd/foo/", "abcd/bar/"}, "abcd/"},
    		{[]string{"abcd/foo/bar/", "abcd/foo/bar/zoo"}, "abcd/foo/bar/"},
    	}
    
    	for i, test := range testCases {
    		foundPrefix := lcp(test.prefixes, true)
    		if foundPrefix != test.commonPrefix {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. cmd/object-api-putobject_test.go

    		9: {
    			bucketName: bucket, objName: object, inputData: []byte("abcd"),
    			inputMeta: map[string]string{"etag": "900150983cd24fb0d6963f7d28e17f73"}, inputDataSize: int64(len("abcd") - 1),
    			expectedError: ioutil.ErrOverread,
    		},
    
    		// Validating for success cases.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser_test.go

    		{
    			inputCredentialStr:  "Credential=abc",
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrCredMalformed,
    		},
    		// Test Case - 4.
    		// Test case with AccessKey of length 2.
    		{
    			inputCredentialStr: generateCredentialStr(
    				"^#",
    				UTCNow().Format(yyyymmdd),
    				"ABCD",
    				"ABCD",
    				"ABCD"),
    			expectedCredentials: credentialHeader{},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer_test.go

    	}
    	rb.Write([]byte(strings.Repeat("abcd", 15)))
    
    	if !bytes.Equal(rb.Bytes(nil), []byte("bcd"+strings.Repeat("abcd", 15))) {
    		t.Fatalf("expect 63 ... but got %s. r.w=%d, r.r=%d", rb.Bytes(nil), rb.w, rb.r)
    	}
    
    	rb.Reset()
    	n, err = rb.Write([]byte(strings.Repeat("abcd", 16)))
    	if err != nil {
    		t.Fatalf("write failed: %v", err)
    	}
    	if n != 64 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle-handlers_test.go

    				Message:  "Access Denied.",
    			},
    			shouldPass: false,
    		},
    		// GET wrong credentials
    		{
    			method: http.MethodGet, bucketName: bucketName,
    			accessKey:          "abcd",
    			secretKey:          "abcd",
    			expectedRespStatus: http.StatusForbidden,
    			lifecycleResponse:  []byte(""),
    			errorResponse: APIErrorResponse{
    				Resource: SlashSeparator + bucketName + SlashSeparator,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. cmd/erasure-object_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	// Upload a good object
    	_, err = obj.DeleteObject(ctx, bucket, object, ObjectOptions{})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Create "obj" under "bucket".
    	_, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader([]byte("abcd")), int64(len("abcd")), "", ""), opts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top