Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for 01234567 (0.08 sec)

  1. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            queries = new String[] { "123", "456" };
            assertEquals("<a><strong>123</strong><b><strong>456</strong><c>", viewHelper.replaceHighlightQueries(text, queries));
    
            text = "<123><456>";
            queries = new String[] { "123", "456" };
            assertEquals("<123><456>", viewHelper.replaceHighlightQueries(text, queries));
    
            text = "123<aaa 123>456<bbb 456>123";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        assertEquals("1.001 \u03bcs", stopwatch.toString());
        ticker.advance(8998);
        assertEquals("9.999 \u03bcs", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(1234567);
        assertEquals("1.235 ms", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(5000000000L);
        assertEquals("5.000 s", stopwatch.toString());
        stopwatch.reset();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

     *
     * @author Dimitris Andreou
     */
    public class AbstractStreamingHasherTest extends TestCase {
      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
        sink.putByte((byte) 1);
        sink.putBytes(new byte[] {2, 3, 4, 5, 6});
        sink.putByte((byte) 7);
        sink.putBytes(new byte[] {});
        sink.putBytes(new byte[] {8});
        HashCode unused = sink.hash();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java

            final TimeConverter converter = new TimeConverter("HH:mm:ss");
            final java.sql.Time result = (java.sql.Time) converter.getAsObject("12:34:56");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("12:34:56"));
        }
    
        /**
         * @throws Exception
         */
        public void testIsTarget() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        Table<Character, Integer, String> table = builder.build();
        assertThat(table.rowKeySet()).containsExactly('b', 'c', 'e', 'r', 'x').inOrder();
        assertThat(table.columnKeySet()).containsExactly(0, 1, 2, 3, 4, 5, 7).inOrder();
        assertThat(table.values())
            .containsExactly("cat", "axe", "baz", "tub", "dog", "bar", "foo", "foo", "bar")
            .inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
        CacheTesting.warmUp(cache, 0, 10);
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // re-order
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // evict 3, 4, 5
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. tests/sql_builder_test.go

    		t.Errorf("Failed to generate sql, got %v", sql)
    	}
    
    	stmt = dryRunDB.Model(&user).Where("id = ?", 1).Updates(map[string]interface{}{"age": ageFloat(0.12345678)}).Statement
    	sql = DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    	if !regexp.MustCompile(`.*age.*=0.123457,`).MatchString(sql) {
    		t.Errorf("Failed to generate sql, got %v", sql)
    	}
    }
    
    func TestGroupConditions(t *testing.T) {
    	type Pizza struct {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/StopwatchTest.java

        assertEquals("1.001 \u03bcs", stopwatch.toString());
        ticker.advance(8998);
        assertEquals("9.999 \u03bcs", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(1234567);
        assertEquals("1.235 ms", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(5000000000L);
        assertEquals("5.000 s", stopwatch.toString());
        stopwatch.reset();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    copy(dst, src []T) int
    copy(dst []byte, src string) int
    </pre>
    
    <p>
    Examples:
    </p>
    
    <pre>
    var a = [...]int{0, 1, 2, 3, 4, 5, 6, 7}
    var s = make([]int, 6)
    var b = make([]byte, 5)
    n1 := copy(s, a[0:])            // n1 == 6, s == []int{0, 1, 2, 3, 4, 5}
    n2 := copy(s, s[2:])            // n2 == 4, s == []int{2, 3, 4, 5, 4, 5}
    n3 := copy(b, "Hello, World!")  // n3 == 5, b == []byte("Hello")
    </pre>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/CopyUtilTest.java

    import java.net.URL;
    
    import org.codelibs.core.net.URLUtil;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class CopyUtilTest {
    
        static byte[] srcBytes = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
    
        static String srcString = "ABCDEFGHIJKLMN";
    
        static String urlString = "あいうえお";
    
        InputStream is = new ByteArrayInputStream(srcBytes);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top