Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for bbbb (0.06 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  4. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            }
    
            /**
             * @return Returns the bbb.
             */
            public String getBbb() {
                return bbb;
            }
    
            /**
             * @param bbb
             *            The bbb to set.
             */
            public void setBbb(final String bbb) {
                this.bbb = bbb;
            }
    
            /**
             * @return Returns the ccc.
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            assertEquals("(aaa OR bbb)", getAsQuery(Collections.singletonMap(k, new String[] { "aaa bbb" })));
            assertEquals("(aaa OR bbb) ccc", getAsQuery(Collections.singletonMap(k, new String[] { "aaa bbb", "ccc" })));
            assertEquals("(aaa OR bbb) (ccc OR ddd)", getAsQuery(Collections.singletonMap(k, new String[] { "aaa bbb", "ccc ddd" })));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertEquals("2", null, ResourceUtil.getExtension("aaa"));
        }
    
        /**
         * @throws Exception
         */
        public void testRemoteExtension() throws Exception {
            assertEquals("1", "aaa/bbb", ResourceUtil.removeExtension("aaa/bbb.xml"));
            assertEquals("2", "aaa/bbb", ResourceUtil.removeExtension("aaa/bbb"));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top