- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 2,832 for contains (0.25 seconds)
-
src/test/java/jcifs/CIFSExceptionTest.java
// When CIFSException exception = new CIFSException(cause); // Then assertNotNull(exception); assertEquals(cause, exception.getCause()); assertTrue(exception.getMessage().contains("Root cause")); } @Test @DisplayName("Should handle null message") void testNullMessage() { // When/Then assertDoesNotThrow(() -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
docs/en/docs/tutorial/bigger-applications.md
For example, in `app/main.py` you could have a line like: ``` from app.routers import items ``` /// * The `app` directory contains everything. And it has an empty file `app/__init__.py`, so it is a "Python package" (a collection of "Python modules"): `app`. * It contains an `app/main.py` file. As it is inside a Python package (a directory with a file `__init__.py`), it is a "module" of that package: `app.main`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 19.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java
int initialSize = getList().size(); assertTrue("remove(present) should return true", getList().remove(duplicate)); assertTrue( "After remove(duplicate), a list should still contain the duplicate element", getList().contains(duplicate)); assertFalse( "remove(duplicate) should remove the first instance of the " + "duplicate element in the list", firstIndex == getList().indexOf(duplicate));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
assertTrue(npe1.getMessage().contains("non-null")); NullPointerException npe2 = assertThrows(NullPointerException.class, () -> filter.accept(mockDir, null)); assertTrue(npe2.getMessage().contains("non-null")); verifyNoInteractions(mockDir); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt
if (shouldInclude(taskPath)) { action(taskPath, event.result) } } protected open fun shouldInclude(taskPath: String): Boolean = parameters.monitoredTaskPaths.get().contains(taskPath) abstract fun action(taskPath: String, taskResult: TaskOperationResult)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 10 05:45:46 GMT 2025 - 2.3K bytes - Click Count (0) -
cmd/typed-errors.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 16 07:34:24 GMT 2025 - 5.9K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
assertEquals(map.keySet(), multimapView.keys().elementSet()); assertThat(multimapView.keys()).contains("foo"); assertThat(multimapView.values()).contains(1); assertThat(multimapView.entries()).contains(Maps.immutableEntry("foo", 1)); assertThat(multimapView.asMap().entrySet()) .contains(Maps.immutableEntry("foo", (Collection<Integer>) singleton(1))); multimapView.clear();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
cmd/data-usage-cache.go
// dataUsageCacheV2 contains a cache of data usage entries version 2. type dataUsageCacheV2 struct { Info dataUsageCacheInfo Cache map[string]dataUsageEntryV2 } // dataUsageCacheV3 contains a cache of data usage entries version 3. type dataUsageCacheV3 struct { Info dataUsageCacheInfo Cache map[string]dataUsageEntryV3 } // dataUsageCacheV4 contains a cache of data usage entries version 4.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
TimeoutException e = assertThrows(TimeoutException.class, () -> testFuture.get(1, NANOSECONDS)); assertThat(e).hasMessageThat().contains("1 nanoseconds"); assertThat(e).hasMessageThat().contains("Because this test isn't done"); } public void testToString_completesDuringToString() throws Exception { AbstractFuture<Object> testFuture =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
Multiset<String> multiset2 = LinkedHashMultiset.create(); for (int i = 0; i < elements.length; i++) { String element = elements[i]; if (multiset1.contains(element) || multiset2.contains(element)) { // add to both; the one already containing it will have more multiset1.add(element); multiset2.add(element); } else if (i % 2 == 0) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 9.7K bytes - Click Count (0)