- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for intpp (0.09 sec)
-
src/encoding/json/decode_test.go
{Name(""), (*int)(nil), `null`, nil}, {Name(""), new(*int), `null`, new(*int)}, {Name(""), (**int)(nil), `null`, nil}, {Name(""), intp(1), `null`, nil}, {Name(""), intpp(nil), `null`, intpp(nil)}, {Name(""), intpp(intp(1)), `null`, intpp(nil)}, } for _, tt := range tests { t.Run(tt.Name, func(t *testing.T) { b := struct{ X any }{tt.pre} blob := `{"X":` + tt.json + `}`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
src/strconv/atoc_test.go
{"+0x1.fffffffffffff8p1023+0x1.fffffffffffff8p1023i", infpp, ErrRange}, {"+0x1.fffffffffffff8p1023-0x1.fffffffffffff8p1023i", infpm, ErrRange}, {"-0x1fffffffffffff.8p+971+0x1fffffffffffff.8p+971i", infmp, ErrRange}, {"-0x1fffffffffffff8p+967-0x1fffffffffffff8p+967i", infmm, ErrRange}, // a little too large {"1e308+1e308i", 1e+308 + 1e+308i, nil}, {"2e308+2e308i", infpp, ErrRange}, {"1e309+1e309i", infpp, ErrRange},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 03 23:05:51 UTC 2020 - 6.8K bytes - Viewed (0) -
test/nilcheck.go
type Empty1 struct { Empty } var ( intp *int arrayp *[10]int array0p *[0]int bigarrayp *[1 << 26]int structp *Struct bigstructp *BigStruct emptyp *Empty empty1p *Empty1 ) func f1() { _ = *intp // ERROR "nil check" _ = *arrayp // ERROR "nil check" _ = *array0p // ERROR "nil check" _ = *array0p // ERROR "nil check" _ = *intp // ERROR "nil check"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 30 18:41:59 UTC 2022 - 3.7K bytes - Viewed (0) -
test/nilptr2.go
V = x } var tests = []struct{ name string fn func() }{ // Edit .+1,/^}/s/^[^ ].+/ {"&", func() { println(&) }},\n {"\&&", func() { println(\&&) }},/g {"*intp", func() { println(*intp) }}, {"&*intp", func() { println(&*intp) }}, {"*slicep", func() { println(*slicep) }}, {"&*slicep", func() { println(&*slicep) }}, {"(*slicep)[0]", func() { println((*slicep)[0]) }}, {"&(*slicep)[0]", func() { println(&(*slicep)[0]) }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 03:02:33 UTC 2019 - 3.6K bytes - Viewed (0) -
test/nilptr3.go
Z string } type Empty struct { } type Empty1 struct { Empty } var ( intp *int arrayp *[10]int array0p *[0]int bigarrayp *[1 << 26]int structp *Struct bigstructp *BigStruct emptyp *Empty empty1p *Empty1 ) func f1() { _ = *intp // ERROR "generated nil check" // This one should be removed but the block copy needs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 03 07:01:02 UTC 2018 - 6.2K bytes - Viewed (0) -
test/live.go
type pstruct struct { intp *int _ [8]byte } func f30(b bool) { // live temp during printintpointer(p): // the internal iterator pointer if a pointer to pstruct in pstructarr // can not be easily computed by strength reduction. if b { for _, p := range pstructarr { // ERROR "stack object .autotmp_[0-9]+ \[10\]pstruct$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 18K bytes - Viewed (0) -
test/live_regabi.go
type pstruct struct { intp *int _ [8]byte } func f30(b bool) { // live temp during printintpointer(p): // the internal iterator pointer if a pointer to pstruct in pstructarr // can not be easily computed by strength reduction. if b { for _, p := range pstructarr { // ERROR "stack object .autotmp_[0-9]+ \[10\]pstruct$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 18.4K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
deleted: true, activeUpdate: &UpdatePodOptions{ Pod: withDeletionTimestamp(newNamedPod("1", "ns", "running-pod", false), time.Unix(1, 0), intp(15)), KillPodOptions: &KillPodOptions{PodTerminationGracePeriodSecondsOverride: intp(15)}, }, }), expectKnownTerminated: true, }, { name: "a running pod is terminated when an eviction is requested", update: UpdatePodOptions{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0)