Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 527 for frame_0 (0.14 sec)

  1. src/runtime/callers_test.go

    	return ret[:runtime.Callers(0, ret)] // line 27
    }
    
    func testCallers(t *testing.T, pcs []uintptr, pan bool) {
    	m := make(map[string]int, len(pcs))
    	frames := runtime.CallersFrames(pcs)
    	for {
    		frame, more := frames.Next()
    		if frame.Function != "" {
    			m[frame.Function] = frame.Line
    		}
    		if !more {
    			break
    		}
    	}
    
    	var seen []string
    	for k := range m {
    		seen = append(seen, k)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. test/heapsampling.go

    	// allocations are from the same leaf, so pick the first one.
    	var firstLine int
    	for ln := range allocObjects(records, frames[0]) {
    		if firstLine == 0 || firstLine > ln {
    			firstLine = ln
    		}
    	}
    	for _, frame := range frames {
    		var objectCount int64
    		a := allocObjects(records, frame)
    		for s := range size {
    			// Allocations of size size[s] should be on line firstLine + s.
    			ln := firstLine + s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 27 21:36:06 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  3. src/internal/pkgbits/sync.go

    // walkFrames calls visit for each call frame represented by pcs.
    //
    // pcs should be a slice of PCs, as returned by runtime.Callers.
    func walkFrames(pcs []uintptr, visit frameVisitor) {
    	if len(pcs) == 0 {
    		return
    	}
    
    	frames := runtime.CallersFrames(pcs)
    	for {
    		frame, more := frames.Next()
    		visit(frame.File, frame.Line, frame.Function, frame.PC-frame.Entry)
    		if !more {
    			return
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 17:12:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          reason: String,
        )
      }
    
      /**
       * Process the next protocol frame.
       *
       *  * If it is a control frame this will result in a single call to [FrameCallback].
       *  * If it is a message frame this will result in a single call to [FrameCallback.onReadMessage].
       *    If the message spans multiple frames, each interleaved control frame will result in a
       *    corresponding call to [FrameCallback].
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/internal/trace/generation.go

    	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 {
    				err = fmt.Errorf("found unknown pc %x for stack %d", pc, id)
    				return false
    			}
    			_, ok = strings.get(frame.funcID)
    			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)
  6. src/runtime/testdata/testprogcgo/tracebackctxt.go

    //export G1
    func G1() {
    	C.C2()
    }
    
    //export G2
    func G2() {
    	pc := make([]uintptr, 32)
    	n := runtime.Callers(0, pc)
    	cf := runtime.CallersFrames(pc[:n])
    	var frames []runtime.Frame
    	for {
    		frame, more := cf.Next()
    		frames = append(frames, frame)
    		if !more {
    			break
    		}
    	}
    
    	want := []struct {
    		function string
    		line     int
    	}{
    		{"main.G2", 0},
    		{"cFunction", 0x10200},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 29 15:30:38 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  7. src/cmd/internal/test2json/testdata/frame.test

    Russ Cox <******@****.***> 1665692026 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 163 bytes
    - Viewed (0)
  8. src/cmd/internal/test2json/testdata/frame.json

    Russ Cox <******@****.***> 1667840325 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 563 bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            if (closed) return
            outFinished = errorCode == null
          }
          if (!sink.finished) {
            // We have 0 or more frames of data, and 0 or more frames of trailers. We need to send at
            // least one frame with the END_STREAM flag set. That must be the last frame, and the
            // trailers must be sent after all of the data.
            val hasData = sendBuffer.size > 0L
            val hasTrailers = trailers != null
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/deadness_analysis.cc

                                      std::vector<string> frame)
          : Predicate(id), operands_({start, step}), frame_(std::move(frame)) {}
    
      Predicate* start() const { return operands_[0]; }
      Predicate* step() const { return operands_[1]; }
      absl::Span<const string> frame() const { return frame_; }
    
      string ToString() const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top