Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for goSpin (0.24 sec)

  1. src/cmd/go/testdata/script/version_buildvcs_git.txt

    rm $GOBIN/a$GOEXE
    
    # Building with -buildvcs=false suppresses the info.
    go install -buildvcs=false
    go version -m $GOBIN/a$GOEXE
    ! stdout vcs.revision
    rm $GOBIN/a$GOEXE
    
    # An untracked file is shown as uncommitted, even if it isn't part of the build.
    cp ../../outside/empty.txt .
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs.modified=true$'
    rm empty.txt
    rm $GOBIN/a$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/go/build/vendor_test.go

    	"rsc.io/markdown",
    }
    
    // Verify that the vendor directories contain only packages matching the list above.
    func TestVendorPackages(t *testing.T) {
    	_, thisFile, _, _ := runtime.Caller(0)
    	goBin := testenv.GoToolPath(t)
    	listCmd := testenv.Command(t, goBin, "list", "std", "cmd")
    	out, err := listCmd.Output()
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, fullPkg := range strings.Split(string(out), "\n") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 16:29:14 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. hack/update-netparse-cve.sh

    source "${KUBE_ROOT}/hack/lib/init.sh"
    source "${KUBE_ROOT}/hack/lib/util.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 golangci-lint
    echo 'installing net parser converter'
    go -C "${KUBE_ROOT}/hack/tools" install github.com/aojea/sloppy-netparser
    
    cd "${KUBE_ROOT}"
    
    function git_find() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/cmd/dist/buildtool.go

    	defer os.Setenv("GOROOT", os.Getenv("GOROOT"))
    	os.Setenv("GOROOT", goroot_bootstrap)
    
    	defer os.Setenv("GOPATH", os.Getenv("GOPATH"))
    	os.Setenv("GOPATH", workspace)
    
    	defer os.Setenv("GOBIN", os.Getenv("GOBIN"))
    	os.Setenv("GOBIN", "")
    
    	os.Setenv("GOOS", "")
    	os.Setenv("GOHOSTOS", "")
    	os.Setenv("GOARCH", "")
    	os.Setenv("GOHOSTARCH", "")
    
    	// Run Go bootstrap to build binaries.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. hack/apidiff.sh

    kube::golang::setup_env
    kube::util::ensure-temp-dir
    
    # Install apidiff and make sure it's found.
    export GOBIN="${KUBE_TEMP}"
    PATH="${GOBIN}:${PATH}"
    echo "Installing apidiff into ${GOBIN}."
    go install golang.org/x/exp/cmd/apidiff@latest
    
    cd "${KUBE_ROOT}"
    
    # output_name targets a target directory and prints the base name of
    # an output file for that target.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:00:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/net/http/http_test.go

    //
    // This catches accidental dependencies between the HTTP transport and
    // server code.
    func TestCmdGoNoHTTPServer(t *testing.T) {
    	t.Parallel()
    	goBin := testenv.GoToolPath(t)
    	out, err := testenv.Command(t, goBin, "tool", "nm", goBin).CombinedOutput()
    	if err != nil {
    		t.Fatalf("go tool nm: %v: %s", err, out)
    	}
    	wantSym := map[string]bool{
    		// Verify these exist: (sanity checking this test)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 18:18:19 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top