- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for s6$ (0.02 sec)
-
test/escape_struct_param1.go
// it distinguishes fields but because it knows that &s6 is the only // value reachable by two indirects from v. // The test depends on the level cap in the escape analysis tags // being able to encode that fact. func tUPPiSPPia() { s1 := "ant" s2 := "bat" s3 := "cat" s4 := "dog" s5 := "emu" s6 := "fox" // ERROR "moved to heap: s6$" ps2 := &s2 ps4 := &s4 ps6 := &s6 u1 := U{&s1, &ps2}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 8.9K bytes - Viewed (0) -
test/escape_struct_param2.go
s3 := "cat" // ERROR "moved to heap: s3$" s4 := "dog" // ERROR "moved to heap: s4$" s5 := "emu" // ERROR "moved to heap: s5$" s6 := "fox" // ERROR "moved to heap: s6$" ps2 := &s2 ps4 := &s4 // ERROR "moved to heap: ps4$" ps6 := &s6 // ERROR "moved to heap: ps6$" u1 := U{&s1, &ps2} u2 := &U{&s3, &ps4} // ERROR "&U{...} does not escape$" u3 := &U{&s5, &ps6} // ERROR "&U{...} escapes to heap$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 8.9K bytes - Viewed (0) -
src/internal/types/testdata/check/decls3.go
} type S4 struct { *S4 A int } // The X in S6 and S7 annihilate, but they also block the X in S8.S9. type S5 struct { S6 S7 S8 } type S6 struct { X int } type S7 S6 type S8 struct { S9 } type S9 struct { X int Y int } // The X in S11.S6 and S12.S6 annihilate, but they also block the X in S13.S8.S9. type S10 struct { S11
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 23:16:04 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/FileHierarchySetTest.groovy
!s5.contains(parent) flatten(s5) == [parent.path, "1:dir1", "1:dir"] def s6 = single.plus(tooMany) s6.contains(dir1) s6.contains(child) s6.contains(tooMany) !s6.contains(dir2) !s6.contains(tooFew) !s6.contains(parent) flatten(s6) == [parent.path, "1:dir1", "1:dir12"] } def "can add dir to multi set"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:38 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/asan_linkerx/main.go
println(*s) } func main() { all := []*string{ &S1, &S2, &S3, &S4, &S5, &S6, &S7, &S8, &S9, &S10, &p.S1, &p.S2, &p.S3, &p.S4, &p.S5, &p.S6, &p.S7, &p.S8, &p.S9, &p.S10, } for _, ps := range all { pstring(ps) } } var S1 string var S2 string var S3 string var S4 string var S5 string var S6 string var S7 string var S8 string var S9 string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 471 bytes - Viewed (0) -
test/fixedbugs/issue13337.go
package s type S0 struct{ f int } func (S0) m() {} type S1 struct{ S0 } type S2 struct{ S1 } type S3 struct{ S2 } type S4 struct{ S3 } type S5 struct{ S4 } type S6 struct{ S5 } type S7 struct{ S6 } type S8 struct{ S7 } type S9 struct{ S8 } type S10 struct{ S9 } type S11 struct{ S10 } type S12 struct{ S11 } type S13 struct{ S12 } var _ = S13{}.f
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 653 bytes - Viewed (0) -
test/sizeof.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/asan_linkerx/p/p.go
package p var S1 string var S2 string var S3 string var S4 string var S5 string var S6 string var S7 string var S8 string var S9 string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 152 bytes - Viewed (0) -
src/runtime/signal_riscv64.go
print("a6 ", hex(c.a6()), "\n") print("a7 ", hex(c.a7()), "\t") print("s2 ", hex(c.s2()), "\n") print("s3 ", hex(c.s3()), "\t") print("s4 ", hex(c.s4()), "\n") print("s5 ", hex(c.s5()), "\t") print("s6 ", hex(c.s6()), "\n") print("s7 ", hex(c.s7()), "\t") print("s8 ", hex(c.s8()), "\n") print("s9 ", hex(c.s9()), "\t") print("s10 ", hex(c.s10()), "\n") print("s11 ", hex(c.s11()), "\t") print("t3 ", hex(c.t3()), "\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/kubelet/secret/secret_manager_test.go
// Create and delete a pod with some other secrets. s3 := secretsToAttach{ imagePullSecretNames: []string{"s5"}, containerEnvSecrets: []envSecrets{ {envVarNames: []string{"s6"}}, {envFromNames: []string{"s60"}}, }, } manager.RegisterPod(podWithSecrets("ns3", "name", s3)) manager.UnregisterPod(podWithSecrets("ns3", "name", s3))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 10 10:20:09 UTC 2021 - 4.5K bytes - Viewed (0)