- Sort Score
- Result 10 results
- Languages All
Results 991 - 1000 of 1,396 for putA (0.01 sec)
-
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
}); throw new Error(); } catch (AssertionFailedError expected) { } } public void testIsEmpty_map() { Map<Object, Object> map = new HashMap<>(); assertEmpty(map); map.put("a", "b"); try { assertEmpty(map); throw new Error(); } catch (AssertionFailedError expected) { } } public void testAssertEqualInOrder() { List<?> list = asList("a", "b", "c");Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 4.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java
path.append(metadata.getArtifactId()).append('/'); } path.append(metadata.getType()); return path.toString(); } @Override public void put( Collection<? extends ArtifactUpload> artifactUploads, Collection<? extends MetadataUpload> metadataUploads) { // TODO Auto-generated method stub }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 11 17:20:46 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
// Test default state of not started. assertEquals(1, listenerLatch.getCount()); assertFalse(task.isDone()); assertFalse(task.isCancelled()); // Start the task to put it in the RUNNING state. Have to use a separate // thread because the task will block on the task latch after unblocking // the run latch. exec.execute(task); runLatch.await();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 4.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
}); throw new Error(); } catch (AssertionFailedError expected) { } } public void testIsEmpty_map() { Map<Object, Object> map = new HashMap<>(); assertEmpty(map); map.put("a", "b"); try { assertEmpty(map); throw new Error(); } catch (AssertionFailedError expected) { } } public void testAssertEqualInOrder() { List<?> list = asList("a", "b", "c");Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 4.9K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/BucketExtensions.kt
// The elements in the list are so small that they can't even be divided into {expectedBucketNumber}. // For example, how do you split [0,0,0,0,0] into 3 buckets? // In this case, we simply put the elements into these buckets evenly. return list.chunked(list.size / expectedBucketNumber, smallElementAggregateFunction) } val largestElement = list.removeFirst()!!
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/bsentity/BsSearchLog.java
} return sourceMap; } protected void addFieldToSource(Map<String, Object> sourceMap, String field, Object value) { sourceMap.put(field, value); } // =================================================================================== // Basic OverrideRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 12.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/cors.md
你可以在 **FastAPI** 应用中使用 `CORSMiddleware` 来配置它。 * 导入 `CORSMiddleware`。 * 创建一个允许的源列表(由字符串组成)。 * 将其作为「中间件」添加到你的 **FastAPI** 应用中。 你也可以指定后端是否允许: * 凭证(授权 headers,Cookies 等)。 * 特定的 HTTP 方法(`POST`,`PUT`)或者使用通配符 `"*"` 允许所有方法。 * 特定的 HTTP headers 或者使用通配符 `"*"` 允许所有 headers。 {* ../../docs_src/cors/tutorial001.py hl[2,6:11,13:19] *} 默认情况下,这个 `CORSMiddleware` 实现所使用的默认参数较为保守,所以你需要显式地启用特定的源、方法或者 headers,以便浏览器能够在跨域上下文中使用它们。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
} // Modification Operations @Override public boolean put(@ParametricNullness K key, @ParametricNullness V value) { Collection<V> collection = map.get(key); if (collection == null) { collection = createCollection(key); if (collection.add(value)) { totalSize++; map.put(key, collection); return true; } else {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
Iterable<? extends Class<?>> classes, Iterable<String> explicitTestNames) { // "a.b.Foo" -> a.b.Foo.class TreeMap<String, Class<?>> classMap = Maps.newTreeMap(); for (Class<?> cls : classes) { classMap.put(cls.getName(), cls); } // Foo.class -> [FooTest.class, FooTests.class, FooTestSuite.class, ...] Multimap<Class<?>, Class<?>> testClasses = HashMultimap.create();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
internal/etag/etag.go
// // In general, an S3 ETag is an MD5 checksum of the object // content. However, there are many exceptions to this rule. // // # Single-part Upload // // In case of a basic single-part PUT operation - without server // side encryption or object compression - the ETag of an object // is its content MD5. // // # Multi-part Upload // // The ETag of an object does not correspond to its content MD5
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 16 14:27:42 UTC 2025 - 13.2K bytes - Viewed (0)