Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 527 for frame_0 (0.12 sec)

  1. 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)
  2. 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)
  3. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

      }
    
      /** Maximum length of an outbound data frame.  */
      fun maxOutboundDataLength(): Int = writer.maxDataLength()
    
      /** Count of frames sent or received.  */
      fun frameCount(): Int = frameCount
    
      fun sendFrame(): Http2Writer {
        outFrames.add(OutFrame(frameCount++, bytesOut.size, false))
        return writer
      }
    
      /**
       * Shortens the last frame from its original length to `length`. This will cause the peer to
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. 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)
  5. src/internal/pkgbits/encoder.go

    		n := runtime.Callers(2, pcs)
    		frames = fmtFrames(pcs[:n]...)
    	}
    
    	// TODO(mdempsky): Save space by writing out stack frames as a
    	// linked list so we can share common stack frames.
    	w.rawUvarint(uint64(m))
    	w.rawUvarint(uint64(len(frames)))
    	for _, frame := range frames {
    		w.rawUvarint(uint64(w.rawReloc(RelocString, w.p.StringIdx(frame))))
    	}
    }
    
    // Bool encodes and writes a bool value into the element bitstream,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 23:26:58 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  6. src/cmd/trace/jsontrace_test.go

    			filtered.Events = append(filtered.Events, e)
    		}
    	}
    	return
    }
    
    func stackFrames(data *format.Data, stackID int) (frames []string) {
    	for {
    		frame, ok := data.Frames[strconv.Itoa(stackID)]
    		if !ok {
    			return
    		}
    		frames = append(frames, frame.Name)
    		stackID = frame.Parent
    	}
    }
    
    func checkProcStartStop(t *testing.T, data format.Data) {
    	procStarted := map[uint64]bool{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K 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. test/fixedbugs/issue20780.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // We have a limit of 1GB for stack frames.
    // Make sure we include the callee args section.
    
    package main
    
    type Big = [400e6]byte
    
    func f() { // GC_ERROR "stack frame too large"
    	// Note: This test relies on the fact that we currently always
    	// spill function-results to the stack, even if they're so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jan 10 08:01:49 UTC 2021
    - 755 bytes
    - Viewed (0)
  9. src/runtime/stack_test.go

    	// and that we see TestTracebackSystemstack.
    	countIn, countOut := 0, 0
    	frames := CallersFrames(pcs)
    	var tb strings.Builder
    	for {
    		frame, more := frames.Next()
    		fmt.Fprintf(&tb, "\n%s+0x%x %s:%d", frame.Function, frame.PC-frame.Entry, frame.File, frame.Line)
    		switch frame.Function {
    		case "runtime.TracebackSystemstack":
    			countIn++
    		case "runtime_test.TestTracebackSystemstack":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/FailurePrinterListener.java

        /**
         * Invoked after a failure header has been printed, and before any stack frames have been printed.
         */
        void beforeFrames();
    
        /**
         * Invoked before a given stack frame is printed.
         */
        void beforeFrame(StackTraceElement element, StackTraceRelevance relevance);
    
        /**
         * Invoked after all stack frames of a failure have been printed.
         */
        void afterFrames();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top