Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 429 for funcname (0.17 sec)

  1. src/strings/strings_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 string) int, funcName string, testCases []IndexTest) {
    	for _, test := range testCases {
    		actual := f(test.s, test.sep)
    		if actual != test.out {
    			t.Errorf("%s(%q,%q) = %v; want %v", funcName, test.s, test.sep, actual, test.out)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/traceback.go

    			return true
    		} else if !pr {
    			continue
    		}
    
    		callCgoSymbolizer(arg)
    		if arg.funcName != nil {
    			// Note that we don't print any argument
    			// information here, not even parentheses.
    			// The symbolizer must add that if appropriate.
    			println(gostringnocopy(arg.funcName))
    		} else {
    			println("non-Go function")
    		}
    		print("\t")
    		if arg.file != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/internal/coverage/cformat/format.go

    		ps = new(pstate)
    		fm.pm[importpath] = ps
    		ps.unitTable = make(map[extcu]uint32)
    		ps.funcTable = make(map[fnfile]uint32)
    	}
    	fm.p = ps
    }
    
    // AddUnit passes info on a single coverable unit (file, funcname,
    // literal flag, range of lines, and counter value) to the formatter.
    // Counter values will be accumulated where appropriate.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top