- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for newnames (0.16 sec)
-
src/syscall/dirent.go
// appending the names to names. It returns the number of // bytes consumed from buf, the number of entries added // to names, and the new names slice. func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) { origlen := len(buf) count = 0 for max != 0 && len(buf) > 0 { reclen, ok := direntReclen(buf) if !ok || reclen > uint64(len(buf)) { return origlen, count, names } rec := buf[:reclen]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 20:13:24 UTC 2024 - 2.4K bytes - Viewed (0) -
src/os/file_unix.go
err = pe.Err } return &LinkError{"rename", oldname, newname, err} } else if newname == oldname || !SameFile(fi, ofi) { return &LinkError{"rename", oldname, newname, syscall.EEXIST} } } err = ignoringEINTR(func() error { return syscall.Rename(oldname, newname) }) if err != nil { return &LinkError{"rename", oldname, newname, err} } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:52:34 UTC 2024 - 14.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/upload.go
fdate = fdate[len(fdate)-len("2006-01-02"):] newname := filepath.Join(u.dir.UploadDir(), fdate+".json") if _, err := os.Stat(newname); err == nil { // Another process uploaded but failed to clean up (or hasn't yet cleaned // up). Ensure that cleanup occurs. _ = os.Remove(fname) return false } // Lock the upload, to prevent duplicate uploads. { lockname := newname + ".lock"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/kube/krt/helpers.go
// and will automatically implement the various interfaces to return the name, namespace, and a key based on these two. type Named struct { Name, Namespace string } // NewNamed builds a Named object from a Kubernetes object type. func NewNamed(o metav1.Object) Named { return Named{Name: o.GetName(), Namespace: o.GetNamespace()} } func (n Named) ResourceName() string { return n.Namespace + "/" + n.Name }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 3.4K bytes - Viewed (0) -
src/go/types/generate_test.go
m := makeRenameMap(renames...) ast.Inspect(f, func(n ast.Node) bool { switch n := n.(type) { case *ast.SelectorExpr: m.renameSel(n) return false } return true }) } // renameImportPath is like renameIdents but renames import paths. func renameImportPath(f *ast.File, renames ...string) { m := makeRenameMap(renames...) ast.Inspect(f, func(n ast.Node) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/compiler_internal.go
typ := a.Type.GetTypeInfo().Type name := fmt.Sprintf("#rv%d", i+1) obj.name = name s.scope.Insert(obj) obj.setScopePos(pos) tv := syntax.TypeAndValue{Type: typ} tv.SetIsValue() n := syntax.NewName(pos, obj.Name()) n.SetTypeInfo(tv) a.Name = n return obj, n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 1.4K bytes - Viewed (0) -
src/cmd/go/internal/work/shell.go
} } return err } // Symlink creates a symlink newname -> oldname. func (sh *Shell) Symlink(oldname, newname string) error { // It's not an error to try to recreate an existing symlink. if link, err := os.Readlink(newname); err == nil && link == oldname { return nil } if cfg.BuildN || cfg.BuildX { sh.ShowCmd("", "ln -s %s %s", oldname, newname) if cfg.BuildN { return nil } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 19.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
// Must only be called while holding n.mu. func (n *Named) setState(state namedState) { atomic.StoreUint32(&n.state_, uint32(state)) } // newNamed is like NewNamed but with a *Checker receiver. func (check *Checker) newNamed(obj *TypeName, underlying Type, methods []*Func) *Named { typ := &Named{check: check, obj: obj, fromRHS: underlying, underlying: underlying, methods: methods} if obj.typ == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0) -
src/go/types/named.go
// Must only be called while holding n.mu. func (n *Named) setState(state namedState) { atomic.StoreUint32(&n.state_, uint32(state)) } // newNamed is like NewNamed but with a *Checker receiver. func (check *Checker) newNamed(obj *TypeName, underlying Type, methods []*Func) *Named { typ := &Named{check: check, obj: obj, fromRHS: underlying, underlying: underlying, methods: methods} if obj.typ == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 24K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtVariableLikeSignature.kt
* * Some variables can have their names changed by special annotations like `@ParameterName(name = "newName")`. This is used to preserve * the names of the lambda parameters in the situations like this: * * ``` * // compiled library * fun foo(): (bar: String) -> Unit { ... } *
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3.8K bytes - Viewed (0)