Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 162 for abcdg (0.05 sec)

  1. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testConcat() throws IOException {
        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
        assertEquals(expected, CharSource.concat(c1, c2, c3).read());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. cmd/signature-v4-parser_test.go

    		},
    		// Test Case - 4.
    		// Test case with AccessKey of length 2.
    		{
    			inputCredentialStr: generateCredentialStr(
    				"^#",
    				UTCNow().Format(yyyymmdd),
    				"ABCD",
    				"ABCD",
    				"ABCD"),
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrInvalidAccessKeyID,
    		},
    		// Test Case - 5.
    		// Test case with invalid date format date.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. internal/ringbuffer/ring_buffer_test.go

    		t.Fatalf("expect 4 abcd but got %s. r.w=%d, r.r=%d", rb.Bytes(nil), rb.w, rb.r)
    	}
    
    	// check empty or full
    	if rb.IsEmpty() {
    		t.Fatalf("expect IsEmpty is false but got true")
    	}
    	if rb.IsFull() {
    		t.Fatalf("expect IsFull is false but got true")
    	}
    
    	// write 48 bytes, should full
    	n, err = rb.Write([]byte(strings.Repeat("abcd", 12)))
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. internal/s3select/sql/stringfuncs_contrib_test.go

    func TestEvalSQLSubstring(t *testing.T) {
    	evalCases := []struct {
    		s           string
    		startIdx    int
    		length      int
    		resExpected string
    		errExpected error
    	}{
    		{"abcd", 1, 1, "a", nil},
    		{"abcd", -1, 1, "a", nil},
    		{"abcd", 999, 999, "", nil},
    		{"", 999, 999, "", nil},
    		{"测试abc", 1, 1, "测", nil},
    		{"测试abc", 5, 5, "c", nil},
    	}
    
    	for i, tc := range evalCases {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    		{bucketNames[1], objectNames[0], uploadIDs[3], 1, "abcd", "e2fc714c4727ee9395f324cd2e7f331f", int64(len("abcd")), "e2fc714c4727ee9395f324cd2e7f331f"},
    		// Case 8-13.
    		// Generating parts for different objects.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst(charactersOf("acdb")), "acdb");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("db")), "db");
      }
    
      @Test
      public void forGraph_breadthFirst_multiGraph() {
        Traverser<Character> traverser = Traverser.forGraph(MULTI_GRAPH);
        assertEqualCharNodes(traverser.breadthFirst('a'), "abcd");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst(charactersOf("acdb")), "acdb");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("db")), "db");
      }
    
      @Test
      public void forGraph_breadthFirst_multiGraph() {
        Traverser<Character> traverser = Traverser.forGraph(MULTI_GRAPH);
        assertEqualCharNodes(traverser.breadthFirst('a'), "abcd");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  8. test/fixedbugs/bug346.go

    		if a != 1 || b != 2 || c != 3 || d != 4 {
    			println("1# abcd: expected 1 2 3 4 got", a, b, c, d)
    			os.Exit(1)
    		}
    	}
    	// Test real closure.
    	{
    		x := 4
    		gf = func(i int) (p int, q int, r int, s int) { return 1, i, 3, x }
    
    		a, b, c, d := gf(2)
    
    		if a != 1 || b != 2 || c != 3 || d != 4 {
    			println("2# abcd: expected 1 2 3 4 got", a, b, c, d)
    			os.Exit(1)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 13 12:12:18 UTC 2015
    - 743 bytes
    - Viewed (0)
  9. src/strings/search_test.go

    		{"", "", 0},
    		{"", "abc", 0},
    		{"abc", "", -1},
    		{"abc", "abc", 0},
    		{"d", "abcdefg", 3},
    		{"nan", "banana", 2},
    		{"pan", "anpanman", 2},
    		{"nnaaman", "anpanmanam", -1},
    		{"abcd", "abc", -1},
    		{"abcd", "bcd", -1},
    		{"bcd", "abcd", 1},
    		{"abc", "acca", -1},
    		{"aa", "aaa", 0},
    		{"baa", "aaaaa", -1},
    		{"at that", "which finally halts.  at that point", 22},
    	}
    
    	for _, tc := range testCases {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 01 21:52:00 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  10. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top