- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 386 for assertGet (0.24 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java
V v = entry.getValue(); Set<V> values = multimap().get(k); Set<V> expectedValues = copyToSet(values); assertFalse(multimap().put(k, v)); assertEquals(expectedValues, values); assertGet(k, expectedValues); } } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testPutDuplicateValue_null() { initMultimapWithNullValue();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java
V v = entry.getValue(); Set<V> values = multimap().get(k); Set<V> expectedValues = copyToSet(values); assertFalse(multimap().put(k, v)); assertEquals(expectedValues, values); assertGet(k, expectedValues); } } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testPutDuplicateValue_null() { initMultimapWithNullValue();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
assertEmpty(multimap().asMap()); assertEmpty(multimap().keySet()); assertEmpty(multimap().keys()); assertEmpty(multimap().values()); for (K key : sampleKeys()) { assertGet(key); } } @MapFeature.Require(SUPPORTS_REMOVE) public void testClear() { multimap().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
assertEmpty(multimap().asMap()); assertEmpty(multimap().keySet()); assertEmpty(multimap().keys()); assertEmpty(multimap().values()); for (K key : sampleKeys()) { assertGet(key); } } @MapFeature.Require(SUPPORTS_REMOVE) public void testClear() { multimap().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
} } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testAsMapRemove() { assertContentsInOrder(multimap().asMap().remove(k0()), v0()); assertGet(k0()); assertEquals(getNumElements() - 1, multimap().size()); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(SUPPORTS_PUT) public void testAsMapEntrySetReflectsPutSameKey() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
} } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testAsMapRemove() { assertContentsInOrder(multimap().asMap().remove(k0()), v0()); assertGet(k0()); assertEquals(getNumElements() - 1, multimap().size()); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(SUPPORTS_PUT) public void testAsMapEntrySetReflectsPutSameKey() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 5.6K bytes - Viewed (0) -
test/typeparam/issue58513.go
return assert[To] } type asserter[_ any] struct{} func (asserter[_]) assert() { panic(0) } func AssertMV[To any]() func() { return asserter[To]{}.assert } func AssertME[To any]() func(asserter[To]) { return asserter[To].assert } var me = AssertME[string]() var tests = []func(){ Assert[int](), AssertMV[int](), func() { me(asserter[string]{}) }, } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 27 23:07:49 UTC 2023 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc
ASSERT_EQ(status, kTfLiteOk); const uint8_t* buffer = builder.GetBufferPointer(); const Model* output_model = GetModel(buffer); ASSERT_TRUE(output_model); ASSERT_EQ(output_model->subgraphs()->size(), model_->subgraphs()->size()); const auto quantized_graph = output_model->subgraphs()->Get(0); // A dequantize op should be added. ASSERT_EQ(quantized_graph->operators()->size(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 32.3K bytes - Viewed (0) -
tensorflow/c/env_test.cc
ASSERT_EQ(::tensorflow::string(childpath), "somefile.txt"); // There should only be one file in this directory. ASSERT_FALSE(TF_StringStreamNext(children, &childpath)); ASSERT_EQ(childpath, nullptr); TF_StringStreamDone(children); TF_FileStatistics stats; TF_FileStat(filepath.c_str(), &stats, s); ASSERT_EQ(stats.length, strlen(data));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Dec 10 20:52:48 UTC 2018 - 4.2K bytes - Viewed (0) -
tensorflow/cc/client/client_session_test.cc
auto inter_op_threadpool = absl::make_unique<CustomThreadPoolImpl>(num_threads); ASSERT_EQ(inter_op_threadpool->GetNumScheduleCalled(), 0); auto intra_op_threadpool = absl::make_unique<CustomThreadPoolImpl>(num_threads); ASSERT_EQ(intra_op_threadpool->GetNumScheduleCalled(), 0); tensorflow::thread::ThreadPoolOptions threadPoolOptions;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 9.5K bytes - Viewed (0)