Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 213 for sticky (0.49 sec)

  1. src/net/http/h2_bundle.go

    		}
    		if p.b != nil && p.b.Len() > 0 {
    			return p.b.Read(d)
    		}
    		if p.err != nil {
    			if p.readFn != nil {
    				p.readFn()     // e.g. copy trailers
    				p.readFn = nil // not sticky like p.err
    			}
    			p.b = nil
    			return 0, p.err
    		}
    		p.c.Wait()
    	}
    }
    
    var (
    	http2errClosedPipeWrite        = errors.New("write on closed buffer")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  2. src/runtime/debug/stack.go

    )
    
    // PrintStack prints to standard error the stack trace returned by runtime.Stack.
    func PrintStack() {
    	os.Stderr.Write(Stack())
    }
    
    // Stack returns a formatted stack trace of the goroutine that calls it.
    // It calls [runtime.Stack] with a large enough buffer to capture the entire trace.
    func Stack() []byte {
    	buf := make([]byte, 1024)
    	for {
    		n := runtime.Stack(buf, false)
    		if n < len(buf) {
    			return buf[:n]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    // A StackRecord describes a single execution stack.
    type StackRecord struct {
    	Stack0 [32]uintptr // stack trace for this record; ends at first 0 entry
    }
    
    // Stack returns the stack trace associated with the record,
    // a prefix of r.Stack0.
    func (r *StackRecord) Stack() []uintptr {
    	for i, v := range r.Stack0 {
    		if v == 0 {
    			return r.Stack0[0:i]
    		}
    	}
    	return r.Stack0[0:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. samples/helloworld/helloworld-dual-stack.yaml

    John Howard <******@****.***> 1710626582 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 16 22:03:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/time/tick.go

    // A Ticker holds a channel that delivers “ticks” of a clock
    // at intervals.
    type Ticker struct {
    	C          <-chan Time // The channel on which the ticks are delivered.
    	initTicker bool
    }
    
    // NewTicker returns a new [Ticker] containing a channel that will send
    // the current time on the channel after each tick. The period of the
    // ticks is specified by the duration argument. The ticker will adjust
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    	// by a more efficient mechanism
    	stacks []stack
    }
    
    type stack struct {
    	pcs     []uintptr
    	counter *Counter
    }
    
    func NewStack(name string, depth int) *StackCounter {
    	return &StackCounter{name: name, depth: depth, file: &defaultFile}
    }
    
    // Inc increments a stack counter. It computes the caller's stack and
    // looks up the corresponding counter. It then increments that counter,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/cmd/trace/pprof.go

    	m.pcs[pcs] = stack
    	m.stacks[stack] = rec
    	return rec
    }
    
    func (m *stackMap) profile() []traceviewer.ProfileRecord {
    	prof := make([]traceviewer.ProfileRecord, 0, len(m.stacks))
    	for stack, record := range m.stacks {
    		rec := *record
    		i := 0
    		stack.Frames(func(frame trace.StackFrame) bool {
    			rec.Stack = append(rec.Stack, &trace.Frame{
    				PC:   frame.PC,
    				Fn:   frame.Func,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go

    	def("sourcelisting", loadFile("html/source.html"))
    	def("plaintext", loadFile("html/plaintext.html"))
    	// TODO: Rename "stacks" to "flamegraph" to seal moving off d3 flamegraph.
    	def("stacks", loadFile("html/stacks.html"))
    	def("stacks_css", loadCSS("html/stacks.css"))
    	def("stacks_js", loadJS("html/stacks.js"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. src/internal/trace/generation.go

    	return nil
    }
    
    // validateStackStrings makes sure all the string references in
    // the stack table are present in the string table.
    func validateStackStrings(
    	stacks *dataTable[stackID, stack],
    	strings *dataTable[stringID, string],
    	frames map[uint64]frame,
    ) error {
    	var err error
    	stacks.forEach(func(id stackID, stk stack) bool {
    		for _, pc := range stk.pcs {
    			frame, ok := frames[pc]
    			if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/internal/trace/internal/testgen/go122/trace.go

    	g.strings[s] = id
    	return id
    }
    
    // Stack registers a stack with the trace.
    //
    // This is a convenience function for easily adding correct
    // stacks to traces.
    func (g *Generation) Stack(stk []trace.StackFrame) uint64 {
    	if len(stk) == 0 {
    		return 0
    	}
    	if len(stk) > 32 {
    		panic("stack too big for test")
    	}
    	var stkc stack
    	copy(stkc.stk[:], stk)
    	stkc.len = len(stk)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top