Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,303 for map (0.03 sec)

  1. src/main/java/org/codelibs/core/collection/LruHashSet.java

        private static final long serialVersionUID = 1L;
    
        private final LruHashMap<E, Object> map;
    
        // Dummy value to associate with an Object in the backing Map
        private static final Object PRESENT = new Object();
    
        public LruHashSet(final int limitSize) {
            map = new LruHashMap<>(limitSize);
        }
    
        /**
         * Returns an iterator over the elements in this set. The elements are
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.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,
    			},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * Integer.MAX_VALUE} elements, returns {@code Integer.MAX_VALUE}.
       */
      public int size() {
        return map.size();
      }
    
      /** Returns {@code true} if this map contains no key-value mappings. */
      public boolean isEmpty() {
        return map.isEmpty();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker());
    
        assertSame(Strength.STRONG, map.keyStrength());
        assertSame(Strength.STRONG, map.valueStrength());
        assertSame(map.keyStrength().defaultEquivalence(), map.keyEquivalence);
        assertSame(map.valueStrength().defaultEquivalence(), map.valueEquivalence());
    
        assertThat(map.entryHelper)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker());
    
        assertSame(Strength.STRONG, map.keyStrength());
        assertSame(Strength.STRONG, map.valueStrength());
        assertSame(map.keyStrength().defaultEquivalence(), map.keyEquivalence);
        assertSame(map.valueStrength().defaultEquivalence(), map.valueEquivalence());
    
        assertThat(map.entryHelper)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            hoge.setA("A");
            hoge.setB(true);
            hoge.setC(3);
            final Map<String, Object> map = newHashMap();
            BeanUtil.copyBeanToMap(hoge, map);
            assertThat(map, is(notNullValue()));
            assertThat(map.get("a"), is((Object) "A"));
            assertThat(map.get("b"), is((Object) true));
            assertThat(map.get("c"), is((Object) 3));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            map.put(FieldNames.DOC_FREQ, 0L);
            map.put(FieldNames.USER_BOOST, 1.0F);
            map.put(FieldNames.TIMESTAMP, DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now()));
            return map;
        }
    
        public String getId() {
            return id;
        }
    
        public Map<String, Object> getSource() {
            final Map<String, Object> map = new HashMap<>();
            map.put(FieldNames.TEXT, text);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        assertEquals(map.size(), oldSize - 1);
        assertFalse(map.containsKey(key));
        assertEquals(subMap.size(), oldSize - 2);
      }
    
      public void testTailMapClearThrough() {
        SortedMap<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        int oldSize = map.size();
        if (map.size() < 2 || !supportsClear) {
          return;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. internal/config/notify/config.go

    		AMQP:          make(map[string]target.AMQPArgs),
    		MQTT:          make(map[string]target.MQTTArgs),
    		NATS:          make(map[string]target.NATSArgs),
    		Redis:         make(map[string]target.RedisArgs),
    		MySQL:         make(map[string]target.MySQLArgs),
    		Kafka:         make(map[string]target.KafkaArgs),
    		Webhook:       make(map[string]target.WebhookArgs),
    		PostgreSQL:    make(map[string]target.PostgreSQLArgs),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                    final Map<String, Object> map = new HashMap<>();
                    final Item item = result.get();
                    final String objectName = item.objectName();
                    map.put("id", encodeId(objectName));
                    map.put("path", prefix);
                    map.put("name", getName(objectName));
                    map.put("hashCode", item.hashCode());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top