- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 111 for Map (0.16 sec)
-
src/internal/trace/oldtrace_test.go
t.Fatalf("converted event did not validate; event: \n%s\nerror: %s", ev, err) } if testName == "user_task_region_1_21_good" { testedUserRegions = true validRegions := map[string]struct{}{ "post-existing region": struct{}{}, "region0": struct{}{}, "region1": struct{}{}, } // Check that we correctly convert user regions. These
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
src/internal/trace/raw/textreader.go
"internal/trace/version" ) // TextReader parses a text format trace with only very basic validation // into an event stream. type TextReader struct { v version.Version specs []event.Spec names map[string]event.Type s *bufio.Scanner } // NewTextReader creates a new reader for the trace text format. func NewTextReader(r io.Reader) (*TextReader, error) { tr := &TextReader{s: bufio.NewScanner(r)}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 4.9K bytes - Viewed (0) -
src/runtime/trace_cgo_test.go
t.Parallel() exe, err := buildTestProg(t, "testprogcgo") if err != nil { t.Fatal(err) } wantLogs := []string{ "goCalledFromC", "goCalledFromCThread", } logs := make(map[string]*trace.Event) for _, category := range wantLogs { logs[category] = nil } for _, tracefpunwindoff := range []int{1, 0} { env := fmt.Sprintf("GODEBUG=tracefpunwindoff=%d", tracefpunwindoff)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/findwork.go
"strings" ) // files to handle type work struct { // absolute file names countfiles []string // count files to process readyfiles []string // old reports to upload // relative names uploaded map[string]bool // reports that have been uploaded } // find all the files that look like counter files or reports // that need to be uploaded. (There may be unexpected leftover files
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:12:15 UTC 2024 - 3.4K bytes - Viewed (0) -
src/go/types/eval_test.go
expr, err := parser.ParseExprFrom(fset, "eval", str, 0) if err != nil { return nil, err } info := &Info{ Uses: make(map[*ast.Ident]Object), Selections: make(map[*ast.SelectorExpr]*Selection), } if err := CheckExpr(fset, pkg, pos, expr, info); err != nil { return nil, fmt.Errorf("CheckExpr(%q) failed: %s", str, err) } switch expr := expr.(type) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 19:56:15 UTC 2024 - 8.3K bytes - Viewed (0) -
src/runtime/tracestring.go
// license that can be found in the LICENSE file. // Trace string management. package runtime // Trace strings. const maxTraceStringLen = 1024 // traceStringTable is map of string -> unique ID that also manages // writing strings out into the trace. type traceStringTable struct { // lock protects buf. lock mutex buf *traceBuf // string batches to write out to the trace.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go
// ResultOf provides the inputs to this analysis pass, which are // the corresponding results of its prerequisite analyzers. // The map keys are the elements of Analysis.Required, // and the type of each corresponding value is the required // analysis's ResultType. ResultOf map[*Analyzer]interface{} // ReadFile returns the contents of the named file. // // The only valid file names are the elements of OtherFiles
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.1K bytes - Viewed (0) -
src/math/big/bits_test.go
// by treating them as an addition (e.g., Bits{5, 5} => Bits{6}), and it sorts // the result list for reproducible results. func (x Bits) norm() Bits { m := make(map[int]bool) for _, b := range x { for m[b] { m[b] = false b++ } m[b] = true } var z Bits for b, set := range m { if set { z = append(z, b) } } slices.Sort([]int(z))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/versions/types_go122.go
// This would act as a max version on what a tool can support. return Future } // InitFileVersions initializes info to record Go versions for Go files. func InitFileVersions(info *types.Info) { info.FileVersions = make(map[*ast.File]string)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 1.3K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/cpu-profile.go
// the single test goroutine. Use labels to execute that filter: they should // apply to all work done while that goroutine is getg().m.curg, and they // should apply to no other goroutines. pprofStacks := make(map[string]int) for _, s := range prof.Sample { if s.Label["tracing"] != nil { var fns []string var leaf string for _, loc := range s.Location { for _, line := range loc.Line {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.8K bytes - Viewed (0)