Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 0123456789ABCDEF (0.19 sec)

  1. src/archive/tar/strconv_test.go

    		{" \x0000003\x00", 3, true},
    		{"00000000227\x00", 0227, true},
    		{"032033\x00 ", 032033, true},
    		{"320330\x00 ", 0320330, true},
    		{"0000660\x00 ", 0660, true},
    		{"\x00 0000660\x00 ", 0660, true},
    		{"0123456789abcdef", 0, false},
    		{"0123456789\x00abcdef", 0, false},
    		{"01234567\x0089abcdef", 342391, true},
    		{"0123\x7e\x5f\x264123", 0, false},
    	}
    
    	for _, v := range vectors {
    		var p parser
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    				for i := 0; i < b.N; i++ {
    					LastIndexAny(x[:k], cs[:j])
    				}
    			})
    		}
    	}
    }
    
    func BenchmarkTrimASCII(b *testing.B) {
    	cs := "0123456789abcdef"
    	for k := 1; k <= 4096; k <<= 4 {
    		for j := 1; j <= 16; j <<= 1 {
    			b.Run(fmt.Sprintf("%d:%d", k, j), func(b *testing.B) {
    				x := Repeat([]byte(cs[:j]), k) // Always matches set
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/endtoend_test.go

    func isHexes(s string) bool {
    	if s == "" {
    		return false
    	}
    	if s == "empty" {
    		return true
    	}
    	for _, f := range strings.Split(s, " or ") {
    		if f == "" || len(f)%2 != 0 || strings.TrimLeft(f, "0123456789abcdef") != "" {
    			return false
    		}
    	}
    	return true
    }
    
    // It would be nice if the error messages always began with
    // the standard file:line: prefix,
    // but that's not where we are today.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top