Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for gopack (0.24 sec)

  1. pkg/kubelet/images/image_gc_manager_test.go

    	}
    	mockCtrl := gomock.NewController(t)
    	defer mockCtrl.Finish()
    	mockStatsProvider := statstest.NewMockProvider(mockCtrl)
    	manager, _ := newRealImageGCManager(policy, mockStatsProvider)
    
    	// Expect 40% usage.
    	imageStats := &statsapi.FsStats{
    		AvailableBytes: uint64Ptr(600),
    		CapacityBytes:  uint64Ptr(1000),
    	}
    	mockStatsProvider.EXPECT().ImageFsStats(gomock.Any()).Return(imageStats, imageStats, nil)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  2. src/cmd/distpack/pack.go

    Michael Matloob <******@****.***> 1715626742 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/cmd/go/main.go

    	}
    
    	// Diagnose common mistake: GOPATH==GOROOT.
    	// This setting is equivalent to not setting GOPATH at all,
    	// which is not what most people want when they do it.
    	if gopath := cfg.BuildContext.GOPATH; filepath.Clean(gopath) == filepath.Clean(cfg.GOROOT) {
    		fmt.Fprintf(os.Stderr, "warning: GOPATH set to GOROOT (%s) has no effect\n", gopath)
    	} else {
    		for _, p := range filepath.SplitList(gopath) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testplugin/plugin_test.go

    	// Copy testdata into GOPATH/src/testplugin, along with a go.mod file
    	// declaring the same path.
    
    	GOPATH, err := os.MkdirTemp("", "plugin_test")
    	if err != nil {
    		log.Panic(err)
    	}
    	defer os.RemoveAll(GOPATH)
    	tmpDir = GOPATH
    	fmt.Printf("TMPDIR=%s\n", tmpDir)
    
    	modRoot := filepath.Join(GOPATH, "src", "testplugin")
    	altRoot := filepath.Join(GOPATH, "alt", "src", "testplugin")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. hack/lib/golang.sh

      #   * We could leave GOPATH alone and let `go install` write binaries
      #     wherever the user's GOPATH says (or doesn't say).
      #
      # Instead we set it to a phony local path and process the results ourselves.
      # In particular, GOPATH[0]/bin will be used for `go install`, with
      # cross-compiles adding an extra directory under that.
      export GOPATH="${KUBE_GOPATH}"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildLifecycleController.java

            DefaultBuildWorkPlan workPlan = unpack(plan);
            workPlan.empty = false;
            state.inState(State.TaskSchedule, () -> workPreparer.populateWorkGraph(gradle, workPlan.plan, dest -> action.accept(new DefaultWorkGraphBuilder(dest))));
        }
    
        @Override
        public void finalizeWorkGraph(BuildWorkPlan plan) {
            DefaultBuildWorkPlan workPlan = unpack(plan);
            if (workPlan.empty) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top