Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 429 for funcname (0.11 sec)

  1. cmd/http-tracer.go

    		reqPath := r.URL.RawPath
    		if reqPath == "" {
    			reqPath = r.URL.Path
    		}
    
    		// Calculate function name
    		funcName := tc.FuncName
    		if funcName == "" {
    			funcName = "<unknown>"
    		}
    
    		t := madmin.TraceInfo{
    			TraceType: tt,
    			FuncName:  funcName,
    			NodeName:  nodeName,
    			Time:      reqStartTime,
    			Duration:  reqEndTime.Sub(respRecorder.StartTime),
    			Path:      reqPath,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/syscall/mksyscall.pl

    	$text .= "}\n\n";
    	if($libc) {
    		if (not exists $trampolines{$funcname}) {
    			$trampolines{$funcname} = 1;
    			# The assembly trampoline that jumps to the libc routine.
    			$text .= "func ${funcname}_trampoline()\n\n";
    			# Tell the linker that funcname can be found in libSystem using varname without the libc_ prefix.
    			my $basename = substr $funcname, 5;
    			my $libc = "libc.so";
    			if ($darwin) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/internal/testpty/pty.go

    package testpty
    
    import (
    	"errors"
    	"fmt"
    	"os"
    )
    
    type PtyError struct {
    	FuncName    string
    	ErrorString string
    	Errno       error
    }
    
    func ptyError(name string, err error) *PtyError {
    	return &PtyError{name, err.Error(), err}
    }
    
    func (e *PtyError) Error() string {
    	return fmt.Sprintf("%s: %s", e.FuncName, e.ErrorString)
    }
    
    func (e *PtyError) Unwrap() error { return e.Errno }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 19:00:20 UTC 2022
    - 970 bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go

    // returns a populated plugin.Frame and whether it has reached the end of the
    // data.
    func (d *addr2Liner) readFrame() (plugin.Frame, bool) {
    	funcname, err := d.rw.readLine()
    	if err != nil {
    		return plugin.Frame{}, true
    	}
    	if strings.HasPrefix(funcname, "0x") {
    		// If addr2line returns a hex address we can assume it is the
    		// sentinel. Read and ignore next two lines of output from
    		// addr2line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. src/runtime/stkframe.go

    			print("runtime: frame ", funcname(f), " untyped locals ", hex(frame.varp-size), "+", hex(size), "\n")
    			throw("missing stackmap")
    		}
    		// If nbit == 0, there's no work to do.
    		if stkmap.nbit > 0 {
    			if stackid < 0 || stackid >= stkmap.n {
    				// don't know where we are
    				print("runtime: pcdata is ", stackid, " and ", stkmap.n, " locals stack map entries for ", funcname(f), " (targetpc=", hex(targetpc), ")\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/runtime/traceback_test.go

    		case strings.HasPrefix(line, "created by "):
    			funcName := line[len("created by "):]
    			cur.createdBy = parseFrame(funcName, "")
    		case strings.HasSuffix(line, ")"):
    			line = line[:len(line)-1] // Trim trailing ")"
    			funcName, args, found := strings.Cut(line, "(")
    			if !found {
    				fatal("missing (")
    			}
    			frame := parseFrame(funcName, args)
    			cur.frames = append(cur.frames, frame)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  7. src/runtime/symtab.go

    			f2name := "end"
    			if i+1 < nftab {
    				f2name = funcname(f2)
    			}
    			println("function symbol table not sorted by PC offset:", hex(datap.ftab[i].entryoff), funcname(f1), ">", hex(datap.ftab[i+1].entryoff), f2name, ", plugin:", datap.pluginpath)
    			for j := 0; j <= i; j++ {
    				println("\t", hex(datap.ftab[j].entryoff), funcname(funcInfo{(*_func)(unsafe.Pointer(&datap.pclntable[datap.ftab[j].funcoff])), datap}))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. internal/logger/logger.go

    func getSource(level int) string {
    	pc, file, lineNumber, ok := runtime.Caller(level)
    	if ok {
    		// Clean up the common prefixes
    		file = trimTrace(file)
    		_, funcName := filepath.Split(runtime.FuncForPC(pc).Name())
    		return fmt.Sprintf("%v:%v:%v()", file, lineNumber, funcName)
    	}
    	return ""
    }
    
    // getTrace method - creates and returns stack trace
    func getTrace(traceLevel int) []string {
    	var trace []string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. cmd/generic-handlers.go

    			if ok {
    				tc.FuncName = "handler.ValidRequest"
    				tc.ResponseRecorder.LogErrBody = true
    			}
    
    			defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    			writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrUnsupportedMetadata), r.URL)
    			return
    		}
    
    		if isHTTPHeaderSizeTooLarge(r.Header) {
    			if ok {
    				tc.FuncName = "handler.ValidRequest"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. src/runtime/race/race_test.go

    	}
    	reader := bufio.NewReader(bytes.NewReader(testOutput))
    
    	funcName := ""
    	var tsanLog []string
    	for {
    		s, err := nextLine(reader)
    		if err != nil {
    			fmt.Printf("%s\n", processLog(funcName, tsanLog))
    			break
    		}
    		if strings.HasPrefix(s, testPrefix) {
    			fmt.Printf("%s\n", processLog(funcName, tsanLog))
    			tsanLog = make([]string, 0, 100)
    			funcName = s[len(testPrefix):]
    		} else {
    			tsanLog = append(tsanLog, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 6K bytes
    - Viewed (0)
Back to top