- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,351 for putA (0.02 sec)
-
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
Map<String, Integer> underlying = new LinkedHashMap<>(); underlying.put("a", 1); underlying.put("b", 2); underlying.put("c", 3); underlying.put("d", 4); underlying.put("e", 5); underlying.put("f", 6); underlying.put("g", 7); Map<String, String> map = transformValues(underlying, Functions.toStringFunction()); map.remove("a");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 12.4K bytes - Viewed (0) -
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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.3K bytes - Viewed (0) -
docs/en/docs/tutorial/body-updates.md
# Body - Updates { #body-updates } ## Update replacing with `PUT` { #update-replacing-with-put } To update an item you can use the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> operation. You can use the `jsonable_encoder` to convert the input data to data that can be stored as JSON (e.g. with a NoSQL database). For example, converting `datetime` to `str`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
mJapaneseToInteger.put("Ichi", 1); mJapaneseToInteger.put("Ni", 2); mJapaneseToInteger.put("San", 3); Function<String, Integer> japaneseToInteger = Functions.forMap(mJapaneseToInteger); Map<Integer, String> mIntegerToSpanish = new HashMap<>(); mIntegerToSpanish.put(1, "Uno"); mIntegerToSpanish.put(3, "Tres"); mIntegerToSpanish.put(4, "Cuatro");Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 16K bytes - Viewed (0) -
internal/bpool/bpool_test.go
bp.Put(make([]byte, bp.w, bp.wcap+1)) // wrong capacity is rejected (more) bp.Put(make([]byte, width)) // wrong capacity is rejected (very less) if len(bp.c) > 0 { t.Fatal("bytepool should have rejected invalid packets") } // Try putting a short slice into pool bp.Put(make([]byte, bp.w, bp.wcap)[:2]) if len(bp.c) != 1 { t.Fatal("bytepool should have accepted short slice with sufficient capacity") } b = bp.Get()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
protected Map<String, Collection<Integer>> makePopulatedMap() { TreeMultimap<String, Integer> multimap = createMultimap(); multimap.put("f", 1); multimap.put("f", 2); multimap.put("g", 3); multimap.put("h", 4); return multimap.asMap().subMap("e", "p"); } @Override protected String getKeyNotInPopulatedMap() { return "a"; } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3.5K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.2K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Sep 24 22:52:18 UTC 2025 - 28.4K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0)