Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,369 for put (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            childUrlRuleMap.put("//IFRAME", "src");
            childUrlRuleMap.put("//IMG", "src");
            childUrlRuleMap.put("//LINK", "href");
            childUrlRuleMap.put("//SCRIPT", "src");
            fileTransformer.setChildUrlRuleMap(childUrlRuleMap);
        }
    
        protected void setBaseDir() throws IOException {
            fileTransformer.baseDir = File.createTempFile("crawler-", "");
            fileTransformer.baseDir.delete();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            new Builder<String, Integer>()
                .orderEntriesByValue(Ordering.natural())
                .put("three", 3)
                .put("one", 1)
                .put("five", 5)
                .put("four", 3)
                .put("four", 5)
                .put("four", 4) // this should win because it's last
                .put("two", 2);
        assertMapEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 3);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 5);
        moreToPut.put("foo", 7);
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        Map<String, Integer> filtered = Maps.filterValues(unfiltered, EVEN);
        filtered.put("a", 2);
        unfiltered.put("b", 4);
        unfiltered.put("c", 5);
        assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered);
    
        assertThrows(IllegalArgumentException.class, () -> filtered.put("yyy", 3));
        assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/body-updates.md

    # 请求体 - 更新数据
    
    ## 用 `PUT` 更新数据
    
    更新数据请用 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> 操作。
    
    把输入数据转换为以 JSON 格式存储的数据(比如,使用 NoSQL 数据库时),可以使用 `jsonable_encoder`。例如,把 `datetime` 转换为 `str`。
    
    ```Python hl_lines="30-35"
    {!../../docs_src/body_updates/tutorial001.py!}
    ```
    
    `PUT` 用于接收替换现有数据的数据。
    
    ### 关于更新数据的警告
    
    用 `PUT` 把数据项 `bar` 更新为以下内容时:
    
    ```Python
    {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
        iterator.next();
        iterator.next();
        iterator.remove();
        iterator.next();
        iterator.remove();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 14 14:52:51 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
        iterator.next();
        iterator.next();
        iterator.remove();
        iterator.next();
        iterator.remove();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 14 14:52:51 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                    doc.put(indexFieldBoost, 1.0f);
                }
                if (!doc.containsKey(indexFieldRole)) {
                    doc.put(indexFieldRole, guestRoleList);
                }
                if (!doc.containsKey(indexFieldLastModified)) {
                    doc.put(indexFieldLastModified, now);
                }
                if (!doc.containsKey(indexFieldTimestamp)) {
                    doc.put(indexFieldTimestamp, now);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPut_supportedNotPresent() {
        assertNull("put(notPresent, value) should return null", put(e3()));
        expectAdded(e3());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/DocMapTest.java

            assertTrue(docMap.isEmpty());
            value.clear();
    
            List<String> keys = Arrays.asList("test_2", "test_0", "lang", "test_1");
            value.put(keys.get(0), true);
            value.put(keys.get(1), 1000);
            value.put(keys.get(2), "ja");
            value.put(keys.get(3), "str");
            docMap = new DocMap(value);
            assertFalse(docMap.isEmpty());
    
            Set<Map.Entry<String, Object>> actual = docMap.entrySet();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top