- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 558 for Sadler (0.21 sec)
-
guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
public class TestLogHandlerTest extends TestCase { private TestLogHandler handler; private 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);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
public class TestLogHandlerTest extends TestCase { private TestLogHandler handler; private 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);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.8K bytes - Viewed (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 = MessageFormatter
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.7K bytes - Viewed (1) -
docs_src/custom_request_and_route/tutorial003.py
from fastapi.routing import APIRoute class TimedRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: before = time.time() response: Response = await original_route_handler(request) duration = time.time() - before
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
} public void testUncaughtExceptionHandler_custom() { assertEquals( UNCAUGHT_EXCEPTION_HANDLER, builder .setUncaughtExceptionHandler(UNCAUGHT_EXCEPTION_HANDLER) .build() .newThread(monitoredRunnable) .getUncaughtExceptionHandler()); } public void testBuildMutateBuild() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.5K bytes - Viewed (0) -
cmd/api-router.go
// If none of the routes match add default error handler routes apiRouter.NotFoundHandler = collectAPIStats("notfound", httpTraceAll(errorResponseHandler)) apiRouter.MethodNotAllowedHandler = collectAPIStats("methodnotallowed", httpTraceAll(methodNotAllowedHandler("S3"))) } // corsHandler handler for CORS (Cross Origin Resource Sharing) func corsHandler(handler http.Handler) http.Handler { commonS3Headers := []string{ xhttp.Date,
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Mar 04 18:05:56 GMT 2024 - 22.8K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
SingletonContext.getInstance(); String pkgs = System.getProperty("java.protocol.handler.pkgs"); if ( pkgs == null ) { System.setProperty("java.protocol.handler.pkgs", "jcifs"); } else if ( pkgs.indexOf("jcifs") == -1 ) { pkgs += "|jcifs"; System.setProperty("java.protocol.handler.pkgs", pkgs); } } /** * */
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Jun 01 08:53:08 GMT 2019 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/Traverser.java
* </p> * * @param handler * クラスを処理するハンドラ */ void forEach(ClassHandler handler); /** * このインスタンスが扱うリソースを探して * {@link ResourceHandler#processResource(String, java.io.InputStream) ハンドラ} * をコールバックします。 * <p> * インスタンス構築時にルートディレクトリが指定されている場合は、 ルートディレクトリ以下のリソースのみが対象となります。 * </p> * * @param handler * リソースを処理するハンドラ */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.6K bytes - Viewed (0) -
tests/test_exception_handlers.py
from starlette.responses import JSONResponse def http_exception_handler(request, exception): return JSONResponse({"exception": "http-exception"}) def request_validation_exception_handler(request, exception): return JSONResponse({"exception": "request-validation"}) def server_error_exception_handler(request, exception): return JSONResponse(status_code=500, content={"exception": "server-error"})
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Feb 17 12:40:12 GMT 2022 - 1.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt
} } fun enable( loggerClass: String, handler: Handler = logHandler(), ): Closeable { val logger = Logger.getLogger(loggerClass) if (configuredLoggers.add(logger)) { logger.addHandler(handler) logger.level = Level.FINEST } return Closeable { logger.removeHandler(handler) } } fun enable(loggerClass: KClass<*>) = enable(loggerClass.java.name)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Viewed (0)