- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 102 for tool (0.15 sec)
-
src/clean.bat
in the LICENSE file. L4: L5:@echo off L6: L7:setlocal L8: L9:set GOBUILDFAIL=0 L10: L11:go tool dist env -w -p >env.bat L12:if errorlevel 1 goto fail L13:call .\env.bat L14:del env.bat L15:echo. L16: L17:if exist %GOTOOLDIR%\dist.exe goto distok L18:echo cannot find %GOTOOLDIR%\dist; nothing to clean L19:goto fail L20::distok L21: L22:"%GOBIN%\go" clean -i std L23:"%GOBIN%\go" tool dist clean L24:"%GOBIN%\go" clean -i cmd L25: L26:goto end L27: L28::fail L29:set GOBUILDFAIL=1 ...
Batch File - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu May 12 16:59:17 GMT 2022 - 600 bytes - Viewed (0) -
src/cmd/cgo/doc.go
from Go 1.9 and earlier, use the cftype or jni rewrites in the Go fix tool: go tool fix -r cftype <pkg> go tool fix -r jni <pkg> It will replace nil with 0 in the appropriate places. The EGLDisplay case was introduced in Go 1.12. Use the egl rewrite to auto-update code from Go 1.11 and earlier: go tool fix -r egl <pkg> The EGLConfig case was introduced in Go 1.15. Use the eglconf rewrite
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/cmd/buildid/buildid.go
package main import ( "flag" "fmt" "log" "os" "strings" "cmd/internal/buildid" ) func usage() { fmt.Fprintf(os.Stderr, "usage: go tool buildid [-w] file\n") flag.PrintDefaults() os.Exit(2) } var wflag = flag.Bool("w", false, "write build ID") func main() { log.SetPrefix("buildid: ") log.SetFlags(0) flag.Usage = usage flag.Parse() if flag.NArg() != 1 { usage() }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Jun 06 14:30:53 GMT 2022 - 1.5K bytes - Viewed (0) -
src/cmd/buildid/doc.go
/* Buildid displays or updates the build ID stored in a Go package or binary. Usage: go tool buildid [-w] file By default, buildid prints the build ID found in the named file. If the -w option is given, buildid rewrites the build ID found in the file to accurately record a content hash of the file. This tool is only intended for use by the go command or other build systems. */
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 558 bytes - Viewed (0) -
src/bootstrap.bash
# prepare a clean toolchain for others. true else rm -f bin/go_${goos}_${goarch}_exec mv bin/*_*/* bin rmdir bin/*_* rm -rf "pkg/${gohostos}_${gohostarch}" "pkg/tool/${gohostos}_${gohostarch}" fi rm -rf pkg/bootstrap pkg/obj .git echo ---- echo Bootstrap toolchain for "$GOOS/$GOARCH" installed in "$(pwd)". echo Building tbz. cd ..
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Jan 20 17:52:26 GMT 2023 - 2.3K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
} out, err := cmd.CombinedOutput() if string(out) != "OK\n" { t.Errorf("%s", string(out)) } if err != nil { t.Errorf("%s", err) } } func mustHaveCxx(t *testing.T) { // Ask the go tool for the CXX it's configured to use. cxx, err := exec.Command("go", "env", "CXX").CombinedOutput() if err != nil { t.Fatalf("go env CXX failed: %s", err) } args, err := quoted.Split(string(cxx)) if err != nil {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 3.7K bytes - Viewed (0) -
api/README
Files in this directory are data for Go's API checker ("go tool api", in src/cmd/api). Each file is a list of API features, one per line. go1.txt (and similarly named files) are frozen once a version has been shipped. Each file adds new lines but does not remove any. except.txt lists features that may disappear without breaking true compatibility. Starting with go1.19.txt, each API feature line must end in "#nnnnn"
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Jan 31 19:22:50 GMT 2024 - 1.2K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
} var ( addr2linePathOnce sync.Once addr2lineExePath string addr2linePathErr error ) func loadSyms(t *testing.T, dbgExePath string) map[string]string { cmd := testenv.Command(t, testenv.GoToolPath(t), "tool", "nm", dbgExePath) out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("%v: %v\n%s", cmd, err, string(out)) } syms := make(map[string]string) scanner := bufio.NewScanner(bytes.NewReader(out))
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 22:16:54 GMT 2024 - 3.8K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.cc
// Copyright 2013 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. // This .cc file will be automatically compiled by the go tool and // included in the package. #include <string> #include "main.h" std::string Caller::call() { if (callback_ != 0) return callback_->run(); return "";
C++ - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 384 bytes - Viewed (0) -
lib/time/mkzip.go
// Usage: // // go run ../../mkzip.go ../../zoneinfo.zip // // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get // a reproducible generator that does not depend on which version of the // external zip tool is used or the ordering of file names in a directory // or the current time. package main import ( "archive/zip" "bytes" "flag" "fmt" "hash/crc32" "io/fs" "log" "os" "path/filepath"
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 17:32:07 GMT 2024 - 2.1K bytes - Viewed (0)