Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 84 for frameset (0.27 sec)

  1. src/image/gif/writer.go

    		e.globalCT, err = encodeColorTable(e.globalColorTable[:], p, paddedSize)
    		if err != nil && e.err == nil {
    			e.err = err
    			return
    		}
    		e.write(e.globalColorTable[:e.globalCT])
    	} else {
    		// All frames have a local color table, so a global color table
    		// is not needed.
    		e.buf[0] = 0x00
    		e.buf[1] = 0x00 // Background Color Index.
    		e.buf[2] = 0x00 // Pixel Aspect Ratio.
    		e.write(e.buf[:3])
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. src/log/slog/value.go

    func stack(skip, nFrames int) string {
    	pcs := make([]uintptr, nFrames+1)
    	n := runtime.Callers(skip+1, pcs)
    	if n == 0 {
    		return "(no stack)"
    	}
    	frames := runtime.CallersFrames(pcs[:n])
    	var b strings.Builder
    	i := 0
    	for {
    		frame, more := frames.Next()
    		fmt.Fprintf(&b, "called from %s (%s:%d)\n", frame.Function, frame.File, frame.Line)
    		if !more {
    			break
    		}
    		i++
    		if i >= nFrames {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/cache/DefaultCacheConfigurations.java

                if (removeUnusedEntriesAfterDays < 1) {
                    throw new IllegalArgumentException(name + " cannot be set to retain entries for " + removeUnusedEntriesAfterDays + " days.  For time frames shorter than one day, use the 'removeUnusedEntriesOlderThan' property.");
                }
                getRemoveUnusedEntriesOlderThan().set(providerFromSupplier(daysAgo(removeUnusedEntriesAfterDays)));
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. src/runtime/traceevent.go

    	// Write out event.
    	w.byte(byte(ev))
    	w.varint(tsDiff)
    	for _, arg := range args {
    		w.varint(uint64(arg))
    	}
    	return w
    }
    
    // stack takes a stack trace skipping the provided number of frames.
    // It then returns a traceArg representing that stack which may be
    // passed to write.
    func (tl traceLocker) stack(skip int) traceArg {
    	return traceArg(traceStack(skip, nil, tl.gen))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(data2.streamId).isEqualTo(3)
        assertArrayEquals("fghi".toByteArray(), data2.data)
      }
    
      /**
       * Confirm that we account for discarded data frames. It's possible that data frames are in-flight
       * just prior to us canceling a stream.
       */
      @Test fun discardedDataFramesAreCounted() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. src/internal/trace/testtrace/validation.go

    		v.ms[m] = s
    		return s
    	}
    	return s
    }
    
    func checkStack(e *errAccumulator, stk trace.Stack) {
    	// Check for non-empty values, but we also check for crashes due to incorrect validation.
    	i := 0
    	stk.Frames(func(f trace.StackFrame) bool {
    		if i == 0 {
    			// Allow for one fully zero stack.
    			//
    			// TODO(mknyszek): Investigate why that happens.
    			return true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/trace/gstate.go

    			endTime:    ts,
    			startStack: r.stack,
    			endStack:   stack,
    		})
    	}
    	delete(gs.activeRanges, name)
    }
    
    func lastFunc(s trace.Stack) string {
    	var last trace.StackFrame
    	s.Frames(func(f trace.StackFrame) bool {
    		last = f
    		return true
    	})
    	return last.Func
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. src/internal/bisect/bisect.go

    func printStack(w Writer, h uint64, stk []uintptr) error {
    	buf := make([]byte, 0, 2048)
    
    	var prefixBuf [100]byte
    	prefix := AppendMarker(prefixBuf[:0], h)
    
    	frames := runtime.CallersFrames(stk)
    	for {
    		f, more := frames.Next()
    		buf = append(buf, prefix...)
    		buf = append(buf, f.Function...)
    		buf = append(buf, "()\n"...)
    		buf = append(buf, prefix...)
    		buf = append(buf, '\t')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. src/cmd/trace/regions.go

    		Type:  r.Name,
    	}
    }
    
    func regionTopStackFrame(r *trace.UserRegionSummary) trace.StackFrame {
    	var frame trace.StackFrame
    	if r.Start != nil && r.Start.Stack() != trace.NoStack {
    		r.Start.Stack().Frames(func(f trace.StackFrame) bool {
    			frame = f
    			return false
    		})
    	}
    	return frame
    }
    
    type regionStats struct {
    	regionFingerprint
    	Histogram traceviewer.TimeHistogram
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof.go

    // printStackRecord prints the function + source line information
    // for a single stack trace.
    func printStackRecord(w io.Writer, stk []uintptr, allFrames bool) {
    	show := allFrames
    	frames := runtime.CallersFrames(stk)
    	for {
    		frame, more := frames.Next()
    		name := frame.Function
    		if name == "" {
    			show = true
    			fmt.Fprintf(w, "#\t%#x\n", frame.PC)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top