- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 244 for hook (2.88 sec)
-
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
// We're shutting down anyway, so just ignore. } })); } @VisibleForTesting void addShutdownHook(Thread hook) { Runtime.getRuntime().addShutdownHook(hook); } } @J2ktIncompatible @GwtIncompatible // TODO private static void useDaemonThreadFactory(ThreadPoolExecutor executor) { executor.setThreadFactory(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
return redirect(e.getActionClass()); } } /** * Hook method called before action execution. * <p> * This method logs user access activity for the current request. * </p> * * @param runtime the action runtime context * @return the action response from the parent hook */ @Override public ActionResponse hookBefore(final ActionRuntime runtime) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
return defaultCreds; } @Override public boolean close() throws CIFSException { closeCalled = true; // Call super.close() to ensure the shutdown hook is removed return super.close(); } public boolean isCloseCalled() { return closeCalled; } @Override public URLStreamHandler getUrlHandler() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
tests/submodel_test.go
package tests_test import ( "testing" "gorm.io/gorm" ) type Man struct { ID int Age int Name string Detail string } // Panic-safe BeforeUpdate hook that checks for Changed("age") func (m *Man) BeforeUpdate(tx *gorm.DB) (err error) { if !tx.Statement.Changed("age") { return nil } return nil } func TestSubModel(t *testing.T) { man := Man{Age: 18, Name: "random-name"}
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 947 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} /** * Gets the action hook for custom processing. * * @return the action hook */ public ActionHook getActionHook() { return actionHook; } /** * Sets the action hook for custom processing. * * @param actionHook the action hook to set */ public void setActionHook(final ActionHook actionHook) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 52.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
langItems.add(defaultMap); return langItems; } } /** * Adds a shutdown hook. * * @param hook The shutdown hook to add. */ public void addShutdownHook(final Runnable hook) { shutdownHookList.add(hook); } /** * Gets the hostname of the local machine. * * @return The hostname. */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 08:30:43 UTC 2025 - 36.6K bytes - Viewed (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
private static final Logger log = LoggerFactory.getLogger(AbstractCIFSContext.class); private boolean closed; /** * Default constructor that registers a shutdown hook for cleanup */ public AbstractCIFSContext() { Runtime.getRuntime().addShutdownHook(this); } /** * @param creds the credentials to useRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4K bytes - Viewed (0)