Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for frameset (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        close(ErrorCode.PROTOCOL_ERROR, ErrorCode.PROTOCOL_ERROR, e)
      }
    
      /**
       * Sends any initial frames and starts reading frames from the remote peer. This should be called
       * after [Builder.build] for all new connections.
       *
       * @param sendConnectionPreface true to send connection preface frames. This should always be true
       *     except for in tests that don't check for a connection preface.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. src/internal/trace/event.go

    //
    // If two Stacks are equal then their Frames are guaranteed to be identical. If they are not
    // equal, however, their Frames may still be equal.
    type Stack struct {
    	table *evTable
    	id    stackID
    }
    
    // Frames is an iterator over the frames in a Stack.
    func (s Stack) Frames(yield func(f StackFrame) bool) bool {
    	if s.id == 0 {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  3. src/cmd/trace/pprof.go

    // pprofMaxStack is the extent of the deduplication we're willing to do.
    //
    // Because slices aren't comparable and we want to leverage maps for deduplication,
    // we have to choose a fixed constant upper bound on the amount of frames we want
    // to support. In practice this is fine because there's a maximum depth to these
    // stacks anyway.
    const pprofMaxStack = 128
    
    // stackMap is a map of trace.Stack to some value V.
    type stackMap struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. src/runtime/trace_cgo_test.go

    		t.Fatalf("found more than one log with category: %q", category)
    	}
    	return candidates[0]
    }
    
    // dumpStack returns e.Stack() as a string.
    func dumpStackV2(e *trace.Event) string {
    	var buf bytes.Buffer
    	e.Stack().Frames(func(f trace.StackFrame) bool {
    		file := strings.TrimPrefix(f.File, runtime.GOROOT())
    		fmt.Fprintf(&buf, "%s\n\t%s:%d\n", f.Func, file, f.Line)
    		return true
    	})
    	return buf.String()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/runtime/pprof/protomem.go

    					stk = stk[i:]
    					break
    				}
    			}
    			locs = b.appendLocsForStack(locs[:0], stk)
    			if len(locs) > 0 {
    				break
    			}
    			hideRuntime = false // try again, and show all frames next time.
    		}
    
    		values[0], values[1] = scaleHeapSample(r.AllocObjects, r.AllocBytes, rate)
    		values[2], values[3] = scaleHeapSample(r.InUseObjects(), r.InUseBytes(), rate)
    		var blockSize int64
    		if r.AllocObjects > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/runtime/traceback_system_test.go

    func formatStack(pcs []uintptr) string {
    	// When debugging, show file/line/content of files other than this one.
    	const debug = false
    
    	var buf strings.Builder
    	i := 0
    	frames := runtime.CallersFrames(pcs)
    	for {
    		fr, more := frames.Next()
    		if debug {
    			fmt.Fprintf(&buf, "pc=%x ", pcs[i])
    			i++
    		}
    		if base := filepath.Base(fr.File); base == "traceback_system_test.go" || debug {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/reflect/asm_loong64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    #include "funcdata.h"
    
    #define	REGCTXT	R29
    
    // The frames of each of the two functions below contain two locals, at offsets
    // that are known to the runtime.
    //
    // The first local is a bool called retValid with a whole pointer-word reserved
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/image/gif/writer_test.go

    			return false
    		}
    	}
    	return true
    }
    
    var frames = []string{
    	"../testdata/video-001.gif",
    	"../testdata/video-005.gray.gif",
    }
    
    func testEncodeAll(t *testing.T, go1Dot5Fields bool, useGlobalColorModel bool) {
    	const width, height = 150, 103
    
    	g0 := &GIF{
    		Image:     make([]*image.Paletted, len(frames)),
    		Delay:     make([]int, len(frames)),
    		LoopCount: 5,
    	}
    	for i, f := range frames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. src/runtime/extern.go

    	MemProfileRate for the default value.
    
    	profstackdepth: profstackdepth=128 (the default) will set the maximum stack
    	depth used by all pprof profilers except for the CPU profiler to 128 frames.
    	Stack traces that exceed this limit will be truncated to the limit starting
    	from the leaf frame. Setting profstackdepth to any value above 1024 will
    	silently default to 1024. Future versions of Go may remove this limitation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    }
    
    type internalObjFile struct {
    	ObjFile
    }
    
    func (f *internalObjFile) SourceLine(frame uint64) ([]plugin.Frame, error) {
    	frames, err := f.ObjFile.SourceLine(frame)
    	if err != nil {
    		return nil, err
    	}
    	var pluginFrames []plugin.Frame
    	for _, f := range frames {
    		pluginFrames = append(pluginFrames, plugin.Frame(f))
    	}
    	return pluginFrames, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top