Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 130 for modcache (0.14 sec)

  1. cmd/metrics-v3-system-memory.go

    package cmd
    
    import (
    	"context"
    )
    
    const (
    	memTotal     = "total"
    	memUsed      = "used"
    	memFree      = "free"
    	memBuffers   = "buffers"
    	memCache     = "cache"
    	memUsedPerc  = "used_perc"
    	memShared    = "shared"
    	memAvailable = "available"
    )
    
    var (
    	memTotalMD     = NewGaugeMD(memTotal, "Total memory on the node")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 17 05:10:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultInMemoryCacheDecoratorFactory.java

                MultiProcessSafeAsyncPersistentIndexedCache<K, V> memCache = applyInMemoryCaching(cacheId, asyncCache, maxEntriesToKeepInMemory, cacheInMemoryForShortLivedProcesses);
                return new CrossProcessSynchronizingIndexedCache<>(memCache, crossProcessCacheAccess);
            }
        }
    
        private static class CacheDetails {
            private final int maxEntries;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:36 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCacheFactory.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.model.building.ModelCache;
    import org.eclipse.aether.RepositorySystemSession;
    
    /**
     * Default implementation of {@link ModelCacheFactory}.
     */
    @Singleton
    @Named
    public class DefaultModelCacheFactory implements ModelCacheFactory {
        @Override
        public ModelCache createCache(RepositorySystemSession session) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl.Builder()
            .noCache()
            .noStore()
            .maxAge(1, TimeUnit.SECONDS)
            .maxStale(2, TimeUnit.SECONDS)
            .minFresh(3, TimeUnit.SECONDS)
            .onlyIfCached()
            .noTransform()
            .immutable()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top