Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 183 for tramps (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        opcode = b0 and B0_MASK_OPCODE
        isFinalFrame = b0 and B0_FLAG_FIN != 0
        isControlFrame = b0 and OPCODE_FLAG_CONTROL != 0
    
        // Control frames must be final frames (cannot contain continuations).
        if (isControlFrame && !isFinalFrame) {
          throw ProtocolException("Control frames must be final.")
        }
    
        val reservedFlag1 = b0 and B0_FLAG_RSV1 != 0
        when (opcode) {
          OPCODE_TEXT, OPCODE_BINARY -> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/internal/trace/traceviewer/emitter.go

    				frames     = make(map[string]format.Frame)
    				framesSize = 0
    			)
    			for i, ev := range sizes {
    				eventsSize += ev.Sz
    
    				// Add required stack frames. Note that they
    				// may already be in the map.
    				for _, id := range ev.Frames {
    					s := strconv.Itoa(id)
    					_, ok := frames[s]
    					if ok {
    						continue
    					}
    					f := allFrames[s]
    					frames[s] = f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. src/runtime/symtab.go

    	switch len(ci.frames) {
    	case 0: // In the rare case when there are no frames at all, we return Frame{}.
    		return
    	case 1:
    		frame = ci.frames[0]
    		ci.frames = ci.frameStore[:0]
    	case 2:
    		frame = ci.frames[0]
    		ci.frameStore[0] = ci.frames[1]
    		ci.frames = ci.frameStore[:1]
    	default:
    		frame = ci.frames[0]
    		ci.frames = ci.frames[1:]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/ld_test.go

    	out, err = cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("nm failure: %s\n%s\n", err, string(out))
    	}
    	if !bytes.Contains(out, []byte(" T a-tramp0")) {
    		t.Errorf("Trampoline a-tramp0 is missing")
    	}
    	if bytes.Contains(out, []byte(" T b-tramp0")) {
    		t.Errorf("Trampoline b-tramp0 exists unnecessarily")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 05:45:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration.go

    	// APFQueueWaitTracker tracks the latency incurred by queue wait times
    	// from priority & fairness.
    	APFQueueWaitTracker DurationTracker
    
    	// StorageTracker tracks the latency incurred inside the storage layer,
    	// it accounts for the time it takes to send data to the underlying
    	// storage layer (etcd) and get the complete response back.
    	// If a request involves N (N>=1) round trips to the underlying
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 22:15:37 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/runtime/callers_test.go

    	}
    	ret := make([]uintptr, 20)
    	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)
  7. src/internal/trace/generation.go

    			}
    			frames = append(frames, pc)
    
    			if _, ok := pcs[pc]; !ok {
    				pcs[pc] = frame{
    					pc:     pc,
    					funcID: stringID(funcID),
    					fileID: stringID(fileID),
    					line:   line,
    				}
    			}
    		}
    
    		// Add the stack to the map.
    		if err := stackTable.insert(stackID(id), stack{pcs: frames}); err != nil {
    			return err
    		}
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    			})
    		}
    		return stack
    	}
    
    	for _, addr := range unprocessed {
    		frames := makeFrames(addr)
    		x := instructionInfo{
    			objAddr: addr,
    			length:  1,
    			disasm:  synthAsm,
    		}
    		if len(frames) > 0 {
    			x.file = frames[0].File
    			x.line = frames[0].Line
    		}
    		sp.insts[addr] = x
    
    		sp.addStack(addr, frames)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  9. src/image/gif/reader_test.go

    // See golang.org/issue/22237
    func TestDecodeMemoryConsumption(t *testing.T) {
    	const frames = 3000
    	img := image.NewPaletted(image.Rectangle{Max: image.Point{1, 1}}, palette.WebSafe)
    	hugeGIF := &GIF{
    		Image:    make([]*image.Paletted, frames),
    		Delay:    make([]int, frames),
    		Disposal: make([]byte, frames),
    	}
    	for i := 0; i < frames; i++ {
    		hugeGIF.Image[i] = img
    		hugeGIF.Delay[i] = 60
    	}
    	buf := new(bytes.Buffer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

    import okio.Buffer
    import okio.BufferedSource
    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. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top