- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 2,310 for Contains (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
* to {@code contains(null)} is permitted to throw a {@code NullPointerException}. * * @param message message to use upon assertion failure */ protected void expectNullMissingWhenNullUnsupported(String message) { try { assertFalse(message, actualContents().contains(null)); } catch (NullPointerException tolerated) { // Tolerated } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 2.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
* to {@code contains(null)} is permitted to throw a {@code NullPointerException}. * * @param message message to use upon assertion failure */ protected void expectNullMissingWhenNullUnsupported(String message) { try { assertFalse(message, actualContents().contains(null)); } catch (NullPointerException tolerated) { // Tolerated } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 2.8K bytes - Click Count (0) -
internal/dsync/lock-args.go
type LockArgs struct { // Unique ID of lock/unlock request. UID string // Resources contains single or multiple entries to be locked/unlocked. Resources []string // Owner represents unique ID for this instance, an owner who originally requested // the locked resource, useful primarily in figuring out stale locks. Owner string // Source contains the line number, function and file name of the codeCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 24 10:24:01 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
+ "equal to the hash (2) of TestObject{group=1, item=2} [group 1, item 2]"; if (!expected.getMessage().contains(expectedMessage)) { fail("<" + expected.getMessage() + "> expected to contain <" + expectedMessage + ">"); } return; } fail(); } /** An object with a friendly {@link #toString()}. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 8.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
+ "equal to the hash (2) of TestObject{group=1, item=2} [group 1, item 2]"; if (!expected.getMessage().contains(expectedMessage)) { fail("<" + expected.getMessage() + "> expected to contain <" + expectedMessage + ">"); } return; } fail(); } /** An object with a friendly {@link #toString()}. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
documents.add(doc); final String result = client.testBuildContext(documents); assertTrue(result.contains("Hello world")); assertFalse(result.contains("<p>")); assertFalse(result.contains("<b>")); assertFalse(result.contains("</b>")); assertFalse(result.contains("</p>")); } @Test public void test_buildContext_stripsHtmlTagsFromDescription() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0) -
internal/pubsub/mask.go
MaskAll Mask = math.MaxUint64 ) // MaskFromMaskable extracts mask from an interface. func MaskFromMaskable(m Maskable) Mask { return Mask(m.Mask()) } // Contains returns whether *all* flags in other is present in t. func (t Mask) Contains(other Mask) bool { return t&other == other } // Overlaps returns whether *any* flags in t overlaps with other. func (t Mask) Overlaps(other Mask) bool { return t&other != 0
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 05 21:45:49 GMT 2022 - 1.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
assertNotNull(first); assertNotNull(second); // Due to round-robin, should get different channels or same order assertTrue(Arrays.asList(channel1, channel2).contains(first)); assertTrue(Arrays.asList(channel1, channel2).contains(second)); } @Test void testLeastLoadedStrategy() { loadBalancer.setStrategy(LoadBalancingStrategy.LEAST_LOADED);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
* <li>nested properties should be defined by a dot, i.e. "user.address.street"</li> * <li>indexed properties (java.util.List or array instance) should be contains <code>(\\w+)\\[(\\d+)\\]</code> * pattern, i.e. "user.addresses[1].street"</li> * <li>mapped properties should be contains <code>(\\w+)\\((.+)\\)</code> pattern, * i.e. "user.addresses(myAddress).street"</li> * </ul> *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 10.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Collections2.java
} /** * Delegates to {@link Collection#contains}. Returns {@code false} if the {@code contains} method * throws a {@code ClassCastException} or {@code NullPointerException}. */ static boolean safeContains(Collection<?> collection, @Nullable Object object) { checkNotNull(collection); try { return collection.contains(object); } catch (ClassCastException | NullPointerException e) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 23K bytes - Click Count (0)