- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for merge (1.28 sec)
-
src/cmd/covdata/tool_test.go
} // Merge the two dirs into a final result. ins := fmt.Sprintf("-i=%s,%s", indir1, indir2) out := fmt.Sprintf("-o=%s", outdir) margs := []string{ins, out} lines := runToolOp(t, s, "merge", margs) if len(lines) != 0 { t.Errorf("merge run produced %d lines of unexpected output", len(lines)) dumplines(lines) } // We expect the merge tool to produce exactly two files: a meta
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 24.5K bytes - Viewed (0) -
src/cmd/covdata/metamerge.go
} if *verbflag >= 3 { fmt.Printf("counter merge for %s fidx=%d\n", fd.Funcname, fnIdx) } // Merge. err, overflow := mm.MergeCounters(gfp.Counters, counters) if err != nil { fatal("%v", err) } if overflow { warn("uint32 overflow during counter merge") } mm.p.ctab[fnIdx] = gfp } else { if *verbflag >= 3 { fmt.Printf("null merge for %s fidx %d\n", fd.Funcname, fnIdx) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:17:47 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/intervals.go
first = second } return false } // Merge combines the intervals from "is" and "is2" and returns // a new Intervals object containing all combined ranges from the // two inputs. func (is Intervals) Merge(is2 Intervals) Intervals { if len(is) == 0 { return is2 } else if len(is2) == 0 { return is } // walk the combined set of intervals and merge them together. var ret Intervals var pv pairVisitor
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:27 UTC 2024 - 10K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore.go
func (sr shadowRange) contains(lo, hi int64) bool { return lo >= sr.lo() && hi <= sr.hi() } // merge returns the union of sr and [lo:hi]. // merge is allowed to return something smaller than the union. func (sr shadowRange) merge(lo, hi int64) shadowRange { if lo < 0 || hi > 0xffff { // Ignore offsets that are too large or small. return sr } if sr.lo() == sr.hi() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/compile/internal/staticinit/sched.go
c.SetType(t) return c, true } func addStr(n *ir.AddStringExpr) ir.Node { // Merge adjacent constants in the argument list. s := n.List need := 0 for i := 0; i < len(s); i++ { if i == 0 || !ir.IsConst(s[i-1], constant.String) || !ir.IsConst(s[i], constant.String) { // Can't merge s[i] into s[i-1]; need a slot in the list. need++ } } if need == len(s) { return n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/check.go
} case OpVarDef: n := v.Aux.(*ir.Name) if !n.Type().HasPointers() && !IsMergeCandidate(n) { f.Fatalf("vardef must be merge candidate or have pointer type %s", v.Aux.(*ir.Name).Type().String()) } case OpNilCheck: // nil checks have pointer type before scheduling, and // void type after scheduling. if f.scheduled {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git.go
// The "--is-ancestor" flag was added to "git merge-base" in version 1.8.0, so // this won't work with Git 1.7.1. According to golang.org/issue/28550, cmd/go // already doesn't work with Git 1.7.1, so at least it's not a regression. // // git merge-base --is-ancestor exits with status 0 if rev is an ancestor, or // 1 if not. _, err := Run(ctx, r.dir, "git", "merge-base", "--is-ancestor", "--", tag, rev)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 27.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/compile.go
{name: "opt", fn: opt, required: true}, // NB: some generic rules know the name of the opt pass. TODO: split required rules and optimizing rules {name: "zero arg cse", fn: zcse, required: true}, // required to merge OpSB values {name: "opt deadcode", fn: deadcode, required: true}, // remove any blocks orphaned during opt {name: "generic cse", fn: cse}, {name: "phiopt", fn: phiopt},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 18.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/pgen.go
fmt.Fprintf(os.Stderr, "%s: %d bytes of stack space saved via stack slot merging (%d nonpointer %d pointer)\n", ir.FuncName(fn), savedNP+savedP, savedNP, savedP) if base.Debug.MergeLocalsTrace > 1 { fmt.Fprintf(os.Stderr, "=-= merge locals state for %v:\n%v", fn, mls) } } leaders = make(map[*ir.Name]int64) } // Use sort.SliceStable instead of sort.Slice so stack layout (and thus
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 13.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
// Combine adjacent cases with the same hash. merged := cc[:1] for _, c := range cc[1:] { last := &merged[len(merged)-1] if last.hash == c.hash { last.body.Append(c.body.Take()...) } else { merged = append(merged, c) } } cc = merged if s.tryJumpTable(cc, compiled) { return } binarySearch(len(cc), compiled,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0)