Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,385 for putA (0.07 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                .build();
    
        // Add more than two elements to increment size removals.
        cache.put(3, 20);
        cache.put(6, 2);
        cache.put(98, 45);
        cache.put(56, 76);
        cache.put(23, 84);
    
        // Replace the two present elements.
        cache.put(23, 20);
        cache.put(56, 49);
        cache.put(23, 2);
        cache.put(56, 4);
    
        // Expire the two present elements.
        fakeTicker.advance(1001, MILLISECONDS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      public void testPutWithSameValueFails() {
        getMap().put(k0(), v0());
        assertThrows(IllegalArgumentException.class, () -> getMap().put(k1(), v0()));
        // verify that the bimap is unchanged
        expectAdded(e0());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void testPutPresentKeyDifferentValue() {
        getMap().put(k0(), v0());
        getMap().put(k0(), v1());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

              .put("MD5", Hashing.md5())
              .put("SHA", Hashing.sha1()) // Not the official name, but still works
              .put("SHA1", Hashing.sha1()) // Not the official name, but still works
              .put("sHa-1", Hashing.sha1()) // Not the official name, but still works
              .put("SHA-1", Hashing.sha1())
              .put("SHA-256", Hashing.sha256())
              .put("SHA-384", Hashing.sha384())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  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. 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)
  10. 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)
Back to top