- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 729 for Handlers (0.05 seconds)
-
src/test/java/jcifs/smb/WinErrorTest.java
} } // Simple collaborator to demonstrate interaction verification with Mockito interface Handler { void handle(int code, String message); } @Mock Handler handler; @Test @DisplayName("Interaction: handler called with each code/message pair") void interaction_with_mock_handler_is_as_expected() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.4K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt
activeLogger.level = Level.FINE handler.level = Level.FINE handler.formatter = MessageFormatter activeLogger.addHandler(handler) } if (sslDebug) { val activeLogger = getLogger("javax.net.ssl") activeLogger.level = Level.FINEST handler.level = Level.FINEST handler.formatter = MessageFormatterCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 2.4K bytes - Click Count (0) -
internal/http/server_test.go
nonLoopBackIP := getNonLoopBackIP(t) handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello, world") }) testCases := []struct { addrs []string handler http.Handler certFn certs.GetCertificateFunc }{ {[]string{"127.0.0.1:9000"}, handler, nil}, {[]string{nonLoopBackIP + ":9000"}, handler, nil},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 19 18:42:47 GMT 2024 - 2.5K bytes - Click Count (0) -
cmd/post-policy_test.go
req.Header.Set("Content-Type", contentTypeHdr) req.Header.Set("User-Agent", "Mozilla") // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(rec, req) ctx, cancel := context.WithCancel(GlobalContext) defer cancel()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
private TestLogHandler handler; private final TearDownStack stack = new TearDownStack(); @Override protected void setUp() throws Exception { super.setUp(); handler = new TestLogHandler(); // You could also apply it higher up the Logger hierarchy than this ExampleClassUnderTest.logger.addHandler(handler);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 2.9K bytes - Click Count (0) -
internal/grid/msg.go
MuxID uint64 // Mux to receive message if any. Seq uint32 // Sequence number. DeadlineMS uint32 // If non-zero, milliseconds until deadline (max 1193h2m47.295s, ~49 days) Handler HandlerID // ID of handler if invoking a remote handler. Op Op // Operation. Other fields change based on this value. Flags Flags // Optional flags. Payload []byte // Optional payload. }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jul 25 21:07:21 GMT 2024 - 7.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
} /** * Sets the uncaught exception handler for this IndexUpdater thread. * * @param eh the uncaught exception handler to set */ @Override public void setUncaughtExceptionHandler(final UncaughtExceptionHandler eh) { super.setUncaughtExceptionHandler(eh); } /** * Sets the default uncaught exception handler for all threads. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 32.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* SomeClass.logger.addHandler(handler); * addTearDown(new TearDown() { * public void tearDown() throws Exception { * SomeClass.logger.removeHandler(handler); * } * }); * } * * public void test() { * SomeClass.foo(); * LogRecord firstRecord = handler.getStoredLogRecords().get(0); * assertEquals("some message", firstRecord.getMessage()); * }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
static void setupURLHandler() { // Register the SMB URL handler to avoid MalformedURLException String pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) { System.setProperty("java.protocol.handler.pkgs", "jcifs"); } else if (!pkgs.contains("jcifs")) { System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs"); } } @BeforeEach
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0)