Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 429 for funcname (0.86 sec)

  1. src/cmd/compile/internal/dwarfgen/dwinl.go

    // malformed range is found.
    func checkInlCall(funcName string, inlCalls dwarf.InlCalls, funcSize int64, idx, parentIdx int) {
    
    	// Callee
    	ic := inlCalls.Calls[idx]
    	callee := base.Ctxt.InlTree.InlinedFunction(ic.InlIndex).Name
    	calleeRanges := ic.Ranges
    
    	// Caller
    	caller := funcName
    	parentRanges := []dwarf.Range{dwarf.Range{Start: int64(0), End: funcSize}}
    	if parentIdx != -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/cmd/covdata/dump.go

    			d.preambleEmitted = true
    		}
    		fmt.Printf("\nFunc: %s\n", fd.Funcname)
    		fmt.Printf("Srcfile: %s\n", fd.Srcfile)
    		fmt.Printf("Literal: %v\n", fd.Lit)
    	}
    	for i := 0; i < len(fd.Units); i++ {
    		u := fd.Units[i]
    		var count uint32
    		if counters != nil {
    			count = counters[i]
    		}
    		d.format.AddUnit(fd.Srcfile, fd.Funcname, fd.Lit, u, count)
    		if d.cmd == debugDumpMode && !suppressOutput {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. pkg/kubelet/container/testing/fake_runtime.go

    func (f *FakeRuntime) AssertCallCounts(funcName string, expectedCount int) bool {
    	f.Lock()
    	defer f.Unlock()
    	actualCount := 0
    	for _, c := range f.CalledFunctions {
    		if funcName == c {
    			actualCount += 1
    		}
    	}
    	if expectedCount != actualCount {
    		f.T.Errorf("AssertCallCounts: expected %s to be called %d times, but was actually called %d times.", funcName, expectedCount, actualCount)
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	if funcName == "" {
    		return 0
    	}
    
    	var funcname [128]byte
    	for i := 0; i < int(nameLen); i += 8 {
    		v, err := safeload(ppa1 + nameOffset + uintptr(i))
    		if err != 0 {
    			return 1
    		}
    		funcname[i] = byte(v >> 56)
    		funcname[i+1] = byte(v >> 48)
    		funcname[i+2] = byte(v >> 40)
    		funcname[i+3] = byte(v >> 32)
    		funcname[i+4] = byte(v >> 24)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  5. cmd/metrics.go

    		registry,
    	}
    
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    			tc.FuncName = "handler.MetricsLegacy"
    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		mfs, err := gatherers.Gather()
    		if err != nil {
    			if len(mfs) == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. 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)
  7. src/internal/coverage/decodemeta/decode.go

    	// Preamble containing number of units, file, and function.
    	numUnits := uint32(d.r.ReadULEB128())
    	fnameidx := uint32(d.r.ReadULEB128())
    	fileidx := uint32(d.r.ReadULEB128())
    
    	f.Srcfile = d.strtab.Get(fileidx)
    	f.Funcname = d.strtab.Get(fnameidx)
    
    	// Now the units
    	f.Units = f.Units[:0]
    	if cap(f.Units) < int(numUnits) {
    		f.Units = make([]coverage.CoverableUnit, 0, numUnits)
    	}
    	for k := uint32(0); k < numUnits; k++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    }
    
    // Execute f on each test case.  funcName should be the name of f; it's used
    // in failure reports.
    func runIndexTests(t *testing.T, f func(s, sep []byte) int, funcName string, testCases []BinOpTest) {
    	for _, test := range testCases {
    		a := []byte(test.a)
    		b := []byte(test.b)
    		actual := f(a, b)
    		if actual != test.i {
    			t.Errorf("%s(%q,%q) = %v; want %v", funcName, a, b, actual, test.i)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  9. 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)
  10. internal/grid/trace.go

    		} else {
    			status = http.StatusBadRequest
    		}
    	}
    
    	prefix := t.Prefix
    	if p := handlerPrefixes[h]; p != "" {
    		prefix = p
    	}
    	trace := madmin.TraceInfo{
    		TraceType: t.TraceType,
    		FuncName:  prefix + "." + h.String(),
    		NodeName:  remote,
    		Time:      start,
    		Duration:  end.Sub(start),
    		Path:      t.Subroute,
    		Error:     errString,
    		Bytes:     int64(len(req) + len(resp)),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top