Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 84 for funcname (0.25 sec)

  1. src/cmd/compile/internal/ir/func.go

    func (f *Func) SetWBPos(pos src.XPos) {
    	if base.Debug.WB != 0 {
    		base.WarnfAt(pos, "write barrier")
    	}
    	if !f.WBPos.IsKnown() {
    		f.WBPos = pos
    	}
    }
    
    // FuncName returns the name (without the package) of the function f.
    func FuncName(f *Func) string {
    	if f == nil || f.Nname == nil {
    		return "<nil>"
    	}
    	return f.Sym().Name
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/debug/gosym/pclntab.go

    		if b&0x80 == 0 {
    			break
    		}
    	}
    	*pp = p
    	return v
    }
    
    // funcName returns the name of the function found at off.
    func (t *LineTable) funcName(off uint32) string {
    	if s, ok := t.funcNames[off]; ok {
    		return s
    	}
    	i := bytes.IndexByte(t.funcnametab[off:], 0)
    	s := string(t.funcnametab[off : off+uint32(i)])
    	t.funcNames[off] = s
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    		// Remember the first function name encountered per source line
    		// and assume that that line belongs to that function.
    		if _, ok := file.funcName[f.Line]; !ok {
    			file.funcName[f.Line] = f.Func
    		}
    	}
    }
    
    // synthAsm is the special disassembler value used for instructions without an object file.
    const synthAsm = ""
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/staticinit/sched.go

    		}
    		return false
    	}
    
    	for r.Op() == ir.OCONVNOP && !types.Identical(r.Type(), typ) {
    		r = r.(*ir.ConvExpr).X
    	}
    
    	switch r.Op() {
    	case ir.OMETHEXPR:
    		r = r.(*ir.SelectorExpr).FuncName()
    		fallthrough
    	case ir.ONAME:
    		r := r.(*ir.Name)
    		if s.staticcopy(l, loff, r, typ) {
    			return true
    		}
    		// We may have skipped past one or more OCONVNOPs, so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/inline/inlheur/scoring.go

    	if len(fn.Body) == 0 {
    		return
    	}
    	enableDebugTraceIfEnv()
    
    	nameFinder := newNameFinder(fn)
    
    	if debugTrace&debugTraceScoring != 0 {
    		fmt.Fprintf(os.Stderr, "=-= ScoreCalls(%v)\n", ir.FuncName(fn))
    	}
    
    	// If this is an inlinable function, use the precomputed
    	// call site table for it. If the function wasn't an inline
    	// candidate, collect a callsite table for it now.
    	var cstab CallSiteTab
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. cmd/auth-handler.go

    			// Verify if date headers are set, if not reject the request
    			amzDate, errCode := parseAmzDateHeader(r)
    			if errCode != ErrNone {
    				if ok {
    					tc.FuncName = "handler.Auth"
    					tc.ResponseRecorder.LogErrBody = true
    				}
    
    				// All our internal APIs are sensitive towards Date
    				// header, for all requests where Date header is not
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. src/runtime/stack.go

    				// Live analysis wrong?
    				getg().m.traceback = 2
    				print("runtime: bad pointer in frame ", funcname(f), " at ", pp, ": ", hex(p), "\n")
    				throw("invalid pointer found on stack")
    			}
    			if minp <= p && p < maxp {
    				if stackDebug >= 3 {
    					print("adjust ptr ", hex(p), " ", funcname(f), "\n")
    				}
    				if useCAS {
    					ppu := (*unsafe.Pointer)(unsafe.Pointer(pp))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. src/runtime/heapdump.go

    	dumpmemrange(unsafe.Pointer(s.sp), s.fp-s.sp)      // frame contents
    	dumpint(uint64(f.entry()))
    	dumpint(uint64(s.pc))
    	dumpint(uint64(s.continpc))
    	name := funcname(f)
    	if name == "" {
    		name = "unknown function"
    	}
    	dumpstr(name)
    
    	// Dump fields in the outargs section
    	if child.args.n >= 0 {
    		dumpbv(&child.args, child.argoff)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    }
    
    // healTrace sends healing results to trace output.
    func healTrace(funcName healingMetric, startTime time.Time, bucket, object string, opts *madmin.HealOpts, err error, result *madmin.HealResultItem) {
    	tr := madmin.TraceInfo{
    		TraceType: madmin.TraceHealing,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "heal." + funcName.String(),
    		Duration:  time.Since(startTime),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  10. cmd/sftp-server-driver.go

    	var errStr string
    	if err != nil {
    		errStr = err.Error()
    	}
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceFTP,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  s.Method,
    		Duration:  time.Since(startTime),
    		Path:      s.Filepath,
    		Error:     errStr,
    		Bytes:     sz,
    		Custom: map[string]string{
    			"user":   user,
    			"cmd":    s.Method,
    			"param":  s.Filepath,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top