Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 110 for 0123456789_ (0.14 sec)

  1. src/unicode/utf8/utf8_test.go

    	s := []byte("0123456789")
    	for i := 0; i < b.N; i++ {
    		RuneCount(s)
    	}
    }
    
    func BenchmarkRuneCountTenJapaneseChars(b *testing.B) {
    	s := []byte("日本語日本語日本語日")
    	for i := 0; i < b.N; i++ {
    		RuneCount(s)
    	}
    }
    
    func BenchmarkRuneCountInStringTenASCIIChars(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		RuneCountInString("0123456789")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/stream/EncodedStream.java

     * Useful when streams are interpreted a text streams as it happens on IBM java for standard input.
     */
    public abstract class EncodedStream {
        private final static char[] HEX_DIGIT = new char[] {
            '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'
        };
    
        @SuppressWarnings("InputStreamSlowMultibyteRead")
        public static class EncodedInput extends InputStream {
    
            private final InputStream delegate;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/html/template/js_test.go

    	input := ("\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f" +
    		"\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f" +
    		` !"#$%&'()*+,-./` +
    		`0123456789:;<=>?` +
    		`@ABCDEFGHIJKLMNO` +
    		`PQRSTUVWXYZ[\]^_` +
    		"`abcdefghijklmno" +
    		"pqrstuvwxyz{|}~\x7f" +
    		"\u00A0\u0100\u2028\u2029\ufeff\U0001D11E")
    
    	tests := []struct {
    		name    string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. src/html/template/css_test.go

    }
    
    func TestCSSEscaper(t *testing.T) {
    	input := ("\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f" +
    		"\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f" +
    		` !"#$%&'()*+,-./` +
    		`0123456789:;<=>?` +
    		`@ABCDEFGHIJKLMNO` +
    		`PQRSTUVWXYZ[\]^_` +
    		"`abcdefghijklmno" +
    		"pqrstuvwxyz{|}~\x7f" +
    		"\u00A0\u0100\u2028\u2029\ufeff\U0001D11E")
    
    	want := ("\\0\x01\x02\x03\x04\x05\x06\x07" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:38:18 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HuffmanTest.kt

        val s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
        for (i in s.indices) {
          assertRoundTrip(s.substring(0, i).encodeUtf8())
        }
        val random = Random(123456789L)
        val buf = ByteArray(4096)
        random.nextBytes(buf)
        assertRoundTrip(buf.toByteString())
      }
    
      private fun assertRoundTrip(data: ByteString) {
        val encodeBuffer = Buffer()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testIsNumver() throws Exception {
            assertFalse(StringUtil.isNumber(null));
            assertTrue(StringUtil.isNumber("0123456789"));
            assertFalse(StringUtil.isNumber("aaaBBBccc"));
            assertFalse(StringUtil.isNumber("0123456789"));
            assertFalse(StringUtil.isNumber(""));
            assertFalse(StringUtil.isNumber("01234abcdef"));
            assertFalse(StringUtil.isNumber("abcdef01234"));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/conversions0.go

    )
    
    // numeric constant conversions are in const1.src.
    
    func string_conversions() {
    	const A = string(65)
    	assert(A == "A")
    	const E = string(-1)
    	assert(E == "\uFFFD")
    	assert(E == string(1234567890))
    
    	type myint int
    	assert(A == string(myint(65)))
    
    	type mystring string
    	const _ mystring = mystring("foo")
    
    	const _ = string(true /* ERROR "cannot convert" */ )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. test/codegen/strings.go

    	// 14648 = 0x3938
    	// amd64:`MOVQ\t\$3978425819141910832`,`MOVW\t\$14648`
    	bsink = []byte("0123456789")
    
    	// 1650538808 = 0x62613938
    	// amd64:`MOVQ\t\$3978425819141910832`,`MOVL\t\$1650538808`
    	bsink = []byte("0123456789ab")
    }
    
    // self-equality is always true. See issue 60777.
    func EqualSelf(s string) bool {
    	// amd64:`MOVL\t\$1, AX`,-`.*memequal.*`
    	return s == s
    }
    func NotEqualSelf(s string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:17:28 UTC 2023
    - 2.4K 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: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top