Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for NoExperiment (0.21 sec)

  1. src/internal/trace/batch.go

    }
    
    func (b *batch) isStringsBatch() bool {
    	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
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/internal/trace/event/event.go

    		nameToType[spec.Name] = Type(byte(i))
    	}
    	return nameToType
    }
    
    // Experiment is an experiment ID that events may be associated with.
    type Experiment uint
    
    // NoExperiment is the reserved ID 0 indicating no experiment.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/internal/trace/generation.go

    		freq, err := parseFreq(b)
    		if err != nil {
    			return err
    		}
    		if g.freq != 0 {
    			return fmt.Errorf("found multiple frequency events")
    		}
    		g.freq = freq
    	case b.exp != event.NoExperiment:
    		if g.expData == nil {
    			g.expData = make(map[event.Experiment]*ExperimentalData)
    		}
    		if err := addExperimentalData(g.expData, b); err != nil {
    			return err
    		}
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. src/internal/goexperiment/flags.go

    // Package goexperiment implements support for toolchain experiments.
    //
    // Toolchain experiments are controlled by the GOEXPERIMENT
    // environment variable. GOEXPERIMENT is a comma-separated list of
    // experiment names. GOEXPERIMENT can be set at make.bash time, which
    // sets the default experiments for binaries built with the tool
    // chain; or it can be set at build time. GOEXPERIMENT can also be set
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/runtime/atomic_pointer.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"internal/goexperiment"
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    // These functions cannot have go:noescape annotations,
    // because while ptr does not escape, new does.
    // If new is marked as not escaping, the compiler will make incorrect
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/internal/goexperiment/exp_aliastypeparams_off.go

    // Code generated by mkconsts.go. DO NOT EDIT.
    
    //go:build !goexperiment.aliastypeparams
    
    package goexperiment
    
    const AliasTypeParams = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 171 bytes
    - Viewed (0)
  7. src/internal/goexperiment/exp_aliastypeparams_on.go

    // Code generated by mkconsts.go. DO NOT EDIT.
    
    //go:build goexperiment.aliastypeparams
    
    package goexperiment
    
    const AliasTypeParams = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 169 bytes
    - Viewed (0)
  8. src/testing/newcover.go

    // license that can be found in the LICENSE file.
    
    // Support for test coverage with redesigned coverage implementation.
    
    package testing
    
    import (
    	"fmt"
    	"internal/goexperiment"
    	"os"
    	_ "unsafe" // for linkname
    )
    
    // cover2 variable stores the current coverage mode and a
    // tear-down function to be called at the end of the testing run.
    var cover2 struct {
    	mode        string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/internal/coverage/cfile/ts_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cfile
    
    import (
    	"encoding/json"
    	"flag"
    	"internal/coverage"
    	"internal/goexperiment"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"strings"
    	"testing"
    	_ "unsafe"
    )
    
    func testGoCoverDir(t *testing.T) string {
    	if f := flag.Lookup("test.gocoverdir"); f != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/cfg/cfg.go

    		}
    	}
    }
    
    // Experiment configuration.
    var (
    	// RawGOEXPERIMENT is the GOEXPERIMENT value set by the user.
    	RawGOEXPERIMENT = envOr("GOEXPERIMENT", buildcfg.DefaultGOEXPERIMENT)
    	// CleanGOEXPERIMENT is the minimal GOEXPERIMENT value needed to reproduce the
    	// experiments enabled by RawGOEXPERIMENT.
    	CleanGOEXPERIMENT = RawGOEXPERIMENT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top