- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for fixErr (0.13 sec)
-
src/io/fs/sub.go
} if len(name) >= len(f.dir)+2 && name[len(f.dir)] == '/' && name[:len(f.dir)] == f.dir { return name[len(f.dir)+1:], true } return "", false } // fixErr shortens any reported names in PathErrors by stripping f.dir. func (f *subFS) fixErr(err error) error { if e, ok := err.(*PathError); ok { if short, ok := f.shorten(e.Path); ok { e.Path = short } } return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 10 02:10:17 UTC 2024 - 3.6K bytes - Viewed (0) -
src/net/ipsock_plan9.go
if err != nil { return } var buf [16]byte n, err := f.Read(buf[:]) if err != nil { f.Close() return } return f, dest, proto, string(buf[:n]), nil } func fixErr(err error) { oe, ok := err.(*OpError) if !ok { return } nonNilInterface := func(a Addr) bool { switch a := a.(type) { case *TCPAddr: return a == nil case *UDPAddr:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 20:38:53 UTC 2023 - 7.5K bytes - Viewed (0) -
pkg/scheduler/schedule_one.go
return false, nil } func (sched *Scheduler) finishBinding(logger klog.Logger, fwk framework.Framework, assumed *v1.Pod, targetNode string, status *framework.Status) { if finErr := sched.Cache.FinishBinding(logger, assumed); finErr != nil { logger.Error(finErr, "Scheduler cache FinishBinding failed") } if !status.IsSuccess() { logger.V(1).Info("Failed to bind pod", "pod", klog.KObj(assumed)) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0) -
src/cmd/fix/main.go
} if fix.f(newFile) { fixed = true fmt.Fprintf(&fixlog, " %s", fix.name) // AST changed. // Print and parse, to update any missing scoping // or position information for subsequent fixers. newSrc, err := gofmtFile(newFile) if err != nil { return err } newFile, err = parser.ParseFile(fset, filename, newSrc, parserMode) if err != nil { if debug {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0) -
src/cmd/go/internal/fix/fix.go
} else if pkg.Standard { goVersion = build.Default.ReleaseTags[len(build.Default.ReleaseTags)-1] } var fixArg []string if *fixes != "" { fixArg = []string{"-r=" + *fixes} } base.Run(str.StringList(cfg.BuildToolexec, base.Tool("fix"), "-go="+goVersion, fixArg, files)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:52:29 UTC 2022 - 2.2K bytes - Viewed (0) -
docs/pt/docs/deployment/versions.md
Se tudo estiver funcionando, ou após você realizar as alterações necessárias e todos os testes estiverem passando, então você pode fixar sua versão de `FastAPI` para essa mais nova. ## Sobre Starlette Não é recomendado fixar a versão de `starlette`. Versões diferentes de **FastAPI** utilizarão uma versão específica e mais recente de Starlette.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Jul 29 20:14:40 UTC 2021 - 3.8K bytes - Viewed (0) -
.pre-commit-config.yaml
rev: v4.4.0 hooks: - id: check-added-large-files - id: check-toml - id: check-yaml args: - --unsafe - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/charliermarsh/ruff-pre-commit rev: v0.2.0 hooks: - id: ruff args: - --fix - id: ruff-format ci:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 737 bytes - Viewed (0) -
docs/pt/docs/deployment.md
Se tudo estiver funcionando, ou após você fazer as alterações necessárias, e todos seus testes estiverem passando, então você poderá fixar o `fastapi` para a versão mais recente. ### Sobre Starlette Você não deve fixar a versão do `starlette`. Versões diferentes do **FastAPI** irão utilizar uma versão mais nova específica do Starlette.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Aug 18 16:16:54 UTC 2022 - 16.8K bytes - Viewed (0) -
src/os/exec/lp_windows.go
// // Otherwise, return the ErrDot for the implicit path as soon as we find // out that the explicit one doesn't match. dotfi, dotfiErr := os.Lstat(dotf) fi, fiErr := os.Lstat(f) if dotfiErr != nil || fiErr != nil || !os.SameFile(dotfi, fi) { return dotf, dotErr } } if !filepath.IsAbs(f) { if execerrdot.Value() != "0" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 6K bytes - Viewed (0) -
src/debug/dwarf/type.go
// because it may need to resolve cycles in a different order than // readType encounters them. if fixups == nil { var fixer typeFixer defer func() { fixer.apply() }() fixups = &fixer } // Parse type from Entry. // Must always set typeCache[off] before calling // d.readType recursively, to handle circular types correctly. var typ Type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 21.9K bytes - Viewed (0)