Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for makemap (1.13 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/CachingClassLoader.java

        private static final Object MISSING = new Object();
        private final ConcurrentMap<String, Object> loadedClasses = new MapMaker().weakValues().makeMap();
        private final ConcurrentMap<String, Object> resources = new MapMaker().makeMap();
        private final ClassLoader parent;
    
        static {
            try {
                ClassLoader.registerAsParallelCapable();
            } catch (NoSuchMethodError ignore) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ResolvedArtifactCaches.java

        private final Map<String, Map<ComponentArtifactIdentifier, ResolvableArtifact>> cachePerRepo = new MapMaker().makeMap();
        private final Map<String, Map<ComponentArtifactIdentifier, ResolvableArtifact>> cachePerRepoWithVerification = new MapMaker().makeMap();
    
        /**
         * For a remote repository, the only thing required is a resolved artifact cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. test/live2.go

    func printnl()
    
    //go:noescape
    func useT40(*T40)
    
    type T40 struct {
    	m map[int]int
    }
    
    func newT40() *T40 {
    	ret := T40{}
    	ret.m = make(map[int]int, 42) // ERROR "live at call to makemap: &ret$"
    	return &ret
    }
    
    func bad40() {
    	t := newT40() // ERROR "stack object ret T40$" "stack object .autotmp_[0-9]+ runtime.hmap$"
    	printnl()     // ERROR "live at call to printnl: ret$"
    	useT40(t)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 23:29:33 UTC 2023
    - 953 bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MapMaker.java

     *
     * <p>Usage example:
     *
     * <pre>{@code
     * ConcurrentMap<Request, Stopwatch> timers = new MapMaker()
     *     .concurrencyLevel(4)
     *     .weakKeys()
     *     .makeMap();
     * }</pre>
     *
     * <p>These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent
     * map that behaves similarly to a {@link ConcurrentHashMap}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java

        // GWT technically only supports concurrencyLevel == 1, but we silently
        // ignore other positive values.
        return this;
      }
    
      public <K, V> ConcurrentMap<K, V> makeMap() {
        return new ConcurrentHashMap<K, V>(initialCapacity);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMaker.java

     *
     * <p>Usage example:
     *
     * <pre>{@code
     * ConcurrentMap<Request, Stopwatch> timers = new MapMaker()
     *     .concurrencyLevel(4)
     *     .weakKeys()
     *     .makeMap();
     * }</pre>
     *
     * <p>These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent
     * map that behaves similarly to a {@link ConcurrentHashMap}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testplugin/testdata/issue44956/main.go

    // Issue 44956: writable static temp is not exported correctly.
    // In the test below, package base is
    //
    //     X = &map{...}
    //
    // which compiles to
    //
    //     X = &stmp           // static
    //     stmp = makemap(...) // in init function
    //
    // plugin1 and plugin2 both import base. plugin1 doesn't use
    // base.X, so that symbol is deadcoded in plugin1.
    //
    // plugin1 is loaded first. base.init runs at that point, which
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/builtin.go

    	// Map initialization with a variable or large hint is
    	// more complicated. We therefore generate a call to
    	// runtime.makemap to initialize hmap and allocate the
    	// map buckets.
    
    	// When hint fits into int, use makemap instead of
    	// makemap64, which is faster and shorter on 32 bit platforms.
    	fnname := "makemap64"
    	argtype := types.Types[types.TINT64]
    
    	// Type checking guarantees that TIDEAL hint is positive and fits in an int.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClasspathInferer.java

        private final Lock lock = new ReentrantLock();
        private final Map<Class<?>, Collection<URI>> classPathCache;
    
        public ClasspathInferer() {
            this.classPathCache = new MapMaker().weakKeys().makeMap();
        }
    
        public void getClassPathFor(Class<?> targetClass, Collection<URI> dest) {
            lock.lock();
            try {
                Collection<URI> classPath = classPathCache.get(targetClass);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.interfaceSwitch", 1},
    	{"runtime.ifaceeq", 1},
    	{"runtime.efaceeq", 1},
    	{"runtime.panicrangestate", 1},
    	{"runtime.deferrangefunc", 1},
    	{"runtime.rand32", 1},
    	{"runtime.makemap64", 1},
    	{"runtime.makemap", 1},
    	{"runtime.makemap_small", 1},
    	{"runtime.mapaccess1", 1},
    	{"runtime.mapaccess1_fast32", 1},
    	{"runtime.mapaccess1_fast64", 1},
    	{"runtime.mapaccess1_faststr", 1},
    	{"runtime.mapaccess1_fat", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top