Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for abbbbc (0.39 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testSubstringFromLast() throws Exception {
            assertEquals("ab", StringUtil.substringFromLast("abc", "c"));
            assertEquals("abcab", StringUtil.substringFromLast("abcabc", "c"));
            assertEquals("abc", StringUtil.substringFromLast("abc", ""));
            assertEquals("abc", StringUtil.substringFromLast("abc", null));
            assertEquals("abc", StringUtil.substringFromLast("abc", "dddd"));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/text/tabwriter/tabwriter_test.go

    	},
    
    	{
    		"12b",
    		2, 0, 0, ' ', 0,
    		"a\tb\tc\n" +
    			"aa\tbbb\tcccc\n" +
    			"aaa\tbbbb\n",
    
    		"a  b  c\n" +
    			"aa bbbcccc\n" +
    			"aaabbbb\n",
    	},
    
    	{
    		"12c",
    		8, 0, 1, '_', 0,
    		"a\tb\tc\n" +
    			"aa\tbbb\tcccc\n" +
    			"aaa\tbbbb\n",
    
    		"a_______b_______c\n" +
    			"aa______bbb_____cccc\n" +
    			"aaa_____bbbb\n",
    	},
    
    	{
    		"13a",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. cmd/utils_test.go

    		}
    	}
    }
    
    // Test queries()
    func TestQueries(t *testing.T) {
    	testCases := []struct {
    		keys      []string
    		keyvalues []string
    	}{
    		{
    			[]string{"aaaa", "bbbb"},
    			[]string{"aaaa", "{aaaa:.*}", "bbbb", "{bbbb:.*}"},
    		},
    	}
    
    	for i, test := range testCases {
    		keyvalues := restQueries(test.keys...)
    		for j := range keyvalues {
    			if keyvalues[j] != test.keyvalues[j] {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        createNewCacheWithSize(10)
        set("a", "a", "aaa") // size 4
        set("b", "bb", "bbbb") // size 6
        assertThat(cache.size()).isEqualTo(10)
    
        // Cause the size to grow to 12 should evict 'A'.
        set("c", "c", "c")
        cache.flush()
        assertThat(cache.size()).isEqualTo(8)
        assertAbsent("a")
        assertValue("b", "bb", "bbbb")
        assertValue("c", "c", "c")
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  5. cmd/utils.go

    	}
    
    	return logger.SetReqInfo(r.Context(), reqInfo)
    }
    
    // Used for registering with rest handlers (have a look at registerStorageRESTHandlers for usage example)
    // If it is passed ["aaaa", "bbbb"], it returns ["aaaa", "{aaaa:.*}", "bbbb", "{bbbb:.*}"]
    func restQueries(keys ...string) []string {
    	var accumulator []string
    	for _, key := range keys {
    		accumulator = append(accumulator, key, "{"+key+":.*}")
    	}
    	return accumulator
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        return new SampleElements<>(
                            mapEntry("a", 1),
                            mapEntry("aa", 2),
                            mapEntry("aba", 3),
                            mapEntry("bbbb", 4),
                            mapEntry("ccccc", 5));
                      }
    
                      @Override
                      public SortedMap<String, Integer> create(Object... elements) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  7. src/testing/testing.go

    		// AAABBB or BBBAAA on the pipe, not something like AABBBA.
    		// However, the exception to this is when the pipe fills: in that
    		// case, Go's use of non-blocking I/O means that writing AAA
    		// or BBB might be split across multiple system calls, making it
    		// entirely possible to get output like AABBBA. The same problem
    		// happens inside the operating system kernel if we switch to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  8. src/regexp/all_test.go

    		}
    	}
    }
    
    func BenchmarkMatchClass_InRange(b *testing.B) {
    	b.StopTimer()
    	// 'b' is between 'a' and 'c', so the charclass
    	// range checking is no help here.
    	x := strings.Repeat("bbbb", 20) + "c"
    	re := MustCompile("[ac]")
    	b.StartTimer()
    	for i := 0; i < b.N; i++ {
    		if !re.MatchString(x) {
    			b.Fatalf("no match!")
    		}
    	}
    }
    
    func BenchmarkReplaceAll(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/asm6.go

    	{ASARL, yshl, Px, opBytes{0xd1, 07, 0xc1, 07, 0xd3, 07, 0xd3, 07}},
    	{ASARQ, yshl, Pw, opBytes{0xd1, 07, 0xc1, 07, 0xd3, 07, 0xd3, 07}},
    	{ASARW, yshl, Pe, opBytes{0xd1, 07, 0xc1, 07, 0xd3, 07, 0xd3, 07}},
    	{ASBBB, yxorb, Pb, opBytes{0x1c, 0x80, 03, 0x18, 0x1a}},
    	{ASBBL, yaddl, Px, opBytes{0x83, 03, 0x1d, 0x81, 03, 0x19, 0x1b}},
    	{ASBBQ, yaddl, Pw, opBytes{0x83, 03, 0x1d, 0x81, 03, 0x19, 0x1b}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    ABB9          ; mapped                 ; 13E9          # 8.0  CHEROKEE SMALL LETTER WA
    ABBA          ; mapped                 ; 13EA          # 8.0  CHEROKEE SMALL LETTER WE
    ABBB          ; mapped                 ; 13EB          # 8.0  CHEROKEE SMALL LETTER WI
    ABBC          ; mapped                 ; 13EC          # 8.0  CHEROKEE SMALL LETTER WO
    ABBD          ; mapped                 ; 13ED          # 8.0  CHEROKEE SMALL LETTER WU
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
Back to top