Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 169 for frame_0 (0.28 sec)

  1. src/internal/trace/trace_test.go

    				totalTraceSamples++
    				if hogRegion != nil && ev.Goroutine() == hogRegion.Goroutine() {
    					traceSamples++
    					var fns []string
    					ev.Stack().Frames(func(frame trace.StackFrame) bool {
    						if frame.Func != "runtime.goexit" {
    							fns = append(fns, fmt.Sprintf("%s:%d", frame.Func, frame.Line))
    						}
    						return true
    					})
    					stack := strings.Join(fns, "|")
    					traceStacks[stack]++
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/runtime/traceback_test.go

    			if !found {
    				fatal("missing (")
    			}
    			frame := parseFrame(funcName, args)
    			cur.frames = append(cur.frames, frame)
    		case elidedRe.MatchString(line):
    			// "...N frames elided..."
    			nStr := elidedRe.FindStringSubmatch(line)
    			n, _ := strconv.Atoi(nStr[1])
    			frame := &tbFrame{elided: n}
    			cur.frames = append(cur.frames, frame)
    		}
    	}
    	return tbs
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

    import okio.ByteString
    import okio.Source
    import okio.Timeout
    
    /**
     * Reads HTTP/2 transport frames.
     *
     * This implementation assumes we do not send an increased [frame][Settings.getMaxFrameSize] to the
     * peer. Hence, we expect all frames to have a max length of [Http2.INITIAL_MAX_FRAME_SIZE].
     */
    class Http2Reader(
      /** Creates a frame reader with max header table size of 4096. */
      private val source: BufferedSource,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      ): Boolean {
        // Don't send new frames after we've failed or enqueued a close frame.
        if (failed || enqueuedClose) return false
    
        // If this frame overflows the buffer, reject it and close the web socket.
        if (queueSize + data.size > MAX_QUEUE_SIZE) {
          close(CLOSE_CLIENT_GOING_AWAY, null)
          return false
        }
    
        // Enqueue the message frame.
        queueSize += data.size.toLong()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    				lastAddr = addr
    			} else if (addr-lastAddr <= neighborhood) && lastFrames != nil {
    				frames = lastFrames
    			}
    
    			sp.addStack(addr, frames)
    		}
    	}
    }
    
    func (sp *sourcePrinter) addStack(addr uint64, frames []plugin.Frame) {
    	// See if the stack contains a function we are interested in.
    	for i, f := range frames {
    		if !sp.interest[f.Func] {
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  6. src/image/gif/reader.go

    	// and implies that each frame's disposal method is 0 (no disposal
    	// specified).
    	Disposal []byte
    	// Config is the global color table (palette), width and height. A nil or
    	// empty-color.Palette Config.ColorModel means that each frame has its own
    	// color table and there is no global color table. Each frame's bounds must
    	// be within the rectangle defined by the two points (0, 0) and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. src/image/gif/writer.go

    	byteorder.LePutUint16(e.buf[7:9], uint16(b.Dy()))
    	e.write(e.buf[:9])
    
    	// To determine whether or not this frame's palette is the same as the
    	// global palette, we can check a couple things. First, do they actually
    	// point to the same []color.Color? If so, they are equal so long as the
    	// frame's palette is not longer than the global palette...
    	paddedSize := log2(len(pm.Palette)) // Size of Local Color Table: 2^(1+n).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K 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/mfinal.go

    				framesz := unsafe.Sizeof((any)(nil)) + f.nret
    				if framecap < framesz {
    					// The frame does not contain pointers interesting for GC,
    					// all not yet finalized objects are stored in finq.
    					// If we do not mark it as FlagNoScan,
    					// the last finalized object is not collected.
    					frame = mallocgc(framesz, nil, true)
    					framecap = framesz
    				}
    
    				if f.fint == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/cmd/trace/pprof.go

    	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,
    				File: frame.File,
    				Line: int(frame.Line),
    			})
    			i++
    			// Cut this off at pprofMaxStack because that's as far
    			// as our deduplication goes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top