Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 117 for gopack (0.11 sec)

  1. src/cmd/go/internal/help/helpdoc.go

    the go tool will verify that https://example.org/?go-get=1 contains the
    same meta tag and then git clone https://code.org/r/p/exproj into
    GOPATH/src/example.org.
    
    When using GOPATH, downloaded packages are written to the first directory
    listed in the GOPATH environment variable.
    (See 'go help gopath-get' and 'go help gopath'.)
    
    When using modules, downloaded packages are stored in the module cache.
    See https://golang.org/ref/mod#module-cache.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  2. internal/logger/logger.go

    // displayed when an error happens.
    func Init(goPath string, goRoot string) {
    	var goPathList []string
    	var goRootList []string
    	var defaultgoPathList []string
    	var defaultgoRootList []string
    	pathSeparator := ":"
    	// Add all possible GOPATH paths into trimStrings
    	// Split GOPATH depending on the OS type
    	if runtime.GOOS == "windows" {
    		pathSeparator = ";"
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    	}
    
    	fd := int(netns.Fd())
    	resp, err := latestConn.send(ctx, data, &fd)
    	if err != nil {
    		return err
    	}
    
    	if resp.GetAck().GetError() != "" {
    		log.Errorf("add-workload: got ack error: %s", resp.GetAck().GetError())
    		return fmt.Errorf("got ack error: %s", resp.GetAck().GetError())
    	}
    	return nil
    }
    
    // TODO ctx is unused here
    // nolint: unparam
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_outside.txt

    stderr 'no modules specified'
    
    # 'go mod download' should download exactly the requested module without dependencies.
    rm -r $GOPATH/pkg/mod/cache/download/example.com
    go mod download example.com/printversion@v1.0.0
    exists $GOPATH/pkg/mod/cache/download/example.com/printversion/@v/v1.0.0.zip
    ! exists $GOPATH/pkg/mod/cache/download/example.com/version/@v/v1.0.0.zip
    
    # 'go mod download all' should fail. "all" is not meaningful outside of a module.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 18 15:34:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. pkg/kubelet/server/stats/summary_test.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"context"
    	"testing"
    	"time"
    
    	fuzz "github.com/google/gofuzz"
    	"github.com/stretchr/testify/assert"
    	"go.uber.org/mock/gomock"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	"k8s.io/kubernetes/pkg/kubelet/cm"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. src/cmd/link/elf_test.go

    	testenv.MustHaveCGO(t)
    	t.Parallel()
    
    	objcopy, err := exec.LookPath("objcopy")
    	if err != nil {
    		t.Skipf("can't find objcopy: %v", err)
    	}
    
    	dir := t.TempDir()
    
    	gopath := filepath.Join(dir, "GOPATH")
    	env := append(os.Environ(), "GOPATH="+gopath)
    
    	if err := os.WriteFile(filepath.Join(dir, "go.mod"), []byte("module elf_test\n"), 0666); err != nil {
    		t.Fatal(err)
    	}
    
    	asmFile := filepath.Join(dir, "x.s")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  7. misc/go_android_exec/main.go

    	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".
    	// We extract everything after the $GOROOT or $GOPATH to run on the
    	// same relative directory on the target device.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy

            groupBy([], transformer { throw new AssertionError("shouldn't be called") }).isEmpty()
        }
        def unpack() {
            expect:
            unpack([{ 1 } as org.gradle.internal.Factory, { 2 } as org.gradle.internal.Factory, { 3 } as org.gradle.internal.Factory]).toList() == [1, 2, 3]
            unpack([]).toList().isEmpty()
        }
    
        def nonEmptyOrNull() {
            expect:
            nonEmptyOrNull([1, 2, 3]) == [1, 2, 3]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	nd := len(dentries)
    
    	ues := mkUpexState(dentries)
    
    	gopath := "testdata/props/" + testcase + ".go"
    	newgopath := "testdata/props/" + testcase + ".go.new"
    
    	// Read the existing Go file.
    	content, err := os.ReadFile(gopath)
    	if err != nil {
    		t.Fatalf("opening %s: %v", gopath, err)
    	}
    	golines := strings.Split(string(content), "\n")
    
    	// Preserve copyright.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectory.java

         */
        public File provisionFromArchive(JavaToolchainSpec spec, File jdkArchive, URI uri) throws IOException {
            // Unpack into temporary directory (but on same file system as our target directory location)
            File unpackFolder = unpack(jdkArchive);
            try {
                // Get the folder that is the real root of the unpacked JDK, skipping any archive root folder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 23:47:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top