Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for readFrame (0.19 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go

    	a := &llvmSymbolizer{
    		filename: file,
    		rw:       j,
    		base:     base,
    	}
    
    	return a, nil
    }
    
    // readFrame parses the llvm-symbolizer output for a single address. It
    // returns a populated plugin.Frame and whether it has reached the end of the
    // data.
    func (d *llvmSymbolizer) readFrame() (plugin.Frame, bool) {
    	funcname, err := d.rw.readLine()
    	if err != nil {
    		return plugin.Frame{}, true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go

    		return nil, err
    	}
    
    	a := &addr2Liner{
    		rw:   j,
    		base: base,
    	}
    
    	return a, nil
    }
    
    // readFrame parses the addr2line output for a single address. It
    // returns a populated plugin.Frame and whether it has reached the end of the
    // data.
    func (d *addr2Liner) readFrame() (plugin.Frame, bool) {
    	funcname, err := d.rw.readLine()
    	if err != nil {
    		return plugin.Frame{}, true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go

    func NewJSONFramedReader(r io.ReadCloser) io.ReadCloser {
    	return &jsonFrameReader{
    		r:       r,
    		decoder: json.NewDecoder(r),
    	}
    }
    
    // ReadFrame decodes the next JSON object in the stream, or returns an error. The returned
    // byte slice will be modified the next time ReadFrame is invoked and should not be altered.
    func (r *jsonFrameReader) Read(data []byte) (int, error) {
    	// Return whatever remaining data exists from an in progress frame
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/net/http/h2_bundle.go

    // error from ReadFrame and no other frames should be read.
    func http2terminalReadFrameError(err error) bool {
    	if _, ok := err.(http2StreamError); ok {
    		return false
    	}
    	return err != nil
    }
    
    // ReadFrame reads a single frame. The returned Frame is only valid
    // until the next call to ReadFrame.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/HierarchicalNameSerializer.java

        }
    
        @Override
        public String read(Decoder decoder) throws Exception {
            String name = readName(decoder);
            return interner.intern(name);
        }
    
        @Override
        public void write(Encoder encoder, String name) throws Exception {
            writeName(name, encoder);
        }
    
        private String readName(Decoder decoder) throws IOException {
            int id = decoder.readSmallInt();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/trace/trace.go

    func Start(w io.Writer) error {
    	tracing.Lock()
    	defer tracing.Unlock()
    
    	if err := runtime.StartTrace(); err != nil {
    		return err
    	}
    	go func() {
    		for {
    			data := runtime.ReadTrace()
    			if data == nil {
    				break
    			}
    			w.Write(data)
    		}
    	}()
    	tracing.enabled.Store(true)
    	return nil
    }
    
    // Stop stops the current tracing, if any.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. 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)
  9. api/go1.5.txt

    pkg os/signal, func Ignore(...os.Signal)
    pkg os/signal, func Reset(...os.Signal)
    pkg reflect, func ArrayOf(int, Type) Type
    pkg reflect, func FuncOf([]Type, []Type, bool) Type
    pkg runtime, func ReadTrace() []uint8
    pkg runtime, func StartTrace() error
    pkg runtime, func StopTrace()
    pkg runtime, type MemStats struct, GCCPUFraction float64
    pkg runtime/trace, func Start(io.Writer) error
    pkg runtime/trace, func Stop()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  10. 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