Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 690 for traces (0.34 sec)

  1. src/runtime/pprof/proto.go

    	firstPCSymbolizeResult symbolizeFlag
    }
    
    func (d *pcDeck) reset() {
    	d.pcs = d.pcs[:0]
    	d.frames = d.frames[:0]
    	d.symbolizeResult = 0
    	d.firstPCFrames = 0
    	d.firstPCSymbolizeResult = 0
    }
    
    // tryAdd tries to add the pc and Frames expanded from it (most likely one,
    // since the stack trace is already fully expanded) and the symbolizeResult
    // to the deck. If it fails the caller needs to flush the deck and retry.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/fsys/fsys.go

    	"sort"
    	"strings"
    	"sync"
    	"time"
    )
    
    // Trace emits a trace event for the operation and file path to the trace log,
    // but only when $GODEBUG contains gofsystrace=1.
    // The traces are appended to the file named by the $GODEBUG setting gofsystracelog, or else standard error.
    // For debugging, if the $GODEBUG setting gofsystracestack is non-empty, then trace events for paths
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. src/runtime/traceback_test.go

    						break
    					}
    					i++
    				}
    				tb.frames = tb.frames[1:]
    			}
    			if !t.Failed() && len(tb.frames) > 0 {
    				t.Errorf("got %d more frames than expected", len(tb.frames))
    			}
    			if t.Failed() {
    				t.Logf("traceback diverged at frame %d", i)
    				off := len(stack)
    				if len(tb.frames) > 0 {
    					off = tb.frames[0].off
    				}
    				t.Logf("traceback before error:\n%s", stack[:off])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.h

                                                         TF_Buffer* buf,
                                                         TF_Status* status);
    
    // Get GraphDebugInfo containing stack traces mapping to node names
    TF_CAPI_EXPORT extern void TFE_ContextGetGraphDebugInfo(
        TFE_Context* ctx, const char* function_name, TF_Buffer* buf,
        TF_Status* status);
    
    // Extracts a TF_Function from the context.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  5. src/runtime/mprof.go

    	n := tracebackPCs(&u, 0, pcbuf)
    	r.Stack = make([]uintptr, n)
    	copy(r.Stack, pcbuf)
    }
    
    // Stack formats a stack trace of the calling goroutine into buf
    // and returns the number of bytes written to buf.
    // If all is true, Stack formats stack traces of all other goroutines
    // into buf after the trace for the current goroutine.
    func Stack(buf []byte, all bool) int {
    	var stw worldStop
    	if all {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/module/module.go

    // needing different casings of a file path, but it would be fairly illegible
    // to most programmers when those paths appeared in the file system
    // (including in file paths in compiler errors and stack traces)
    // in web server logs, and so on. Instead, we want a safe escaped form that
    // leaves most paths unaltered.
    //
    // The safe escaped form is to replace every uppercase letter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. src/runtime/traceback.go

    const usesLR = sys.MinFrameSize > 0
    
    const (
    	// tracebackInnerFrames is the number of innermost frames to print in a
    	// stack trace. The total maximum frames is tracebackInnerFrames +
    	// tracebackOuterFrames.
    	tracebackInnerFrames = 50
    
    	// tracebackOuterFrames is the number of outermost frames to print in a
    	// stack trace.
    	tracebackOuterFrames = 50
    )
    
    // unwindFlags control the behavior of various unwinders.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/trace/trace.go

    	f.sb.Reset()
    	return err
    }
    
    func (t *tracer) Close() error {
    	f := <-t.file
    	defer func() { t.file <- f }()
    
    	_, firstErr := f.f.WriteString("]")
    	if err := f.f.Close(); firstErr == nil {
    		firstErr = err
    	}
    	return firstErr
    }
    
    func (t *tracer) getNextTID() uint64 {
    	return t.nextTID.Add(1)
    }
    
    func (t *tracer) getNextFlowID() uint64 {
    	return t.nextFlowID.Add(1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. cmd/http-tracer.go

    		h.ServeHTTP(respRecorder, r)
    		reqEndTime := time.Now().UTC()
    
    		if globalTrace.NumSubscribers(madmin.TraceS3|madmin.TraceInternal) == 0 {
    			// no subscribers nothing to trace.
    			return
    		}
    
    		tt := madmin.TraceInternal
    		if strings.HasPrefix(tc.FuncName, "s3.") {
    			tt = madmin.TraceS3
    		}
    
    		// Calculate input body size with headers
    		reqHeaders := r.Header.Clone()
    		reqHeaders.Set("Host", r.Host)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprogcgo/trace.go

    // license that can be found in the LICENSE file.
    
    package main
    
    /*
    // Defined in trace_*.c.
    void cCalledFromGo(void);
    */
    import "C"
    import (
    	"context"
    	"fmt"
    	"log"
    	"os"
    	"runtime/trace"
    )
    
    func init() {
    	register("Trace", Trace)
    }
    
    // Trace is used by TestTraceUnwindCGO.
    func Trace() {
    	file, err := os.CreateTemp("", "testprogcgo_trace")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 19:18:12 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top