Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for makemap64 (0.55 sec)

  1. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func panicrangestate(state int)
    
    // defer in range over func
    func deferrangefunc() interface{}
    
    func rand32() uint32
    
    // *byte is really *runtime.Type
    func makemap64(mapType *byte, hint int64, mapbuf *any) (hmap map[any]any)
    func makemap(mapType *byte, hint int, mapbuf *any) (hmap map[any]any)
    func makemap_small() (hmap map[any]any)
    func mapaccess1(mapType *byte, hmap map[any]any, key *any) (val *any)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/builtin.go

    	{"interfaceSwitch", funcTag, 70},
    	{"ifaceeq", funcTag, 72},
    	{"efaceeq", funcTag, 72},
    	{"panicrangestate", funcTag, 73},
    	{"deferrangefunc", funcTag, 74},
    	{"rand32", funcTag, 75},
    	{"makemap64", funcTag, 77},
    	{"makemap", funcTag, 78},
    	{"makemap_small", funcTag, 79},
    	{"mapaccess1", funcTag, 80},
    	{"mapaccess1_fast32", funcTag, 81},
    	{"mapaccess1_fast64", funcTag, 82},
    	{"mapaccess1_faststr", funcTag, 83},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/map_test.go

    				escapingMap[i] = i
    			}
    			if got := runtime.MapBucketsCount(escapingMap); got != tt.escape {
    				t.Errorf("escape: n=%d want %d buckets, got %d", tt.n, tt.escape, got)
    			}
    		}
    	})
    	t.Run("makemap64", func(t *testing.T) {
    		for _, tt := range mapBucketTests {
    			localMap := make(map[int]int, int64(tt.n))
    			if runtime.MapBucketsPointerIsNil(localMap) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. 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)
  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. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerStrongKeysWeakValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  8. test/escape2n.go

    }
    
    func makemap0() {
    	m := make(map[int]int) // ERROR "make\(map\[int\]int\) does not escape$"
    	m[0] = 0
    	m[1]++
    	delete(m, 1)
    	sink = m[0] // ERROR "m\[0\] escapes to heap$"
    }
    
    func makemap1() map[int]int {
    	return make(map[int]int) // ERROR "make\(map\[int\]int\) escapes to heap$"
    }
    
    func makemap2() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            new MapMaker().weakKeys().makeMap();
    
        /**
         * The map tracking lock nodes that can cause a lock acquisition cycle if acquired before this
         * node.
         */
        final Map<LockGraphNode, PotentialDeadlockException> disallowedPriorLocks =
            new MapMaker().weakKeys().makeMap();
    
        final String lockName;
    
        LockGraphNode(String lockName) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  10. test/escape2.go

    }
    
    func makemap0() {
    	m := make(map[int]int) // ERROR "make\(map\[int\]int\) does not escape$"
    	m[0] = 0
    	m[1]++
    	delete(m, 1)
    	sink = m[0] // ERROR "m\[0\] escapes to heap$"
    }
    
    func makemap1() map[int]int {
    	return make(map[int]int) // ERROR "make\(map\[int\]int\) escapes to heap$"
    }
    
    func makemap2() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
Back to top