- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 58 for goSpin (0.13 sec)
-
src/slices/sort_test.go
{[]int{3, 2, 3}, 2, 3}, {[]int{0, 2, -9}, -9, 2}, } for _, tt := range tests { t.Run(fmt.Sprintf("%v", tt.data), func(t *testing.T) { gotMin := Min(tt.data) if gotMin != tt.wantMin { t.Errorf("Min got %v, want %v", gotMin, tt.wantMin) } gotMinFunc := MinFunc(tt.data, intCmp) if gotMinFunc != tt.wantMin { t.Errorf("MinFunc got %v, want %v", gotMinFunc, tt.wantMin) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 19:20:55 UTC 2024 - 9.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/install_cross_gobin.txt
cd mycmd go build mycmd # cross-compile install with implicit GOBIN=$GOPATH/bin can make subdirectory env GOARCH=386 [GOARCH:386] env GOARCH=amd64 env GOOS=linux go install mycmd exists $GOPATH/bin/linux_$GOARCH/mycmd # cross-compile install with explicit GOBIN cannot make subdirectory env GOBIN=$WORK/bin ! go install mycmd ! exists $GOBIN/linux_$GOARCH
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 667 bytes - Viewed (0) -
src/math/big/link_test.go
t.Skip("skipping in short mode") } t.Parallel() tmp := t.TempDir() goBin := testenv.GoToolPath(t) goFile := filepath.Join(tmp, "x.go") file := []byte(`package main import _ "math/big" func main() {} `) if err := os.WriteFile(goFile, file, 0644); err != nil { t.Fatal(err) } cmd := exec.Command(goBin, "build", "-o", "x.exe", "x.go") cmd.Dir = tmp if out, err := cmd.CombinedOutput(); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 24 15:51:26 UTC 2021 - 1.4K bytes - Viewed (0) -
src/cmd/pack/pack_test.go
goBin := testenv.GoToolPath(t) run(goBin, "tool", "compile", "-importcfg="+importcfgfile, "-p=large", "large.go") run(packPath(t), "grc", "large.a", "large.o") testenv.WriteImportcfg(t, importcfgfile, map[string]string{"large": filepath.Join(dir, "large.o")}, "runtime") run(goBin, "tool", "compile", "-importcfg="+importcfgfile, "-p=main", "main.go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 16:27:35 UTC 2023 - 12.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_race_install_cgo.txt
# Tests Issue #10500 [!race] skip env GOBIN=$WORK/bin go install m/mtime m/sametime go tool -n cgo cp stdout cgopath.txt exec $GOBIN/mtime cgopath.txt # get the mtime of the file whose name is in cgopath.txt cp stdout cgotime_before.txt # For this test, we don't actually care whether 'go test -race -i' succeeds. # It may fail if GOROOT is read-only (perhaps it was installed as root).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 27 14:03:15 UTC 2021 - 1.8K bytes - Viewed (0) -
src/crypto/tls/link_test.go
t.Fatal(err) } os.Remove(exeFile) cmd := exec.Command(goBin, "build", "-o", "x.exe", "x.go") cmd.Dir = tmpDir if out, err := cmd.CombinedOutput(); err != nil { t.Fatalf("compile: %v, %s", err, out) } cmd = exec.Command(goBin, "tool", "nm", "x.exe") cmd.Dir = tmpDir nm, err := cmd.CombinedOutput() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 11:28:56 UTC 2022 - 2.4K bytes - Viewed (0) -
hack/verify-spelling.sh
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. export KUBE_ROOT source "${KUBE_ROOT}/hack/lib/init.sh" kube::golang::setup_env # Ensure that we find the binaries we build before anything else. export GOBIN="${KUBE_OUTPUT_BIN}" PATH="${GOBIN}:${PATH}" # Install tools we need go -C "${KUBE_ROOT}/hack/tools" install github.com/client9/misspell/cmd/misspell # Spell checking # All the skipping files are defined in hack/.spelling_failures
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 22:40:10 UTC 2024 - 1.4K bytes - Viewed (0) -
hack/verify-golangci-lint.sh
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/init.sh" source "${KUBE_ROOT}/hack/lib/util.sh" kube::golang::setup_env export GOBIN="${KUBE_OUTPUT_BIN}" kube::util::require-jq invocation=(./hack/verify-golangci-lint.sh "$@") golangci=("${GOBIN}/golangci-lint" run) golangci_config="${KUBE_ROOT}/hack/golangci.yaml" base= strict= hints= githubactions= while getopts "ar:sng:c:" o; do
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 22:40:10 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_output.txt
[compiler:gccgo] skip 'gccgo has no standard packages' [short] skip [!GOOS:windows] env NONEXE='.exe' [GOOS:windows] env NONEXE='' env GOBIN=$WORK/tmp/bin go install m/isarchive & go build x.go exists -exec x$GOEXE rm x$GOEXE ! exists x$NONEXE go build -o myprog x.go ! exists x ! exists x.exe exists -exec myprog ! exists myprogr.exe ! exists bin go build -o bin/x x.go exists -exec bin/x rm bin
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.8K bytes - Viewed (0) -
hack/verify-external-dependencies-version.sh
set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/init.sh" kube::golang::setup_env # Ensure that we find the binaries we build before anything else. export GOBIN="${KUBE_OUTPUT_BIN}" PATH="${GOBIN}:${PATH}" # Install zeitgeist go install sigs.k8s.io/zeitgeist@v0.5.3 # Prefer full path for running zeitgeist ZEITGEIST_BIN="$(which zeitgeist)"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 08:20:31 UTC 2024 - 1.4K bytes - Viewed (0)