- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 385 for S1 (0.02 sec)
-
src/runtime/libfuzzer.go
// 2. s1: first string used in the comparison // 3. s2: second string used in the comparison // 4. result: an integer representing the comparison result. 0 indicates // equality (comparison will ignored by libfuzzer), non-zero indicates a // difference (comparison will be taken into consideration). // //go:nosplit func libfuzzerHookStrCmp(s1, s2 string, fakePC int) { if s1 != s2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 23 01:12:02 UTC 2022 - 6.3K bytes - Viewed (0) -
test/fixedbugs/bug284.go
a2 = A2(a1) // ERROR "cannot|invalid" a2 = a2 type S1 struct { x int } type S2 struct { x NewInt } var s0 struct { x int } var s1 S1 var s2 S2 s0 = s0 s0 = s1 s0 = struct { x int }(s2) // ERROR "cannot|invalid" s1 = s0 s1 = s1 s1 = S1(s2) // ERROR "cannot|invalid" s2 = S2(s0) // ERROR "cannot|invalid" s2 = S2(s1) // ERROR "cannot|invalid" s2 = s2 type P1 *int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:59 UTC 2012 - 3.5K bytes - Viewed (0) -
src/internal/types/testdata/check/decls3.go
_ = struct{}{}.Foo /* ERROR "no field or method" */ _ = S0{}.A _ = S0{}.D /* ERROR "no field or method" */ _ = S1{}.A _ = S1{}.B _ = S1{}.S0 _ = S1{}.C _ = S2{}.A _ = S2{}.S1 _ = S2{}.B _ = S2{}.C _ = S2{}.D /* ERROR "no field or method" */ _ = S3{}.S1 /* ERROR "ambiguous selector S3{}.S1" */ _ = S3{}.A _ = S3{}.B /* ERROR "ambiguous selector S3{}.B" */ _ = S3{}.D _ = S3{}.E _ = S4{}.A
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 23:16:04 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/test/framework/tools/featuresgen/cmd/root_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 1.7K bytes - Viewed (0) -
ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch
@@ -29,54 +25,16 @@ char * STRNCAT (char *s1, const char *s2, size_t n) { - char c; char *s = s1; /* Find the end of S1. */ - do - c = *s1++; - while (c != '\0'); - - /* Make S1 point before next character, so we can increment - it while memory is read (wins on pipelined cpus). */ - s1 -= 2; + s1 += strlen (s1); - if (n >= 4) - {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 42.9K bytes - Viewed (0) -
test/fixedbugs/bug515.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 06:22:23 UTC 2022 - 392 bytes - Viewed (0) -
test/fixedbugs/issue4734.go
// license that can be found in the LICENSE file. // Caused gccgo to emit multiple definitions of the same symbol. package p type S1 struct{} func (s *S1) M() {} type S2 struct { F struct{ *S1 } } func F() { _ = struct{ *S1 }{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 359 bytes - Viewed (0) -
src/runtime/string_test.go
func BenchmarkCompareStringEqual(b *testing.B) { bytes := []byte("Hello Gophers!") s1, s2 := string(bytes), string(bytes) for i := 0; i < b.N; i++ { if s1 != s2 { b.Fatal("s1 != s2") } } } func BenchmarkCompareStringIdentical(b *testing.B) { s1 := "Hello Gophers!" s2 := s1 for i := 0; i < b.N; i++ { if s1 != s2 { b.Fatal("s1 != s2") } } } func BenchmarkCompareStringSameLength(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 13 14:05:23 UTC 2022 - 13.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fuse.go
s1, ss1 = b, s1 } else { ss1 = s1.Succs[0].b i1 = s1.Succs[0].i } if ss0 != ss1 { if s0.Kind == BlockPlain && isEmpty(s0) && s1.Kind == BlockPlain && isEmpty(s1) { // Two special cases where both s0, s1 and ss are empty blocks. if s0 == ss1 { s0, ss0 = b, ss1 } else if ss0 == s1 { s1, ss1 = b, ss0 } else { return false } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:45:54 UTC 2023 - 9K bytes - Viewed (0) -
test/fixedbugs/issue46386.go
// license that can be found in the LICENSE file. package main type I interface { M() interface{} } type S1 struct{} func (S1) M() interface{} { return nil } type EI interface{} type S struct{} func (S) M(as interface{ I }) {} func f() interface{ EI } { return &S1{} } func main() { var i interface{ I } (&S{}).M(i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 08 12:17:50 UTC 2021 - 461 bytes - Viewed (0)