- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 2,052 for contains (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java
assertContains(multimap().entries(), mapEntry((K) null, getValueForNullKey())); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testContainsEntryWithNullKeyAbsent() { assertFalse(multimap().entries().contains(mapEntry(null, v0()))); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(ALLOWS_NULL_VALUES) public void testContainsEntryWithNullValuePresent() { initMultimapWithNullValue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 5.4K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
try { val response = completableFuture.get(10, TimeUnit.SECONDS) assertEquals(200, response.code) assertEquals("h3", response.negotiatedProtocol) assertTrue(response.content.contains("Disallow")) } catch (ee: ExecutionException) { throw ee.cause?.cause ?: ee.cause!! } } data class Response( val code: Int, val negotiatedProtocol: String,Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
entries.add(entry(null, v3())); Map<K, V> other = newHashMap(entries); assertFalse( "Two Maps should not be equal if exactly one of them contains a null key.", getMap().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) @MapFeature.Require(ALLOWS_NULL_VALUES) public void testEquals_containingNullValue() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
public void testRemove_unsupported() { assertThrows(UnsupportedOperationException.class, () -> collection.remove(e0())); expectUnchanged(); assertTrue("remove(present) should not remove the element", collection.contains(e0())); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_unsupportedNotPresent() { try { assertFalse(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0) -
cmd/metacache-marker.go
// uuid cannot contain '[', ':' or ','. func (o listPathOptions) encodeMarker(marker string) string { if o.ID == "" { // Mark as returning listing... return fmt.Sprintf("%s[minio_cache:%s,return:]", marker, markerTagVersion) } if strings.ContainsAny(o.ID, "[:,") { internalLogIf(context.Background(), fmt.Errorf("encodeMarker: uuid %s contained invalid characters", o.ID)) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
return delegate().setCount(element, oldCount, newCount); } /** * A sensible definition of {@link #contains} in terms of {@link #count}. If you override {@link * #count}, you may wish to override {@link #contains} to forward to this implementation. * * @since 7.0 */ @Override protected boolean standardContains(@Nullable Object object) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
doThrow(new SmbException("capability check failed")).when(transport).hasCapability(eq(42)); SmbException ex = assertThrows(SmbException.class, () -> transport.hasCapability(42)); assertTrue(ex.getMessage().contains("failed")); verify(transport).hasCapability(42); } // Edge: disconnected status toggles @ParameterizedTest @DisplayName("isDisconnected reflects current mocked state")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
List<MetadataGraphEdge> exList = excidentEdges.computeIfAbsent(vFrom, k -> new ArrayList<>()); if (!exList.contains(e)) { exList.add(e); } List<MetadataGraphEdge> inList = incidentEdges.computeIfAbsent(vTo, k -> new ArrayList<>()); if (!inList.contains(e)) { inList.add(e); } return this; }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
if (!parentBuilder.getFeatures().contains(NoRecurse.DESCENDING)) { derivedSuites.add(createDescendingSuite(parentBuilder)); } if (parentBuilder.getFeatures().contains(SERIALIZABLE)) { derivedSuites.add(createReserializedSuite(parentBuilder)); } if (!parentBuilder.getFeatures().contains(NoRecurse.SUBMULTISET)) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsTest.java
Multiset<String> ms2 = HashMultiset.create(asList("a", "b", "b", "b")); Multiset<String> diff = difference(ms1, ms2); assertThat(diff).contains("a"); assertEquals(0, diff.count("b")); assertEquals(1, diff.count("a")); assertFalse(diff.contains("b")); assertTrue(diff.contains("a")); } public void testDifferenceEmptyNonempty() { Multiset<String> ms1 = HashMultiset.create();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.2K bytes - Viewed (0)