- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,793 for exiting (0.04 sec)
-
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} fail("Should not reach this point"); } catch (IOException e) { assertEquals("Resource is null", e.getMessage()); // No NullPointerException should be thrown when exiting try-with-resources } } /** * Test resource loading with missing resource. * Demonstrates that null InputStream is handled correctly. */ @TestRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
await do_stuff() ``` When you create a context manager or an async context manager like above, what it does is that, before entering the `with` block, it will execute the code before the `yield`, and after exiting the `with` block, it will execute the code after the `yield`. In our code example above, we don't use it directly, but we pass it to FastAPI for it to use it.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
} /** * Add a shutdown hook to wait for thread completion in the given {@link ExecutorService service}. * This is useful if the given service uses daemon threads, and we want to keep the JVM from * exiting immediately on shutdown, instead giving these daemon threads a chance to terminate * normally. * * @param service ExecutorService which uses daemon threadsRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
Executors.newSingleThreadScheduledExecutor(new ThreadFactoryImpl()); // Add a listener to shut down the executor after the service is stopped. This ensures that the // JVM shutdown will not be prevented from exiting after this service has stopped or failed. // Technically this listener is added after start() was called so it is a little gross, but it
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
Executors.newSingleThreadScheduledExecutor(new ThreadFactoryImpl()); // Add a listener to shut down the executor after the service is stopped. This ensures that the // JVM shutdown will not be prevented from exiting after this service has stopped or failed. // Technically this listener is added after start() was called so it is a little gross, but it
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
} } connection.writePing() connection.shutdown(ErrorCode.PROTOCOL_ERROR) assertThat(connection.openStreamCount()).isEqualTo(1) connection.awaitPong() // Prevent the peer from exiting prematurely. // Verify the peer received what was expected. val synStream1 = peer.takeFrame() assertThat(synStream1.type).isEqualTo(Http2.TYPE_HEADERS) val pingFrame = peer.takeFrame()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/EditForm.java
import org.lastaflute.web.validation.Required; import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure; /** * Form class for editing protected words dictionary entries in the admin interface. * This form extends CreateForm to include fields necessary for updating existing protected words entries. * Protected words are terms that should not be stemmed or modified during text analysis. * */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/EditForm.java
import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure; import jakarta.validation.constraints.Size; /** * Form class for editing elevate word configurations in the admin interface. * This form extends CreateForm to include fields necessary for updating existing elevate word entries, * including tracking information for optimistic locking and audit trails.
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/reqheader/EditForm.java
import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure; import jakarta.validation.constraints.Size; /** * Form class for editing request header configurations in the admin interface. * This form extends CreateForm to include fields necessary for updating existing request header entries, * including tracking information for optimistic locking and audit trails.
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/CrudMode.java
* Mode for listing records. */ public static final int LIST = 0; /** * Mode for creating a new record. */ public static final int CREATE = 1; /** * Mode for editing an existing record. */ public static final int EDIT = 2; /** * Mode for deleting a record. */ public static final int DELETE = 3; /** * Mode for viewing record details.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.3K bytes - Viewed (0)