Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1761 - 1770 of 3,107 for execution (0.07 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt

        call: Call,
        cachedResponse: Response,
      ) = onEvent(CacheConditionalHit(System.nanoTime(), call))
    
      override fun retryDecision(
        call: Call,
        exception: IOException,
        retry: Boolean,
      ) = onEvent(RetryDecision(System.nanoTime(), call, exception, retry))
    
      override fun followUpDecision(
        call: Call,
        networkResponse: Response,
        nextRequest: Request?,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/DosFileFilterTest.java

        @Test
        void testAccept_ThrowsSmbException() throws SmbException {
            // Given a filter
            dosFileFilter = new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE);
            // and a mock file that throws an exception when getAttributes is called
            SmbException expectedException = new SmbException("Failed to get attributes");
            when(mockFile.getAttributes()).thenThrow(expectedException);
    
            // When calling accept
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. docs_src/handling_errors/tutorial003_py310.py

    from fastapi import FastAPI, Request
    from fastapi.responses import JSONResponse
    
    
    class UnicornException(Exception):
        def __init__(self, name: str):
            self.name = name
    
    
    app = FastAPI()
    
    
    @app.exception_handler(UnicornException)
    async def unicorn_exception_handler(request: Request, exc: UnicornException):
        return JSONResponse(
            status_code=418,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 626 bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isTrue
    import kotlin.test.Test
    import kotlin.time.Duration.Companion.seconds
    
    class CacheControlTest {
      @Test
      @Throws(Exception::class)
      fun emptyBuilderIsEmpty() {
        val cacheControl = CacheControl.Builder().build()
        assertThat(cacheControl.toString()).isEqualTo("")
        assertThat(cacheControl.noCache).isFalse()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java

    @J2ktIncompatible
    public class ClosingFutureFinishToFutureTest extends AbstractClosingFutureTest {
      public void testFinishToFuture_throwsIfCalledTwice() throws Exception {
        ClosingFuture<Closeable> closingFuture =
            ClosingFuture.submit(closer -> closer.eventuallyClose(mockCloseable, executor), executor);
        FluentFuture<Closeable> unused = closingFuture.finishToFuture();
        assertThrows(
            IllegalStateException.class,
            () -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  6. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ProblemCollector {
    
        /**
         * Adds the specified problem.
         * Either message or exception is required
         *
         * @param severity The severity of the problem, must not be {@code null}.
         * @param message The detail message of the problem, may be {@code null}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/request/Request.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.request;
    
    import org.codelibs.fess.suggest.concurrent.Deferred;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.opensearch.core.common.Strings;
    import org.opensearch.transport.client.Client;
    
    /**
     * Abstract class representing a request that can be executed to produce a response.
     *
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class PurgeLogJobTest extends UnitFessTestCase {
    
        private PurgeLogJob purgeLogJob;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            purgeLogJob = new PurgeLogJob();
        }
    
        // Test all services execute successfully
        @Test
        public void test_execute_allSuccess() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 32.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      // ImmutableMap.Builder, so that it can remember any DuplicateKey encountered and produce an
      // exception for a later buildOrThrow(). If builder is null that means that a duplicate
      // key will lead to an immediate exception. If it is not null then a duplicate key will instead be
      // stored in the builder, which may use it to throw an exception later.
      static <K, V> RegularImmutableMap<K, V> create(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/llm/LlmMessageTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class LlmMessageTest extends UnitFessTestCase {
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_defaultConstructor() {
            final LlmMessage message = new LlmMessage();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 3.7K bytes
    - Click Count (0)
Back to Top