Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 199 for funcname (0.24 sec)

  1. 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)
  2. 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)
  3. src/cmd/compile/internal/walk/complit.go

    	case ir.ONAME:
    		n := n.(*ir.Name)
    		appendWalkStmt(init, ir.NewAssignStmt(base.Pos, var_, n))
    
    	case ir.OMETHEXPR:
    		n := n.(*ir.SelectorExpr)
    		anylit(n.FuncName(), var_, init)
    
    	case ir.OPTRLIT:
    		n := n.(*ir.AddrExpr)
    		if !t.IsPtr() {
    			base.Fatalf("anylit: not ptr")
    		}
    
    		var r ir.Node
    		if n.Prealloc != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/syscall_windows_test.go

    func (f cbFunc) cSrc(w io.Writer, cdecl bool) {
    	// Construct a C function that takes a callback with
    	// f.goFunc's signature, and calls it with integers 1..N.
    	funcname := f.cName(cdecl)
    	attr := "__stdcall"
    	if cdecl {
    		attr = "__cdecl"
    	}
    	typename := "t" + funcname
    	t := reflect.TypeOf(f.goFunc)
    	cTypes := make([]string, t.NumIn())
    	cArgs := make([]string, t.NumIn())
    	for i := range cTypes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    	b.NewValue0IA(src.NoXPos, ssa.OpClobber, types.TypeVoid, offset, v)
    }
    
    func (lv *liveness) showlive(v *ssa.Value, live bitvec.BitVec) {
    	if base.Flag.Live == 0 || ir.FuncName(lv.fn) == "init" || strings.HasPrefix(ir.FuncName(lv.fn), ".") {
    		return
    	}
    	if lv.fn.Wrapper() || lv.fn.Dupok() {
    		// Skip reporting liveness information for compiler-generated wrappers.
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. cmd/handler-api.go

    		if deadline <= 0 {
    			globalHTTPStats.addRequestsInQueue(-1)
    			f.ServeHTTP(w, r)
    			return
    		}
    
    		if tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok {
    			tc.FuncName = "s3.MaxClients"
    		}
    
    		deadlineTimer := time.NewTimer(deadline)
    		defer deadlineTimer.Stop()
    
    		ctx := r.Context()
    		select {
    		case pool <- struct{}{}:
    			defer func() { <-pool }()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 08:13:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. pkg/util/iptables/iptables_test.go

    			t.Errorf("Expected result: %v, Got result: %v", testCase.Expected, runner.hasCheck)
    		}
    	}
    }
    
    func TestIPTablesCommands(t *testing.T) {
    	testCases := []struct {
    		funcName    string
    		protocol    Protocol
    		expectedCmd string
    	}{
    		{"iptablesCommand", ProtocolIPv4, cmdIPTables},
    		{"iptablesCommand", ProtocolIPv6, cmdIP6Tables},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 46.3K bytes
    - Viewed (0)
  9. src/cmd/cover/cover.go

    	// for more details.
    	if pkgconfig.Local {
    		filename = f.name
    	}
    
    	// Hand off function to meta-data builder.
    	fd := coverage.FuncDesc{
    		Funcname: funcname,
    		Srcfile:  filename,
    		Units:    f.fn.units,
    		Lit:      flit,
    	}
    	funcId := f.mdb.AddFunc(fd)
    
    	hookWrite := func(cv string, which int, val string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. src/runtime/error.go

    // panicwrap generates a panic for a call to a wrapped value method
    // with a nil pointer receiver.
    //
    // It is called from the generated wrapper code.
    func panicwrap() {
    	pc := getcallerpc()
    	name := funcNameForPrint(funcname(findfunc(pc)))
    	// name is something like "main.(*T).F".
    	// We want to extract pkg ("main"), typ ("T"), and meth ("F").
    	// Do it by finding the parens.
    	i := bytealg.IndexByteString(name, '(')
    	if i < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top