Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for readFrame (0.16 sec)

  1. src/runtime/trace.go

    	}
    }
    
    // ReadTrace returns the next chunk of binary tracing data, blocking until data
    // is available. If tracing is turned off and all the data accumulated while it
    // was on has been returned, ReadTrace returns nil. The caller must copy the
    // returned data before calling ReadTrace again.
    // ReadTrace must be called from one goroutine at a time.
    func ReadTrace() []byte {
    top:
    	var buf []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. src/encoding/xml/xml.go

    					n, err := strconv.ParseUint(s, base, 64)
    					if err == nil && n <= unicode.MaxRune {
    						text = string(rune(n))
    						haveText = true
    					}
    				}
    			} else {
    				d.ungetc(b)
    				if !d.readName() {
    					if d.err != nil {
    						return nil
    					}
    				}
    				if b, ok = d.mustgetc(); !ok {
    					return nil
    				}
    				if b != ';' {
    					d.ungetc(b)
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  3. src/internal/trace/internal/oldtrace/parser.go

    	// The ordering of CPU profile sample events in the data stream is based on
    	// when each run of the signal handler was able to acquire the spinlock,
    	// with original timestamps corresponding to when ReadTrace pulled the data
    	// off of the profBuf queue. Re-sort them by the timestamp we captured
    	// inside the signal handler.
    	slices.SortFunc(p.cpuSamples, func(a, b Event) int {
    		return cmp.Compare(a.Ts, b.Ts)
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
Back to top