- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 440 for goroot (0.03 sec)
-
src/all.rc
# Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. rfork n if(! test -f make.rc){ echo 'all.rc must be run from $GOROOT/src' >[1=2] exit wrongdir } . ./make.rc --no-banner $* bind -b $GOROOT/bin /bin ./run.rc --no-rebuildRegistered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Jun 10 13:00:41 UTC 2025 - 391 bytes - Viewed (0) -
internal/logger/logger.go
} goPathList = strings.Split(goPath, pathSeparator) goRootList = strings.Split(goRoot, pathSeparator) defaultgoPathList = strings.Split(build.Default.GOPATH, pathSeparator) defaultgoRootList = strings.Split(build.Default.GOROOT, pathSeparator) // Add trim string "{GOROOT}/src/" into trimStrings trimStrings = []string{filepath.Join(runtime.GOROOT(), "src") + string(filepath.Separator)}
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.4K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
// and returns the path to the package source relative to $GOROOT (or $GOPATH). func subdir() (pkgpath string, underGoRoot bool, err error) { cwd, err := os.Getwd() if err != nil { return "", false, err } cwd, err = filepath.EvalSymlinks(cwd) if err != nil { log.Fatal(err) } goroot, err := filepath.EvalSymlinks(runtime.GOROOT()) if err != nil { return "", false, err }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Sep 16 00:34:45 UTC 2025 - 8.7K bytes - Viewed (0) -
src/all.bash
# 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. set -e if [ ! -f make.bash ]; then echo 'all.bash must be run from $GOROOT/src' 1>&2 exit 1 fi . ./make.bash "$@" --no-banner bash run.bash --no-rebuild
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Jun 10 13:00:41 UTC 2025 - 378 bytes - Viewed (0) -
src/cmd/api/api_test.go
) var flagCheck = flag.Bool("check", false, "run API checks") func TestMain(m *testing.M) { flag.Parse() for _, c := range contexts { c.Compiler = build.Default.Compiler } build.Default.GOROOT = testenv.GOROOT(nil) os.Exit(m.Run()) } var ( updateGolden = flag.Bool("updategolden", false, "update golden files") ) func TestGolden(t *testing.T) { if *flagCheck {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri May 02 17:06:27 UTC 2025 - 7.6K bytes - Viewed (0) -
lib/hg/goreposum.py
# We can use that to revalidate that specific versions still exist and # have the same meaning they did the last time we checked. # # Usage: # # hg --config "extensions.goreposum=$GOROOT/lib/hg/goreposum.py" goreposum REPOURL import base64, hashlib, sys from mercurial import registrar, ui, hg, node from mercurial.i18n import _ cmdtable = {} command = registrar.command(cmdtable)
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Nov 11 15:21:02 UTC 2025 - 2.4K bytes - Viewed (0) -
src/cmd/api/main_test.go
var exitCode = 0 func Check(t *testing.T) { checkFiles, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/go1*.txt")) if err != nil { t.Fatal(err) } var nextFiles []string if v := runtime.Version(); strings.Contains(v, "devel") || strings.Contains(v, "beta") { next, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/next/*.txt")) if err != nil { t.Fatal(err) } nextFiles = next }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Feb 20 03:25:33 UTC 2025 - 31.4K bytes - Viewed (0) -
cmd/common-main.go
} // autoGenerateRootCredentials generates root credentials deterministically if // a KMS is configured, no manual credentials have been specified and if root // access is disabled. func autoGenerateRootCredentials() auth.Credentials { if GlobalKMS == nil { return globalActiveCred } aKey, err := GlobalKMS.MAC(GlobalContext, &kms.MACRequest{Message: []byte("root access key")})
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (3) -
.github/workflows/root-disable.yml
steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} check-latest: true - name: Start root lockdown tests run: |Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 734 bytes - Viewed (0) -
cmd/kms-handlers_test.go
// Version test { name: "version as root want success", method: http.MethodGet, path: kmsVersionPath, asRoot: true, wantStatusCode: http.StatusOK, wantResp: []string{"version"}, }, { name: "version as user with no policy want forbidden", method: http.MethodGet, path: kmsVersionPath, asRoot: false, wantStatusCode: http.StatusForbidden,Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 22.3K bytes - Viewed (0)