Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 241 for cout (0.25 sec)

  1. src/cmd/compile/internal/test/pgo_inl_test.go

    	gcflag := gcflag0 + ",pgohash=" + hash
    	out := buildPGOInliningTest(t, dir, gcflag)
    	if !bytes.Contains(out, []byte(hashMatch)) || !pgoDebugRE.Match(out) {
    		t.Errorf("output does not contain expected source line, out:\n%s", out)
    	}
    
    	// Check that a hash mismatch turns off PGO inlining.
    	hash = "v0" // 0 should not match srcPos
    	gcflag = gcflag0 + ",pgohash=" + hash
    	out = buildPGOInliningTest(t, dir, gcflag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    func TestEqualFold(t *testing.T) {
    	for _, tt := range EqualFoldTests {
    		if out := EqualFold([]byte(tt.s), []byte(tt.t)); out != tt.out {
    			t.Errorf("EqualFold(%#q, %#q) = %v, want %v", tt.s, tt.t, out, tt.out)
    		}
    		if out := EqualFold([]byte(tt.t), []byte(tt.s)); out != tt.out {
    			t.Errorf("EqualFold(%#q, %#q) = %v, want %v", tt.t, tt.s, out, tt.out)
    		}
    	}
    }
    
    var cutTests = []struct {
    	s, sep        string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/loong64/a.out.go

    Guoqi Chen <******@****.***> 1680291800 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/gofmt/gofmt.go

    }
    
    // newSequencer returns a sequencer that allows concurrent tasks up to maxWeight
    // and writes tasks' output to out and err.
    func newSequencer(maxWeight int64, out, err io.Writer) *sequencer {
    	sem := semaphore.NewWeighted(maxWeight)
    	prev := make(chan *reporterState, 1)
    	prev <- &reporterState{out: out, err: err}
    	return &sequencer{
    		maxWeight: maxWeight,
    		sem:       sem,
    		prev:      prev,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/riscv64/asm.go

    		}
    		out.Write64(uint64(sectoff))
    		out.Write64(uint64(hiRel) | uint64(elfsym)<<32)
    		out.Write64(uint64(r.Xadd))
    		out.Write64(uint64(sectoff + 4))
    		out.Write64(uint64(loRel) | uint64(hi20ElfSym)<<32)
    		out.Write64(uint64(0))
    
    	case objabi.R_RISCV_TLS_LE:
    		out.Write64(uint64(sectoff))
    		out.Write64(uint64(elf.R_RISCV_TPREL_HI20) | uint64(elfsym)<<32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/link/link_test.go

    		if k == -1 {
    			t.Fatalf("no newline after host link, output:\n%s", out)
    		}
    		out = out[:k]
    
    		// filter out output file name, which is passed by the go
    		// command and is nondeterministic.
    		fs := bytes.Fields(out)
    		for i, f := range fs {
    			if bytes.Equal(f, []byte(`"-o"`)) && i+1 < len(fs) {
    				fs[i+1] = []byte("a.out")
    				break
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  9. src/cmd/trace/pprof.go

    				continue
    			}
    			// The goroutine has transitioned out of the state we care about,
    			// so remove it from tracking and record the stack.
    			delete(tracking, id)
    
    			overlapping := pprofOverlappingDuration(gToIntervals, id, interval{startEv.Time(), ev.Time()})
    			if overlapping > 0 {
    				rec := stacks.getOrAdd(startEv.Stack())
    				rec.Count++
    				rec.Time += overlapping
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ppc64/ssa.go

    		// LWSYNC
    		// LDAR/LWAR    (Rarg0), Rout
    		// ADD		Rarg1, Rout
    		// STDCCC/STWCCC Rout, (Rarg0)
    		// BNE         -3(PC)
    		// MOVW		Rout,Rout (if Add32)
    		ld := ppc64.ALDAR
    		st := ppc64.ASTDCCC
    		if v.Op == ssa.OpPPC64LoweredAtomicAdd32 {
    			ld = ppc64.ALWAR
    			st = ppc64.ASTWCCC
    		}
    		r0 := v.Args[0].Reg()
    		r1 := v.Args[1].Reg()
    		out := v.Reg0()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top