Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for cout (0.06 sec)

  1. src/cmd/link/internal/ld/elf_test.go

    		scmd := testenv.Command(t, sprog, "-o", targ, binFile)
    		scmd.Dir = dir
    		if sout, serr := scmd.CombinedOutput(); serr != nil {
    			t.Fatalf("failed to strip %v: %v:\n%s", scmd.Args, serr, sout)
    		} else {
    			// Non-empty output indicates failure, as mentioned above.
    			if len(string(sout)) != 0 {
    				t.Errorf("unexpected outut from %s:\n%s\n", sprog, string(sout))
    			}
    		}
    		rcmd := testenv.Command(t, filepath.Join(dir, targ))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/initorder.go

    	// count for variables which in turn may not get scheduled for initialization
    	// in correct order.)
    	//
    	// Note that because we recursively copy predecessors and successors
    	// throughout the function graph, the cost of removing a function at
    	// position X is proportional to cost * (len(funcG)-X). Therefore, we should
    	// remove high-cost functions last.
    	sort.Slice(funcG, func(i, j int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/schedule.go

    			}
    			storeNumber[w.ID] = n
    			count[n]++
    			stack = stack[:len(stack)-1]
    		}
    	}
    
    	// convert count to prefix sum of counts: count'[i] = sum_{j<=i} count[i]
    	for i := range count {
    		if i == 0 {
    			continue
    		}
    		count[i] += count[i-1]
    	}
    	if count[len(count)-1] != int32(len(values)) {
    		f.Fatalf("storeOrder: value is missing, total count = %d, values = %v", count[len(count)-1], values)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/macho.go

    			out.Write32(s.prot2)
    			out.Write32(s.nsect)
    			out.Write32(s.flag)
    		} else {
    			out.Write32(LC_SEGMENT)
    			out.Write32(56 + 68*s.nsect)
    			out.WriteStringN(s.name, 16)
    			out.Write32(uint32(s.vaddr))
    			out.Write32(uint32(s.vsize))
    			out.Write32(uint32(s.fileoffset))
    			out.Write32(uint32(s.filesize))
    			out.Write32(s.prot1)
    			out.Write32(s.prot2)
    			out.Write32(s.nsect)
    			out.Write32(s.flag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/shell.go

    		if dir == "" {
    			dir = p.Dir
    		}
    	}
    
    	out := string(cmdOut)
    
    	if !strings.HasSuffix(out, "\n") {
    		out = out + "\n"
    	}
    
    	// Replace workDir with $WORK
    	out = replacePrefix(out, sh.workDir, "$WORK")
    
    	// Rewrite mentions of dir with a relative path to dir
    	// when the relative path is shorter.
    	for {
    		// Note that dir starts out long, something like
    		// /foo/bar/baz/root/a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. src/cmd/covdata/tool_test.go

    	// Create out dir for intersection.
    	ioutdir := filepath.Join(s.dir, "intersectOut"+tag)
    	if err := os.Mkdir(ioutdir, 0777); err != nil {
    		t.Fatalf("can't create outdir %s: %v", ioutdir, err)
    	}
    
    	// Intersect the two dirs into a final result.
    	ins := fmt.Sprintf("-i=%s,%s", indir1, indir2)
    	out := fmt.Sprintf("-o=%s", ioutdir)
    	sargs := []string{ins, out}
    	lines := runToolOp(t, s, "intersect", sargs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    			continue
    		case p == nil:
    			p, msrc, save, count = chunkP, chunkMsrc, chunkSave, chunkCount
    		default:
    			p, msrc, chunkErr = combineProfiles([]*profile.Profile{p, chunkP}, []plugin.MappingSources{msrc, chunkMsrc})
    			if chunkErr != nil {
    				return nil, nil, false, 0, chunkErr
    			}
    			if chunkSave {
    				save = true
    			}
    			count += chunkCount
    		}
    	}
    
    	return p, msrc, save, count, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/staticinit/sched.go

    	// Can only substitute arg for param if param is used
    	// at most once or is repeatable.
    	count := make(map[*ir.Name]int)
    	for _, x := range as2init.Lhs {
    		count[x.(*ir.Name)] = 0
    	}
    
    	hasNonTrivialClosure := false
    	ir.Visit(as2body.Rhs[0], func(n ir.Node) {
    		if name, ok := n.(*ir.Name); ok {
    			if c, ok := count[name]; ok {
    				count[name] = c + 1
    			}
    		}
    		if clo, ok := n.(*ir.ClosureExpr); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/loader_test.go

    	}
    	pv := int64(-1)
    	count := 0
    	for ss := ldr.SubSym(es1); ss != 0; ss = ldr.SubSym(ss) {
    		v := ldr.SymValue(ss)
    		if v <= pv {
    			t.Errorf("ldr.SortSub sortfail at %d: val %d >= prev val %d",
    				ss, v, pv)
    		}
    		pv = v
    		count++
    	}
    	if count != 5 {
    		t.Errorf("expected %d in sub list got %d", 5, count)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    		return err
    	}
    
    	// Output to specified file.
    	o.UI.PrintErr("Generating report in ", output)
    	out, err := o.Writer.Open(output)
    	if err != nil {
    		return err
    	}
    	if _, err := src.WriteTo(out); err != nil {
    		out.Close()
    		return err
    	}
    	return out.Close()
    }
    
    func printWebList(dst io.Writer, rpt *report.Report, obj plugin.ObjTool) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top