- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for bbbb (0.06 sec)
-
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) -
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) -
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) -
guava-tests/test/com/google/common/collect/MapsCollectionTest.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 32.2K bytes - Viewed (0) -
src/text/tabwriter/tabwriter_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 16:46:34 UTC 2024 - 13.8K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java
value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code); assertEquals("<pre class=\"prettyprint linenums:11\">bbb\nccc</pre>", value); code = "L10:aaa\nL11:bbb\nL12:ccc..."; value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code); assertEquals("<pre class=\"prettyprint linenums:10\">aaa\nbbb</pre>", value); code = "aaa\nL11:bbb\nL12:ccc...";
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/LineIteratorTest.java
@Test public void test() throws Exception { final StringReader reader = new StringReader("aaa\nbbb\nccc\n"); final LineIterator it = new LineIterator(reader); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("aaa")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("bbb")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("ccc"));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
*/ @Test public void testForEachLineIterator() throws Exception { final StringReader reader = new StringReader("aaa\nbbb\nccc\n"); for (final Indexed<String> indexed : indexed(iterable(reader))) { System.out.println(indexed.getIndex()); System.out.println(indexed.getElement()); } }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
final String[] array = StringUtil.split("aaa\nbbb", "\n"); assertEquals("1", 2, array.length); assertEquals("2", "aaa", array[0]); assertEquals("3", "bbb", array[1]); } /** * */ @Test public void testSplit2() { final String[] array = StringUtil.split("aaa, bbb", ", "); assertEquals("1", 2, array.length);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0)