Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 102 for 0123456789_ (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/internal/pkgpath/pkgpath.go

    // encoding to the underscore encoding character.
    var v3UnderscoreCodes = map[byte]byte{
    	'_': '_',
    	'.': '0',
    	'/': '1',
    	'*': '2',
    	',': '3',
    	'{': '4',
    	'}': '5',
    	'[': '6',
    	']': '7',
    	'(': '8',
    	')': '9',
    	'"': 'a',
    	' ': 'b',
    	';': 'c',
    }
    
    // toSymbolV3 converts a package path using the third mangling scheme.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  8. src/os/env.go

    }
    
    // isShellSpecialVar reports whether the character identifies a special
    // shell variable such as $*.
    func isShellSpecialVar(c uint8) bool {
    	switch c {
    	case '*', '#', '$', '@', '!', '?', '-', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9':
    		return true
    	}
    	return false
    }
    
    // isAlphaNum reports whether the byte is an ASCII letter, number, or underscore.
    func isAlphaNum(c uint8) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/strings/strings_test.go

    	{"01234567", "01234567", 0},
    	{"x01234567", "01234567", 1},
    	{"x0123456x01234567", "01234567", 9},
    	{"xx01234567"[:9], "01234567", -1},
    	{"", "0123456789", -1},
    	{"3214567844", "0123456789", -1},
    	{"0123456789", "0123456789", 0},
    	{"x0123456789", "0123456789", 1},
    	{"x012345678x0123456789", "0123456789", 11},
    	{"xyz0123456789"[:12], "0123456789", -1},
    	{"x01234567x89", "0123456789", -1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. src/syscall/dirent_test.go

    func TestDirent(t *testing.T) {
    	const (
    		direntBufSize   = 2048 // arbitrary? See https://go.dev/issue/37323.
    		filenameMinSize = 11
    	)
    
    	d := t.TempDir()
    	t.Logf("tmpdir: %s", d)
    
    	for i, c := range []byte("0123456789") {
    		name := string(bytes.Repeat([]byte{c}, filenameMinSize+i))
    		err := os.WriteFile(filepath.Join(d, name), nil, 0644)
    		if err != nil {
    			t.Fatalf("writefile: %v", err)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top