- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Clean (7.28 sec)
-
src/clean.bat
>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 L30: L31::end L32:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL% ...
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/clean.rc
# license that can be found in the LICENSE file. eval `{go tool dist env -9} if(! test -x $GOTOOLDIR/dist){ echo 'cannot find $GOTOOLDIR/dist; nothing to clean' >[1=2] exit noclean } $GOBIN/go clean -i std $GOBIN/go tool dist clean
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jun 18 16:13:13 GMT 2015 - 380 bytes - Viewed (0) -
src/clean.bash
set -e if [ ! -f run.bash ]; then echo 'clean.bash must be run from $GOROOT/src' 1>&2 exit 1 fi export GOROOT="$(cd .. && pwd)" gobin="${GOROOT}"/bin if ! "$gobin"/go help >/dev/null 2>&1; then echo 'cannot find go command; nothing to clean' >&2 exit 1 fi "$gobin/go" clean -i std "$gobin/go" tool dist clean
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 26 21:54:09 GMT 2020 - 518 bytes - Viewed (0) -
src/bootstrap.bash
fi unset GOROOT src=$(cd .. && pwd) echo "#### Copying to $targ" cp -Rp "$src" "$targ" cd "$targ" echo echo "#### Cleaning $targ" chmod -R +w . rm -f .gitignore if [ -e .git ]; then git clean -f -d fi echo echo "#### Building $targ" echo cd src ./make.bash --no-banner $forceflag gohostos="$(../bin/go env GOHOSTOS)" gohostarch="$(../bin/go env GOHOSTARCH)" goos="$(../bin/go env GOOS)"
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/Make.dist
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 08 20:26:47 GMT 2012 - 553 bytes - Viewed (0) -
src/cmd/cgo/internal/cgotest/overlaydir.go
import ( "io" "os" "path/filepath" "strings" ) // OverlayDir makes a minimal-overhead copy of srcRoot in which new files may be added. func OverlayDir(dstRoot, srcRoot string) error { dstRoot = filepath.Clean(dstRoot) if err := os.MkdirAll(dstRoot, 0777); err != nil { return err } srcRoot, err := filepath.Abs(srcRoot) if err != nil { return err }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 20:56:09 GMT 2023 - 1.7K bytes - Viewed (0) -
src/archive/zip/reader.go
return fs.FormatDirEntry(f) } // toValidName coerces name to be a valid name for fs.FS.Open. func toValidName(name string) string { name = strings.ReplaceAll(name, `\`, `/`) p := path.Clean(name) p = strings.TrimPrefix(p, "/") for strings.HasPrefix(p, "../") { p = p[len("../"):] } return p } func (r *Reader) initFileList() { r.fileListOnce.Do(func() {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/archive/tar/common.go
func (fi headerFileInfo) Sys() any { return fi.h } // Name returns the base name of the file. func (fi headerFileInfo) Name() string { if fi.IsDir() { return path.Base(path.Clean(fi.h.Name)) } return path.Base(fi.h.Name) } // Mode returns the permission and mode bits for the headerFileInfo. func (fi headerFileInfo) Mode() (mode fs.FileMode) { // Set file permission bits.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
misc/go_android_exec/main.go
binName := filepath.Base(os.Args[1]) deviceGotmp := fmt.Sprintf(deviceRoot+"/%s-%d", binName, os.Getpid()) deviceGopath := deviceGotmp + "/gopath" defer adb("exec-out", "rm", "-rf", deviceGotmp) // Clean up. // Determine the package by examining the current working // directory, which will look something like // "$GOROOT/src/mime/multipart" or "$GOPATH/src/golang.org/x/mobile".
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cthread_windows.c
// 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. #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <process.h> #include "_cgo_export.h" __stdcall static unsigned int addThread(void *p) { int i, max; max = *(int*)p; for(i=0; i<max; i++) Add(i); return 0; } void
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed May 17 21:53:11 GMT 2023 - 1.1K bytes - Viewed (0)