- Sort Score
- Num 10 results
- Language All
Results 2311 - 2320 of 3,180 for when (0.02 seconds)
-
guava/src/com/google/common/collect/LinkedListMultimap.java
* * <p>Keys and values may be null. All optional multimap methods are supported, and all returned * views are modifiable. * * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent * read operations will work correctly. To allow concurrent update operations, wrap your multimap * with a call to {@link Multimaps#synchronizedListMultimap}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
* should be used specifically for [java.io.Closeable] objects and in conjunction with * [logCloseableLeak]. */ open fun getStackTraceForCloseable(closer: String): Any? = when { logger.isLoggable(Level.FINE) -> Throwable(closer) // These are expensive to allocate. else -> null } open fun logCloseableLeak( message: String, stackTrace: Any?,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
// Test parent of a server assertEquals("smb1://", new SmbFile("smb1://server/").getParent()); // Test parent of root - currently throws NPE due to bug in SmbFile.getParent() // when authority is null. This is a known issue in the legacy implementation. // For now, we expect the NPE to maintain backward compatibilityCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
upgradedPom.contains("http://maven.apache.org/POM/4.1.0"), "POM should be upgraded to 4.1.0 namespace"); } @Test @DisplayName("should create .mvn directory when upgrading to 4.1.0") void shouldCreateMvnDirectoryFor41Upgrade() throws Exception { Path pomFile = tempDir.resolve("pom.xml"); String originalPom = PomBuilder.create()
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.3K bytes - Click Count (0) -
tests/generics_test.go
db := gorm.G[User](DB) for idx, pet := range user.Pets { pet.Toy = Toy{Name: "toy_nested_preload_" + strconv.Itoa(idx+1)} } if err := db.Create(ctx, &user); err != nil { t.Fatalf("errors happened when create: %v", err) } user2, err := db.Preload("Pets.Toy", nil).Preload("Friends.Pets", func(db gorm.PreloadBuilder) error { return nil }).Where(user.ID).Take(ctx) if err != nil {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
logger.debug("Failed to log script execution", e); } } } /** * Holds a compiled Script class and its associated GroovyClassLoader. * When evicted from the cache, close() releases the class loader resources. */ private static class CachedScript { final Class<? extends Script> scriptClass; private final GroovyClassLoader classLoader;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
} try { dataIndexHelper.crawl("test-session-force-stop"); assertTrue("Should exit quickly when force stopped", true); } catch (Exception e) { assertTrue("Force stop should handle exceptions quickly", true); } } @Test public void test_crawl_with_short_intervals() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
public void test_get_filterReturnsNull() { // The filter.null property is configured to simulate null filter behavior try { fessConfig.get("filter.null"); fail("Should throw exception when property is not found"); } catch (ConfigPropertyNotFoundException e) { // Expected exception assertTrue(e.getMessage().contains("filter.null")); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
).build() // This client fails to connect because the new SSL socket factory refuses. assertFailsWith<IOException> { anotherClient.newCall(request).execute() }.also { expected -> when (expected) { is SSLException, is TlsFatalAlert -> {} else -> { throw expected } } } } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.3K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/io/CloserTest.java
} public void testNullCloseable() throws IOException { Closer closer = Closer.create(); closer.register(null); closer.close(); } /** * Asserts that an exception was thrown when trying to close each of the given throwables and that * each such exception was suppressed because of the given thrown exception. */ private void assertSuppressed(Suppression... expected) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.9K bytes - Click Count (0)