- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for arrPtr (0.18 sec)
-
test/escape2.go
b.buf1 = b.arr[1:2] } func (b *Buffer) arrayPtr() { // ERROR "b does not escape" b.buf1 = b.arrPtr[1:2] // ERROR "\(\*Buffer\).arrayPtr ignoring self-assignment in b.buf1 = b.arrPtr\[1:2\]$" b.buf1 = b.arrPtr[1:2:3] // ERROR "\(\*Buffer\).arrayPtr ignoring self-assignment in b.buf1 = b.arrPtr\[1:2:3\]$" } func (b *Buffer) baz() { // ERROR "b does not escape$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
test/escape2n.go
b.buf1 = b.arr[1:2] } func (b *Buffer) arrayPtr() { // ERROR "b does not escape" b.buf1 = b.arrPtr[1:2] // ERROR "\(\*Buffer\).arrayPtr ignoring self-assignment in b.buf1 = b.arrPtr\[1:2\]$" b.buf1 = b.arrPtr[1:2:3] // ERROR "\(\*Buffer\).arrayPtr ignoring self-assignment in b.buf1 = b.arrPtr\[1:2:3\]$" } func (b *Buffer) baz() { // ERROR "b does not escape$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
src/cmd/go/internal/modget/query.go
if patternRE.MatchString(errStr) { if q.rawVersion == "" { base.Errorf("go: %s", errStr) return } versionRE := regexp.MustCompile("(?m)(?:[ @(\"`]|^)" + regexp.QuoteMeta(q.version) + "(?:[ :;)\"`]|$)") if versionRE.MatchString(errStr) { base.Errorf("go: %s", errStr) return } } if qs := q.String(); qs != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 15:48:25 UTC 2023 - 11.2K bytes - Viewed (0) -
test/torture.go
Children[0].(*UArr). Children[0] } type UArrPtr struct { Children *[2]J } func (u *UArrPtr) Child(n int) J { return u.Children[n] } func ChainAssertArrayptrIndex(u *UArrPtr) J { return u. Children[0].(*UArrPtr). Children[0].(*UArrPtr). Children[0].(*UArrPtr). Children[0].(*UArrPtr). Children[0].(*UArrPtr). Children[0].(*UArrPtr). Children[0].(*UArrPtr). Children[0].(*UArrPtr).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 01 07:20:51 UTC 2014 - 7.7K bytes - Viewed (0) -
src/plugin/plugin_dlopen.go
} if plugins == nil { plugins = make(map[string]*Plugin) } pluginpath, syms, initTasks, errstr := lastmoduleinit() if errstr != "" { plugins[filepath] = &Plugin{ pluginpath: pluginpath, err: errstr, } pluginsMu.Unlock() return nil, errors.New(`plugin.Open("` + name + `"): ` + errstr) } // This function can be called from the init function of a plugin.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 16:55:22 UTC 2023 - 3.9K bytes - Viewed (0) -
pilot/pkg/util/network/ip_test.go
errStr: "", lookup: MockLookupIPAddrIPv6, }, } for _, tc := range testCases { actual, err := ResolveAddr(tc.input, tc.lookup) if err != nil { if tc.errStr == "" { t.Errorf("[%s] expected success, but saw error: %v", tc.name, err) } else if !strings.Contains(err.Error(), tc.errStr) { t.Errorf("[%s] expected error %q, got %q", tc.name, tc.errStr, err.Error()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 08 16:24:15 UTC 2022 - 6.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/JvmOptions.java
for (Object argument : arguments) { String argStr = argument.toString(); if (argStr.equals("-ea") || argStr.equals("-enableassertions")) { assertionsEnabled = true; } else if (argStr.equals("-da") || argStr.equals("-disableassertions")) { assertionsEnabled = false; } else if (argStr.startsWith(XMS_PREFIX)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 14.8K bytes - Viewed (0) -
src/mime/quotedprintable/reader_test.go
} buf.Reset() _, err := io.Copy(&buf, NewReader(strings.NewReader(s))) if err != nil { errStr := err.Error() if strings.Contains(errStr, "invalid bytes after =:") { errStr = "invalid bytes after =" } res[errStr]++ if strings.Contains(errStr, "invalid hex byte ") { if strings.HasSuffix(errStr, "0x20") && (strings.Contains(s, "=0 ") || strings.Contains(s, "=A ") || strings.Contains(s, "= ")) { return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.9K bytes - Viewed (0) -
internal/arn/arn_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 5.1K bytes - Viewed (0) -
logger/logger.go
Writer: writer, Config: config, infoStr: infoStr, warnStr: warnStr, errStr: errStr, traceStr: traceStr, traceWarnStr: traceWarnStr, traceErrStr: traceErrStr, } } type logger struct { Writer Config infoStr, warnStr, errStr string traceStr, traceErrStr, traceWarnStr string } // LogMode log mode
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Nov 07 02:19:41 UTC 2023 - 5.8K bytes - Viewed (0)