Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 149 for modcache (0.18 sec)

  1. src/cmd/go/internal/modfetch/cache.go

    // checkCacheDir checks if the directory specified by GOMODCACHE exists. An
    // error is returned if it does not.
    func checkCacheDir(ctx context.Context) error {
    	if cfg.GOMODCACHE == "" {
    		// modload.Init exits if GOPATH[0] is empty, and cfg.GOMODCACHE
    		// is set to GOPATH[0]/pkg/mod if GOMODCACHE is empty, so this should never happen.
    		return fmt.Errorf("module cache not found: neither GOMODCACHE nor GOPATH is set")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. pkg/wasm/convert_test.go

    	"google.golang.org/protobuf/types/known/structpb"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pkg/config/xds"
    )
    
    type mockCache struct {
    	wantSecret []byte
    	wantPolicy PullPolicy
    }
    
    func (c *mockCache) Get(downloadURL string, opts GetOptions) (string, error) {
    	url, _ := url.Parse(downloadURL)
    	query := url.Query()
    
    	module := query.Get("module")
    	errMsg := query.Get("error")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/env_write.txt

    ! go env -u GOOS
    stderr 'unsupported GOOS/GOARCH.*windows/mips$'
    env GOOS=
    
    # go env -w should reject relative paths in GOMODCACHE environment.
    ! go env -w GOMODCACHE=~/test
    stderr 'go: GOMODCACHE entry is relative; must be absolute path: "~/test"'
    ! go env -w GOMODCACHE=./test
    stderr 'go: GOMODCACHE entry is relative; must be absolute path: "./test"'
    
    # go env -w checks validity of GOEXPERIMENT
    env GOEXPERIMENT=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/query_test.go

    )
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	if err := testMain(m); err != nil {
    		log.Fatal(err)
    	}
    }
    
    func testMain(m *testing.M) (err error) {
    	cfg.GOPROXY = "direct"
    	cfg.ModCacheRW = true
    
    	srv, err := vcstest.NewServer()
    	if err != nil {
    		return err
    	}
    	defer func() {
    		if closeErr := srv.Close(); err == nil {
    			err = closeErr
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:53:14 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cgo_path.txt

    # Normally, the default is gcc or clang, but if CC was set during make.bash,
    # that becomes the default.
    [!cc:clang] [!cc:gcc] skip 'C compiler is not gcc or clang'
    
    env GOCACHE=$WORK/gocache  # Looking for compile flags, so need a clean cache.
    [!GOOS:windows] env PATH=.:$PATH
    [!GOOS:windows] chmod 0755 p/gcc p/clang
    [!GOOS:windows] exists -exec p/gcc p/clang
    [GOOS:windows] exists -exec p/gcc.bat p/clang.bat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 17:09:07 UTC 2023
    - 952 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_err_deadlock.txt

    [short] skip
    [!fuzz-instrumented] skip
    
    env GOCACHE=$WORK/cache
    ! go test -fuzz=FuzzDead -v
    # This is a somewhat inexact check, but since we don't prefix the error with anything
    # and as the error suffix is platform dependent, this is the best we can do. In the
    # deadlock failure case, the test will just deadlock and timeout anyway, so it should
    # be clear that that failure mode is different.
    stdout 'open'
    
    -- go.mod --
    module test
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 19:51:23 UTC 2023
    - 999 bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/MapBackedCache.java

            this.map = map;
        }
    
        @Override
        protected <T extends K> V doGet(T key) {
            return map.get(key);
        }
    
        @Override
        protected <T extends K, N extends V> void doCache(T key, N value) {
            map.put(key, value);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. operator/pkg/cache/cache_test.go

    		t.Run(tt.desc, func(t *testing.T) {
    			defer FlushObjectCaches()
    			for key, value := range tt.in {
    				objectCaches[key] = value
    			}
    			if gotCache := GetCache(tt.key); !reflect.DeepEqual(*gotCache, tt.want) {
    				t.Errorf("%s: expected cache %v, got cache %v\n", tt.desc, tt.want, *gotCache)
    			}
    		})
    	}
    }
    
    func TestRemoveObject(t *testing.T) {
    	tests := []struct {
    		desc string
    		in   map[string]*ObjectCache
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 20 18:46:12 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. src/cmd/internal/bootstrap_test/experiment_toolid_test.go

    		t.Fatal(err)
    	}
    	env := append(os.Environ(), "GOROOT=", "GOROOT_BOOTSTRAP="+realGoroot)
    
    	// Use a clean cache.
    	gocache := t.TempDir()
    	env = append(env, "GOCACHE="+gocache)
    
    	// Build the toolchain without GOEXPERIMENT.
    	var makeScript string
    	switch runtime.GOOS {
    	case "windows":
    		makeScript = "make.bat"
    	case "plan9":
    		makeScript = "make.rc"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 18:47:14 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

    import org.apache.maven.api.services.ModelCache;
    import org.apache.maven.api.services.Source;
    import org.eclipse.aether.RepositoryCache;
    import org.eclipse.aether.RepositorySystemSession;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A model builder cache backed by the repository system cache.
     *
     */
    public class DefaultModelCache implements ModelCache {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top