Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 384 for gopack (0.2 sec)

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

    	# of a directory within the module cache.
    cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go
    go clean -modcache
    
    
    ! go install -unknownflag -tags -modcacherw example.com/printversion@v0.1.0
    stderr '^flag provided but not defined: -unknownflag$'
    cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go
    go clean -modcache
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 17:53:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. pkg/kubelet/pleg/generic_test.go

    package pleg
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"reflect"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/assert"
    	"go.uber.org/mock/gomock"
    
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/component-base/metrics/testutil"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	containertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_init_empty.txt

    env GO111MODULE=on
    
    env GOPATH=$WORK${/}invalid-gopath
    
    go list -m
    stdout '^example.com$'
    
    go list
    stdout '^example.com$'
    
    -- go.mod --
    module example.com
    
    go 1.13
    -- main.go --
    package main
    
    func main() {}
    
    -- $WORK/invalid-gopath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 18:21:12 UTC 2022
    - 270 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cgo_trimpath_macro.txt

    stdout '(\\_\\_|/_)[\\/]m[\\/]c[\\/]bar.h'
    
    # Test in vendored module.
    go run -trimpath -mod=vendor v.com/main
    stdout '(\\_\\_|/_)[\\/]vendor[\\/]v.com[\\/]c[\\/]bar.h'
    
    # Test in GOPATH mode.
    env GO111MODULE=off
    go run -trimpath ./main
    stdout '(\\_\\_|/_)[\\/]GOPATH[\\/]src[\\/]c[\\/]bar.h'
    
    -- go.mod --
    module m
    
    require v.com v1.0.0
    -- go.sum --
    v.com v1.0.0 h1:xxx
    v.com v1.0.0/go.mod h1:xxx
    -- vendor/modules.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 22 19:56:37 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_no_gopath.txt

    # https://golang.org/issue/43938: 'go build' should succeed
    # if GOPATH and the variables needed for its default value
    # are all unset but not relevant to the specific command.
    
    env HOME=''
    env home=''
    env GOPATH=''
    
    go list -deps main.go
    stdout '^io$'
    
    -- main.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 22 15:46:33 UTC 2021
    - 296 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_tidy_support_buildx.txt

    # This test checks that "go mod tidy -x" print
    # commands tidy executes.
    # Verifies golang.org/issue/35849
    
    rm $GOPATH/pkg/mod/cache/download/rsc.io/quote
    go mod tidy
    ! stderr 'get '$GOPROXY
    
    rm $GOPATH/pkg/mod/cache/download/rsc.io/quote
    go mod tidy -x
    stderr 'get '$GOPROXY
    
    -- go.mod --
    module example.com/mod
    
    -- a.go --
    package mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 21:10:40 UTC 2022
    - 360 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/goroot_executable_trimpath.txt

    go build -trimpath -o $WORK/new/bin/go$GOEXE cmd/go &
    go build -trimpath -o $WORK/bin/check$GOEXE check.go &
    wait
    
    env TESTGOROOT=$GOROOT
    env GOROOT=
    
    # Unset GOPATH and any variables that its default may be derived from,
    # so that we can check for a spurious warning.
    env GOPATH=
    env HOME=''
    env USERPROFILE=''
    env home=''
    
    # Relocated Executable
    # Since we built with -trimpath and the binary isn't installed in a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/work_env.txt

    go env GOWORK
    stdout '^'$GOPATH'[\\/]src[\\/]go.work$'
    go env
    stdout '^(set )?GOWORK=''?'$GOPATH'[\\/]src[\\/]go.work''?$'
    
    cd ..
    go env GOWORK
    ! stdout .
    go env
    stdout 'GOWORK=("")?'
    
    cd src
    go env GOWORK
    stdout 'go.work'
    
    env GOWORK='off'
    go env GOWORK
    stdout 'off'
    
    ! go env -w GOWORK=off
    stderr '^go: GOWORK cannot be modified$'
    
    -- go.work --
    go 1.18
    
    use a
    -- a/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 14:28:38 UTC 2023
    - 399 bytes
    - Viewed (0)
  9. src/runtime/cgo/gcc_sigaction.c

    int32_t
    x_cgo_sigaction(intptr_t signum, const go_sigaction_t *goact, go_sigaction_t *oldgoact) {
    	int32_t ret;
    	struct sigaction act;
    	struct sigaction oldact;
    	size_t i;
    
    	_cgo_tsan_acquire();
    
    	memset(&act, 0, sizeof act);
    	memset(&oldact, 0, sizeof oldact);
    
    	if (goact) {
    		if (goact->flags & SA_SIGINFO) {
    			act.sa_sigaction = (void(*)(int, siginfo_t*, void*))(goact->handler);
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. src/run.rc

    rfork e
    
    if(! test -f ../bin/go){
    	echo 'run.rc must be run from $GOROOT/src after installing cmd/go' >[1=2]
    	exit wrongdir
    }
    
    GOENV=off
    eval `{../bin/go tool dist env}
    
    GOPATH=/nonexist-gopath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 20:19:28 UTC 2022
    - 406 bytes
    - Viewed (0)
Back to top