Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,369 for put (0.02 sec)

  1. src/test/java/org/codelibs/fess/it/admin/BoostDocTests.java

            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("boost_expr", new Integer(id).toString());
            requestBody.put("sort_order", id);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("boost_expr", "new_boost_expr");
            return updateMap;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            doc.put("key1", new String[] { "aaa", "bbb" });
            assertArrayEquals(new String[] { "aaa", "bbb" }, DocumentUtil.getValue(doc, "key1", String[].class));
            assertEquals(Arrays.asList("aaa", "bbb"), (List<String>) DocumentUtil.getValue(doc, "key1", List.class));
        }
    
        public void test_list() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("key1", Arrays.asList("aaa", "bbb"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        TreeMultimap<String, Integer> multimap = TreeMultimap.create();
        multimap.put("google", 2);
        multimap.put("google", 6);
        multimap.put("foo", 3);
        multimap.put("foo", 1);
        multimap.put("foo", 7);
        multimap.put("tree", 4);
        multimap.put("tree", 0);
        return multimap;
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

              .put(Hashing.sipHash24(), TQBFJOTLD, "e46f1fdc05612752")
              .put(Hashing.sipHash24(), TQBFJOTLDP, "9b602581fce4d4f8")
              .put(Hashing.crc32c(), "", "00000000")
              .put(Hashing.crc32c(), TQBFJOTLD, "04046222")
              .put(Hashing.crc32c(), TQBFJOTLDP, "b3970019")
              .put(Hashing.farmHashFingerprint64(), "", "4f40902f3b6ae19a")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        ImmutableBiMap<String, Integer> map =
            ImmutableBiMap.<String, Integer>builder()
                .put("one", 1)
                .put("two", 2)
                .put("three", 3)
                .put("four", 4)
                .put("five", 5)
                .build();
        assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5);
        assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

      }
    
      public void testFilterFiltered() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
        unfiltered.put("badkey", 1);
        unfiltered.put("foo", 1);
        Multimap<String, Integer> keyFiltered = filterKeys(unfiltered, KEY_PREDICATE);
        Multimap<String, Integer> filtered = filterValues(keyFiltered, VALUE_PREDICATE);
        assertEquals(1, filtered.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py

            },
            "q": "bar",
        }
    
    
    def test_post_no_body_q_bar(client: TestClient):
        response = client.put("/items/5?q=bar", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5, "q": "bar"}
    
    
    def test_post_no_body(client: TestClient):
        response = client.put("/items/5", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/CrudTestBase.java

                requestBody.put("version_no", 1);
                final String idKey = getIdKey();
                if (setting.containsKey(idKey)) {
                    requestBody.put(idKey, setting.get(idKey));
                }
                for (String key : keySet) {
                    if (!requestBody.containsKey(key)) {
                        requestBody.put(key, setting.get(key));
                    }
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            document.put("title", "");
            assertEquals("", viewHelper.getContentTitle(document));
    
            document.put("title", "111");
            assertEquals("111", viewHelper.getContentTitle(document));
    
            document.put("title", "aaa");
            assertEquals("<strong>aaa</strong>", viewHelper.getContentTitle(document));
    
            document.put("title", "AAA");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

        TestMap map = new TestMap();
        map.put("foo", 1);
        assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2));
        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertNull(map.putIfAbsent("bar", 3));
        assertEquals(Integer.valueOf(3), map.get("bar"));
      }
    
      public void testRemove() {
        TestMap map = new TestMap();
        map.put("foo", 1);
        assertFalse(map.remove("foo", 2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.4K bytes
    - Viewed (0)
Back to top