Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,782 for _func (0.25 sec)

  1. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    var InstrumentGlobalsMap = make(map[string]ir.Node)
    var InstrumentGlobalsSlice = make([]ir.Node, 0, 0)
    
    func canInstrumentGlobal(g ir.Node) bool {
    	if g.Op() != ir.ONAME {
    		return false
    	}
    	n := g.(*ir.Name)
    	if n.Class == ir.PFUNC {
    		return false
    	}
    	if n.Sym().Pkg != types.LocalPkg {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. src/cmd/cover/cover_test.go

    // itself via "go test -cover".
    func TestCoverWithToolExec(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	toolexecArg := "-toolexec=" + testcover(t)
    
    	t.Run("CoverHTML", func(t *testing.T) {
    		testCoverHTML(t, toolexecArg)
    	})
    	t.Run("HtmlUnformatted", func(t *testing.T) {
    		testHtmlUnformatted(t, toolexecArg)
    	})
    	t.Run("FuncWithDuplicateLines", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/obj6.go

    	pcdata = cursym.Func().SpillRegisterArgs(spill, newprog)
    
    	call := obj.Appendp(pcdata, newprog)
    	call.Pos = cursym.Func().Text.Pos
    	call.As = obj.ACALL
    	call.To.Type = obj.TYPE_BRANCH
    	call.To.Name = obj.NAME_EXTERN
    	morestack := "runtime.morestack"
    	switch {
    	case cursym.CFunc():
    		morestack = "runtime.morestackc"
    	case !cursym.Func().Text.From.Sym.NeedCtxt():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof_test.go

    		// Run multiple times to shake out data races
    		t.Run("goroutine launches", testLaunches)
    	}
    }
    
    func BenchmarkGoroutine(b *testing.B) {
    	withIdle := func(n int, fn func(b *testing.B)) func(b *testing.B) {
    		return func(b *testing.B) {
    			c := make(chan int)
    			var ready, done sync.WaitGroup
    			defer func() {
    				close(c)
    				done.Wait()
    			}()
    
    			for i := 0; i < n; i++ {
    				ready.Add(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/loong64/obj.go

    			}
    
    			if autosize == 0 && c.cursym.Func().Text.Mark&LEAF == 0 {
    				if c.cursym.Func().Text.From.Sym.NoSplit() {
    					if ctxt.Debugvlog {
    						ctxt.Logf("save suppressed in: %s\n", c.cursym.Name)
    					}
    
    					c.cursym.Func().Text.Mark |= LEAF
    				}
    			}
    
    			p.To.Offset = int64(autosize) - ctxt.Arch.FixedFrameSize
    
    			if c.cursym.Func().Text.Mark&LEAF != 0 {
    				c.cursym.Set(obj.AttrLeaf, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/walk.go

    	call.SetType(t)
    	return walkExpr(call, init).(*ir.CallExpr)
    }
    
    func mkcall(name string, t *types.Type, init *ir.Nodes, args ...ir.Node) *ir.CallExpr {
    	return vmkcall(typecheck.LookupRuntime(name), t, init, args)
    }
    
    func mkcallstmt(name string, args ...ir.Node) ir.Node {
    	return mkcallstmt1(typecheck.LookupRuntime(name), args...)
    }
    
    func mkcall1(fn ir.Node, t *types.Type, init *ir.Nodes, args ...ir.Node) *ir.CallExpr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/cmd/covdata/dump.go

    		fmt.Printf(" *\t%s\n", strings.Join(args, " "))
    		fmt.Printf(" */\n")
    	}
    }
    
    func (d *dstate) BeginPod(p pods.Pod) {
    	d.mm = make(map[pkfunc]decodecounter.FuncPayload)
    }
    
    func (d *dstate) EndPod(p pods.Pod) {
    	if d.cmd == debugDumpMode {
    		d.cm.ResetModeAndGranularity()
    	}
    }
    
    func (d *dstate) BeginCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/objfile.go

    	}
    	if s.CFunc() {
    		fmt.Fprintf(ctxt.Bso, "cfunc ")
    	}
    	if s.NoSplit() {
    		fmt.Fprintf(ctxt.Bso, "nosplit ")
    	}
    	if s.Func() != nil && s.Func().FuncFlag&abi.FuncFlagTopFrame != 0 {
    		fmt.Fprintf(ctxt.Bso, "topframe ")
    	}
    	if s.Func() != nil && s.Func().FuncFlag&abi.FuncFlagAsm != 0 {
    		fmt.Fprintf(ctxt.Bso, "asm ")
    	}
    	fmt.Fprintf(ctxt.Bso, "size=%d", s.Size)
    	if s.Type == objabi.STEXT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm/obj5.go

    const (
    	FOLL  = 1 << 0
    	LABEL = 1 << 1
    	LEAF  = 1 << 2
    )
    
    func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	autosize := int32(0)
    
    	if cursym.Func().Text == nil || cursym.Func().Text.Link == nil {
    		return
    	}
    
    	c := ctxt5{ctxt: ctxt, cursym: cursym, newprog: newprog}
    
    	p := c.cursym.Func().Text
    	autoffset := int32(p.To.Offset)
    	if autoffset == -4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  10. src/cmd/go/go_test.go

    	tg.tempFile("src/t/t2/t2_test.go", "package t\nimport _ \"p1\"\nimport \"testing\"\nfunc Test2(*testing.T) {}\n")
    	tg.tempFile("src/t/t3/t3_test.go", "package t\nimport \"p1\"\nimport \"testing\"\nfunc Test3(t *testing.T) {t.Log(p1.X)}\n")
    	tg.tempFile("src/t/t4/t4_test.go", "package t\nimport \"p2\"\nimport \"testing\"\nfunc Test4(t *testing.T) {t.Log(p2.X)}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top