Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for gmap1 (0.04 sec)

  1. guava-tests/test/com/google/common/collect/MapsTest.java

          HashMap<Object, Object> map1,
          HashMap<Object, Object> map2)
          throws Exception {
        // Only start measuring table size after the first element inserted, to
        // deal with empty-map optimization.
        map1.put(0, null);
    
        int initialBuckets = bucketsOf(map1);
    
        for (int i = 1; i < size; i++) {
          map1.put(i, null);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  2. src/expvar/expvar_test.go

    	}
    }
    
    func TestHandler(t *testing.T) {
    	RemoveAll()
    	m := NewMap("map1")
    	m.Add("a", 1)
    	m.Add("z", 2)
    	m2 := NewMap("map2")
    	for i := 0; i < 9; i++ {
    		m2.Add(strconv.Itoa(i), int64(i))
    	}
    	rr := httptest.NewRecorder()
    	rr.Body = new(bytes.Buffer)
    	expvarHandler(rr, nil)
    	want := `{
    "map1": {"a": 1, "z": 2},
    "map2": {"0": 0, "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. test/escape_map.go

    	// BAD: i should not escape
    	i := 0 // ERROR "moved to heap: i"
    	// BAD: j should not escape
    	j := 0 // ERROR "moved to heap: j"
    	m[&i] = &j
    	_ = m
    }
    
    func map1() *int {
    	m := make(map[*int]*int) // ERROR "make\(map\[\*int\]\*int\) does not escape"
    	// BAD: i should not escape
    	i := 0 // ERROR "moved to heap: i"
    	j := 0 // ERROR "moved to heap: j"
    	m[&i] = &j
    	return m[&i]
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java

                    }
                    return o1.compareTo(o2);
                }
            };
        }
    
        public static <K, V> Map<K, V> addMaps(Map<K, V> map1, Map<K, V> map2) {
            HashMap<K, V> map = new HashMap<K, V>();
            map.putAll(map1);
            map.putAll(map2);
            return map;
        }
    
        public static void addToMap(Map<String, String> dest, Map<?, ?> src) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/encoding/gob/type_test.go

    	}
    }
    
    func TestMapType(t *testing.T) {
    	var m map[string]int
    	mapStringInt := getTypeUnlocked("map", reflect.TypeOf(m))
    	var newm map[string]int
    	newMapStringInt := getTypeUnlocked("map1", reflect.TypeOf(newm))
    	if mapStringInt != newMapStringInt {
    		t.Errorf("second registration of map[string]int creates new type")
    	}
    	var b map[string]bool
    	mapStringBool := getTypeUnlocked("", reflect.TypeOf(b))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

                    }
                    return o1.compareTo(o2);
                }
            };
        }
    
        public static <K, V> Map<K, V> addMaps(Map<K, V> map1, Map<K, V> map2) {
            HashMap<K, V> map = new HashMap<K, V>();
            map.putAll(map1);
            map.putAll(map2);
            return map;
        }
    
        public static void addToMap(Map<String, String> dest, Map<?, ?> src) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

      }
      return has_quantized_types;
    }
    
    // Transfers the attributes of the corresponding ops from the float function to
    // the quantized function using the attr_map attribute. In the quantized
    // function, this map (map1) is in {attr_name_1: attr_identifier} format; and in
    // the float function, this map (map2) is in {attr_identifier: attr_name_2}
    // format. Where, the attribute identifiers should match between two maps,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  8. test-site/activator-launch-1.3.2.jar

    Object); public final scala.collection.GenMap $plus$79a5e04d(scala.Tuple2); public final void foreach(scala.Function1); public void Map$Map2(Object, Object, Object, Object); } scala/collection/immutable/Map$Map1.class package scala.collection.immutable; public final synchronized class Map$Map1 extends AbstractMap implements scala.Serializable { private final Object key1; private final Object value1; public final int size(); public final scala.Option get(Object); public final scala.collection.Iterator...
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (1)
Back to top