- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 81 for 0123456789_ (0.23 sec)
-
src/internal/syscall/windows/registry/registry_test.go
package registry_test import ( "bytes" "crypto/rand" "os" "syscall" "testing" "unsafe" "internal/syscall/windows/registry" ) func randKeyName(prefix string) string { const numbers = "0123456789" buf := make([]byte, 10) rand.Read(buf) for i, b := range buf { buf[i] = numbers[b%byte(len(numbers))] } return prefix + string(buf) } func TestReadSubKeyNames(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 19:19:00 UTC 2024 - 18.5K bytes - Viewed (0) -
src/time/zoneinfo.go
func tzsetName(s string) (string, string, bool) { if len(s) == 0 { return "", "", false } if s[0] != '<' { for i, r := range s { switch r { case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ',', '-', '+': if i < 3 { return "", "", false } return s[:i], s[i:], true } } if len(s) < 3 { return "", "", false } return s, "", true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 18.2K bytes - Viewed (0) -
src/reflect/all_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/math/big/ratconv_test.go
{"1", false, false, 0, 10, nil, '1'}, {"e0", false, false, 0, 10, nil, 0}, {"E1", false, false, 1, 10, nil, 0}, {"e+10", false, false, 10, 10, nil, 0}, {"e-10", false, false, -10, 10, nil, 0}, {"e123456789a", false, false, 123456789, 10, nil, 'a'}, {"p", false, false, 0, 10, nil, 'p'}, {"P+100", false, false, 0, 10, nil, 'P'}, {"p0", true, false, 0, 2, nil, 0}, {"P-123", true, false, -123, 2, nil, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 22:16:34 UTC 2023 - 19.3K bytes - Viewed (0) -
src/regexp/exec_test.go
continue Reading } case ':': var ok bool if _, flag, ok = strings.Cut(flag[1:], ":"); !ok { t.Logf("skip: %s", line) continue Reading } case 'C', 'N', 'T', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9': t.Logf("skip: %s", line) continue Reading } // Can check field count now that we've handled the myriad comment formats. if len(field) < 4 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 20.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go
code := suffix[0] suffix = suffix[1:] // Codes [AFM] have an integer operand. var index int switch code { case opAt, opField, opMethod, opTypeParam: rest := strings.TrimLeft(suffix, "0123456789") numerals := suffix[:len(suffix)-len(rest)] suffix = rest i, err := strconv.Atoi(numerals) if err != nil { return nil, fmt.Errorf("invalid path: bad numeric operand %q for code %q", numerals, code)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys_test.go
} }) } } func TestStatSymlink(t *testing.T) { testenv.MustHaveSymlink(t) initOverlay(t, `{ "Replace": {"file.go": "symlink"} } -- to.go -- 0123456789 `) // Create symlink if err := os.Symlink("to.go", "symlink"); err != nil { t.Error(err) } f := "file.go" fi, err := Stat(f) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:52:11 UTC 2023 - 29.1K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build.go
// The % is for Jenkins. See golang.org/issue/16959. // The ! is because module paths may use them. See golang.org/issue/26716. // The ~ and ^ are for sr.ht. See golang.org/issue/32260. const safeString = "+-.,/0123456789=ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz:$@%! ~^" func safeCgoName(s string) bool { if s == "" { return false } for i := 0; i < len(s); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 17:39:23 UTC 2023 - 26.8K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
C byte P2 [7]byte P3 struct { F [8]float32 } } func TestBlankFields(t *testing.T) { for _, enc := range encoders { t.Run(enc.name, func(t *testing.T) { b1 := BlankFields{A: 1234567890, B: 2.718281828, C: 42} buf, err := enc.fn(LittleEndian, &b1) if err != nil { t.Error(err) } // zero values must have been written for blank fields var p BlankFieldsProbe
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0) -
pkg/apis/networking/validation/validation_test.go
"invalid ingress.ports.port (int)": makeNetworkPolicyCustom(setIngressPorts(makePort(&protocolTCP, intstr.FromInt32(123456789), 0))), "invalid ingress.ports.port (str)": makeNetworkPolicyCustom( setIngressPorts(makePort(&protocolTCP, intstr.FromString("!@#$"), 0))),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 73.3K bytes - Viewed (0)