Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,612 for Map (0.12 sec)

  1. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      /**
       * Copies all of the mappings from the specified map to this map. The effect of this call is
       * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key
       * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined
       * if the specified map is modified while the operation is in progress.
       */
      public void putAll(Map<? extends K, ? extends Long> m) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. callbacks/helper_test.go

    		name   string
    		input  map[string]interface{}
    		expect clause.Values
    	}{
    		{
    			name: "Test convert string value",
    			input: map[string]interface{}{
    				"name": "my name",
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "name"}},
    				Values:  [][]interface{}{{"my name"}},
    			},
    		},
    		{
    			name: "Test convert int value",
    			input: map[string]interface{}{
    				"age": 18,
    			},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 05 02:22:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

          NavigableMap<K, V> map = (NavigableMap<K, V>) sortedMap;
          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return map.headMap(lastInclusive, true);
          } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
            return map.tailMap(firstExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) {
            return map.subMap(firstExclusive, false, lastExclusive, false);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

        private val buckets: Map<TestCoverage, List<SmallSubprojectBucket>> = buildBuckets(testTimeDataJson, model)
    
        fun generate(jsonFile: File) {
            jsonFile.writeText(
                JSON.toJSONString(
                    buckets.map {
                        TestCoverageAndBucketSplits(it.key.uuid, it.value.map { it.toJsonBucket() })
                    },
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Feb 15 17:04:41 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            final Map<String, String> valueMap = new LinkedHashMap<>();
            valueMap.put("action", action.replace('\t', '_').toUpperCase(Locale.ENGLISH));
            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            final Comparator<Map.Entry<String, String>> c = Comparator.comparing(Map.Entry::getKey);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("bar");
        assertThat(map.entrySet())
            .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveLast() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("bar");
        assertThat(map.entrySet())
            .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveLast() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

      }
    
      public void testTransformSingletonMapEquality() {
        Map<String, String> map =
            Maps.transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction());
        Map<String, String> expected = ImmutableMap.of("a", "1");
        assertMapsEqual(expected, map);
        assertEquals(expected.get("a"), map.get("a"));
      }
    
      public void testTransformIdentityFunctionEquality() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertEquals(2, map.size());
    
        assertEquals(0, (int) map.getInstance(int.class));
        assertEquals(1, (int) map.getInstance(Integer.class));
    
        assertEquals(0, (int) map.putInstance(int.class, null));
        assertEquals(1, (int) map.putInstance(Integer.class, null));
    
        assertNull(map.getInstance(int.class));
        assertNull(map.getInstance(Integer.class));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ParameterUtil.java

        public static void loadConfigParams(final Map<String, Object> paramMap, final String configParam) {
            final Map<String, String> map = ParameterUtil.parse(configParam);
            if (!map.isEmpty()) {
                paramMap.putAll(map);
            }
        }
    
        public static Map<ConfigName, Map<String, String>> createConfigParameterMap(final String configParameters) {
            final Map<ConfigName, Map<String, String>> map = new HashMap<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top