- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for errorPath (0.25 sec)
-
src/io/fs/readdir_test.go
} }) } } func errorPath(err error) string { var perr *PathError if !errors.As(err, &perr) { return "" } return perr.Path } func TestReadDirPath(t *testing.T) { fsys := os.DirFS(t.TempDir()) _, err1 := ReadDir(fsys, "non-existent") _, err2 := ReadDir(struct{ FS }{fsys}, "non-existent") if s1, s2 := errorPath(err1), errorPath(err2); s1 != s2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 16:25:41 UTC 2023 - 2.6K bytes - Viewed (0) -
src/io/fs/readfile_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 16:25:41 UTC 2023 - 1.8K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0) -
pkg/client/tests/remotecommand_test.go
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { executor := &fakeExecutor{ t: t, testName: testName, errorData: errorData, stdoutData: stdoutData, stderrData: stderrData,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 06:08:18 UTC 2023 - 10.2K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/stmt.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:10:54 UTC 2023 - 17.8K bytes - Viewed (0) -
src/cmd/compile/internal/staticdata/embed.go
for _, pattern := range e.Patterns { files, ok := base.Flag.Cfg.Embed.Patterns[pattern] if !ok { base.ErrorfAt(e.Pos, 0, "invalid go:embed: build system did not map pattern: %s", pattern) } for _, file := range files { if base.Flag.Cfg.Embed.Files[file] == "" { base.ErrorfAt(e.Pos, 0, "invalid go:embed: build system did not map file: %s", file) continue } if !have[file] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 10 18:22:02 UTC 2023 - 4.8K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/scanner.go
func (s *scanner) errorf(format string, args ...interface{}) { s.error(fmt.Sprintf(format, args...)) } // errorAtf reports an error at a byte column offset relative to the current token start. func (s *scanner) errorAtf(offset int, format string, args ...interface{}) { s.errh(s.line, s.col+uint(offset), fmt.Sprintf(format, args...)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 28 18:17:41 UTC 2022 - 17.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/abi.go
default: base.ErrorfAt(f.Pos(), 0, "go:wasmimport %s %s: unsupported parameter type %s", f.WasmImport.Module, f.WasmImport.Name, t.String()) } wfs[i].Offset = p.FrameOffset(result) } return wfs } func resultsToWasmFields(f *ir.Func, result *abi.ABIParamResultInfo, abiParams []abi.ABIParamAssignment) []obj.WasmField { if len(abiParams) > 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/nowb.go
funcs[fn] = nowritebarrierrecCall{} q.PushRight(fn.Nname) } // Check go:nowritebarrier functions. if fn.Pragma&ir.Nowritebarrier != 0 && fn.WBPos.IsKnown() { base.ErrorfAt(fn.WBPos, 0, "write barrier prohibited") } } // Perform a BFS of the call graph from all // go:nowritebarrierrec functions. enqueue := func(src, target *ir.Func, pos src.XPos) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 17:29:46 UTC 2024 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
// assertion? func FuncPC(pos src.XPos, n Node, wantABI obj.ABI) Node { if !n.Type().IsInterface() { base.ErrorfAt(pos, 0, "internal/abi.FuncPC%s expects an interface value, got %v", wantABI, n.Type()) } if fn := IsIfaceOfFunc(n); fn != nil { name := fn.Nname abi := fn.ABI if abi != wantABI { base.ErrorfAt(pos, 0, "internal/abi.FuncPC%s expects an %v function, %s is defined as %v", wantABI, wantABI, name.Sym().Name, abi)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0)