Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 88 for modcache (0.15 sec)

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

    	// opened files in the temporary directory.
    	//
    	// Go 1.14.2 and higher respect .partial files. Older versions may use
    	// partially extracted directories. 'go mod verify' can detect this,
    	// and 'go clean -modcache' can fix it.
    	if err := os.MkdirAll(parentDir, 0777); err != nil {
    		return "", err
    	}
    	if err := os.WriteFile(partialPath, nil, 0666); err != nil {
    		return "", err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCache.java

     * identity of a model. The tag allows for further classification of the associated data on the sole discretion of the
     * model builder.
     *
     */
    public interface ModelCache {
    
        <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data);
    
        <T> T computeIfAbsent(Source path, String tag, Supplier<T> data);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jan 22 17:27:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelCache.java

     * identity of a model. The tag allows for further classification of the associated data on the sole discretion of the
     * model builder.
     *
     */
    public interface ModelCache {
    
        <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data);
    
        <T> T computeIfAbsent(Source path, String tag, Supplier<T> data);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/cmd/internal/moddeps/moddeps_test.go

    		}
    		modcacheOk := false
    		if gomodcache := string(bytes.TrimSpace(out)); gomodcache != "" {
    			if _, err := os.Stat(gomodcache); err == nil {
    				modcacheOk = true
    			}
    		}
    		if !modcacheOk {
    			modcacheEnv = []string{
    				"GOMODCACHE=" + t.TempDir(),
    				"GOFLAGS=" + os.Getenv("GOFLAGS") + " -modcacherw", // Allow t.TempDir() to clean up subdirectories.
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/pod_cache.go

    Ben Leggett <******@****.***> 1717175891 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/pod.go

    	// in podCache when endpoint event comes.
    	needResync         map[string]sets.Set[types.NamespacedName]
    	queueEndpointEvent func(types.NamespacedName)
    
    	c *Controller
    }
    
    func newPodCache(c *Controller, pods kclient.Client[*v1.Pod], queueEndpointEvent func(types.NamespacedName)) *PodCache {
    	out := &PodCache{
    		pods:               pods,
    		c:                  c,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/runtime/mcache.go

    var emptymspan mspan
    
    func allocmcache() *mcache {
    	var c *mcache
    	systemstack(func() {
    		lock(&mheap_.lock)
    		c = (*mcache)(mheap_.cachealloc.alloc())
    		c.flushGen.Store(mheap_.sweepgen)
    		unlock(&mheap_.lock)
    	})
    	for i := range c.alloc {
    		c.alloc[i] = &emptymspan
    	}
    	c.nextSample = nextSample()
    	return c
    }
    
    // freemcache releases resources associated with this
    // mcache and puts the object onto a free list.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	t.Parallel()
    	c, _ := NewFakeControllerWithOptions(t, FakeControllerOptions{})
    
    	ns := "default"
    	podCache := c.pods
    
    	handled := 0
    	podCache.c.handlers.AppendWorkloadHandler(func(*model.WorkloadInstance, model.Event) {
    		handled++
    	})
    
    	f := podCache.onEvent
    
    	ip := "172.0.3.35"
    	pod1 := metav1.ObjectMeta{Name: "pod1", Namespace: ns}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                this.modelRepositoryHolder = modelRepositoryHolder;
                return this;
            }
    
            public ModelBuilderRequestBuilder modelCache(ModelCache modelCache) {
                this.modelCache = modelCache;
                return this;
            }
    
            public ModelBuilderRequestBuilder listener(Object listener) {
                this.listener = listener;
                return this;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. src/cmd/go/internal/toolchain/select.go

    		cmdFlags = &run.CmdRun.Flag
    	}
    
    	// The modcachrw flag is unique, in that it affects how we fetch the
    	// requested module to even figure out what toolchain it needs.
    	// We need to actually set it before we check the toolchain version.
    	// (See https://go.dev/issue/64282.)
    	modcacherwFlag := cmdFlags.Lookup("modcacherw")
    	if modcacherwFlag == nil {
    		base.Fatalf("internal error: modcacherw flag not registered for command")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top