Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for configurations (1.21 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go

    package driver
    
    import (
    	"encoding/json"
    	"fmt"
    	"net/url"
    	"os"
    	"path/filepath"
    )
    
    // settings holds pprof settings.
    type settings struct {
    	// Configs holds a list of named UI configurations.
    	Configs []namedConfig `json:"configs"`
    }
    
    // namedConfig associates a name with a config.
    type namedConfig struct {
    	Name string `json:"name"`
    	config
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/cmd/internal/objabi/util.go

    const (
    	ElfRelocOffset   = 256
    	MachoRelocOffset = 2048    // reserve enough space for ELF relocations
    	GlobalDictPrefix = ".dict" // prefix for names of global dictionaries
    )
    
    // HeaderString returns the toolchain configuration string written in
    // Go object headers. This string ensures we don't attempt to import
    // or link object files that are incompatible with each other. This
    // string always starts with "go object ".
    func HeaderString() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 12:40:45 UTC 2022
    - 961 bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/init.go

    must not already exist.
    
    Init accepts one optional argument, the module path for the new module. If the
    module path argument is omitted, init will attempt to infer the module path
    using import comments in .go files, vendoring tool configuration files (like
    Gopkg.lock), and the current directory (if in GOPATH).
    
    See https://golang.org/ref/mod#go-mod-init for more about 'go mod init'.
    `,
    	Run: runInit,
    }
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 15:51:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/go/help_test.go

    	testenv.MustHaveGoBuild(t)
    	if !*fixDocs {
    		t.Parallel()
    	}
    
    	// We run 'go help documentation' as a subprocess instead of
    	// calling help.Help directly because it may be sensitive to
    	// init-time configuration
    	cmd := testenv.Command(t, testGo, "help", "documentation")
    	// Unset GO111MODULE so that the 'go get' section matches
    	// the default 'go get' implementation.
    	cmd.Env = append(cmd.Environ(), "GO111MODULE=")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 28 15:45:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. src/cmd/internal/bootstrap_test/reboot_test.go

    	realGoroot := testenv.GOROOT(t)
    
    	// To ensure that bootstrapping doesn't unexpectedly depend
    	// on the Go repo's git metadata, add a fake (unreadable) git
    	// directory above the simulated GOROOT.
    	// This mimics the configuration one much have when
    	// building from distro-packaged source code
    	// (see https://go.dev/issue/54852).
    	parent := t.TempDir()
    	dotGit := filepath.Join(parent, ".git")
    	if err := os.Mkdir(dotGit, 000); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/vcweb/svn.go

    // client binary, whereas only known implementation of the Subversion HTTP
    // protocol is the mod_dav_svn apache2 module. Apache2 has a lot of dependencies
    // and also seems to rely on global configuration via well-known file paths, so
    // implementing a hermetic test using apache2 would require the test to run in a
    // complicated container environment, which wouldn't be nearly as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:44:48 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/telemetrystats/telemetrystats.go

    	"cmd/go/internal/cfg"
    	"cmd/go/internal/modload"
    	"cmd/internal/telemetry"
    )
    
    func Increment() {
    	incrementConfig()
    	incrementVersionCounters()
    }
    
    // incrementConfig increments counters for the configuration
    // the command is running in.
    func incrementConfig() {
    	if !modload.WillBeEnabled() {
    		telemetry.Inc("go/mode:gopath")
    	} else if workfile := modload.FindGoWork(base.Cwd()); workfile != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/package.go

    // provide package-level objects referenced by pkg. This may be more or
    // less than the set of packages directly imported by pkg's source code.
    //
    // If pkg uses cgo and the FakeImportC configuration option
    // was enabled, the imports list may contain a fake "C" package.
    func (pkg *Package) Imports() []*Package { return pkg.imports }
    
    // SetImports sets the list of explicitly imported packages to list.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 06 13:09:19 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go

    package telemetry
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"time"
    )
    
    // Default is the default directory containing Go telemetry configuration and
    // data.
    //
    // If Default is uninitialized, Default.Mode will be "off". As a consequence,
    // no data should be written to the directory, and so the path values of
    // LocalDir, UploadDir, etc. must not matter.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/const.go

    		check.errorf(atPos(opPos), InvalidConstVal, "constant %soverflow", op)
    		x.val = constant.MakeUnknown()
    	}
    }
    
    // representableConst reports whether x can be represented as
    // value of the given basic type and for the configuration
    // provided (only needed for int/uint sizes).
    //
    // If rounded != nil, *rounded is set to the rounded value of x for
    // representable floating-point and complex values, and to an Int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top