Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for go222 (0.18 sec)

  1. src/internal/trace/order.go

    	go122.EvGoStart:             (*ordering).advanceGoStart,
    	go122.EvGoDestroy:           (*ordering).advanceGoStopExec,
    	go122.EvGoDestroySyscall:    (*ordering).advanceGoDestroySyscall,
    	go122.EvGoStop:              (*ordering).advanceGoStopExec,
    	go122.EvGoBlock:             (*ordering).advanceGoStopExec,
    	go122.EvGoUnblock:           (*ordering).advanceGoUnblock,
    	go122.EvGoSyscallBegin:      (*ordering).advanceGoSyscallBegin,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  2. src/internal/trace/internal/testgen/go122/trace.go

    			b.writeEventsTo(tw)
    			b = g.newStructuralBatch()
    		}
    	}
    	b.writeEventsTo(tw)
    
    	// Write strings.
    	b = g.newStructuralBatch()
    	b.RawEvent(go122.EvStrings, nil)
    	for s, id := range g.strings {
    		b.RawEvent(go122.EvString, []byte(s), id)
    
    		// Flush the batch if necessary.
    		if !g.ignoreStringBatchSizeLimit && b.size > go122.MaxBatchSize/2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. src/internal/trace/event.go

    	go122.EvHeapAlloc:           EventMetric,
    	go122.EvHeapGoal:            EventMetric,
    	go122.EvGoLabel:             EventLabel,
    	go122.EvUserTaskBegin:       EventTaskBegin,
    	go122.EvUserTaskEnd:         EventTaskEnd,
    	go122.EvUserRegionBegin:     EventRegionBegin,
    	go122.EvUserRegionEnd:       EventRegionEnd,
    	go122.EvUserLog:             EventLog,
    	go122.EvGoSwitch:            EventStateTransition,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  4. src/internal/trace/batch.go

    	return b.exp == event.NoExperiment && len(b.data) > 0 && event.Type(b.data[0]) == go122.EvStrings
    }
    
    func (b *batch) isStacksBatch() bool {
    	return b.exp == event.NoExperiment && len(b.data) > 0 && event.Type(b.data[0]) == go122.EvStacks
    }
    
    func (b *batch) isCPUSamplesBatch() bool {
    	return b.exp == event.NoExperiment && len(b.data) > 0 && event.Type(b.data[0]) == go122.EvCPUSamples
    }
    
    func (b *batch) isFreqBatch() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/internal/trace/generation.go

    	hdr, err := r.ReadByte() // Consume the EvStrings byte.
    	if err != nil || event.Type(hdr) != go122.EvStrings {
    		return fmt.Errorf("missing strings batch header")
    	}
    
    	var sb strings.Builder
    	for r.Len() != 0 {
    		// Read the header.
    		ev, err := r.ReadByte()
    		if err != nil {
    			return err
    		}
    		if event.Type(ev) != go122.EvString {
    			return fmt.Errorf("expected string event, got %d", ev)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/internal/trace/version/version.go

    	// Version.Valid.
    	Go111: nil,
    	Go119: nil,
    	Go121: nil,
    
    	Go122: go122.Specs(),
    	// Go 1.23 adds backwards-incompatible events, but
    	// traces produced by Go 1.22 are also always valid
    	// Go 1.23 traces.
    	Go123: go122.Specs(),
    }
    
    // Specs returns the set of event.Specs for this version.
    func (v Version) Specs() []event.Spec {
    	return versions[v]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/internal/trace/base.go

    }
    
    // extra returns a slice representing extra available space in args
    // that the parser can use to pass data up into Event.
    func (e *baseEvent) extra(v version.Version) []uint64 {
    	switch v {
    	case version.Go122:
    		return e.args[len(go122.Specs()[e.typ].Args)-1:]
    	}
    	panic(fmt.Sprintf("unsupported version: go 1.%d", v))
    }
    
    // evTable contains the per-generation data necessary to
    // interpret an individual event.
    type evTable struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/tests/go122-annotations.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/tests/go122-annotations-stress.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  10. src/internal/trace/reader.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package trace
    
    import (
    	"bufio"
    	"fmt"
    	"io"
    	"slices"
    	"strings"
    
    	"internal/trace/event/go122"
    	"internal/trace/internal/oldtrace"
    	"internal/trace/version"
    )
    
    // Reader reads a byte stream, validates it, and produces trace events.
    type Reader struct {
    	r           *bufio.Reader
    	lastTs      Time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top