Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 447 for executing (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/concurrent/Task.kt

     * task should not be executed again. Otherwise it returns a delay until the next execution.
     *
     * A task has at most one next execution. If the same task instance is scheduled multiple times, the
     * earliest one wins. This applies to both executions scheduled with [TaskRunner.Queue.schedule] and
     * those implied by the returned execution delay.
     *
     * Cancellation
     * ------------
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

      /**
       * Returns a snapshot of tasks currently scheduled for execution. Does not include the
       * currently-executing task unless it is also scheduled for future execution.
       */
      val scheduledTasks: List<Task>
        get() = taskRunner.lock.withLock { futureTasks.toList() }
    
      /**
       * Schedules [task] for execution in [delayNanos]. A task may only have one future execution
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. tests/prepared_stmt_test.go

    	wg.Wait()
    
    	if unexpectedError {
    		t.Fatalf("should is a unexpected error")
    	}
    }
    
    // TestPreparedStmtConcurrentClose test calling close and executing SQL concurrently
    // for example: one goroutine found error and just close the database, and others are executing SQL
    // this test making sure that the gorm would not get a Segmentation Fault,
    // and the only error cause by this is using a closed Stmt or gorm.ErrInvalidDB
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

        }
        for (existingCall in readyAsyncCalls) {
          if (existingCall.host == host) return existingCall
        }
        return null
      }
    
      /**
       * Cancel all calls currently enqueued or executing. Includes calls executed both
       * [synchronously][Call.execute] and [asynchronously][Call.enqueue].
       */
      fun cancelAll() {
        this.withLock {
          for (call in readyAsyncCalls) {
            call.call.cancel()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

     */
    package org.apache.maven;
    
    import org.apache.maven.plugin.MojoFailureException;
    
    /**
     * Exception which occurs when a normal (i.e. non-aggregator) mojo fails to
     * execute. In this case, the mojo failed while executing against a particular
     * project instance, so we can wrap the {@link MojoFailureException} with context
     * information including projectId that caused the failure.
     *
     *
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. build-logic/cleanup/build.gradle.kts

    plugins {
        id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin")
        id("gradlebuild.build-logic.groovy-dsl-gradle-plugin")
    }
    
    description = "Provides a plugin that cleans up after executing tests"
    
    errorprone {
        disabledChecks.addAll(
            "CatchAndPrintStackTrace", // 1 occurrences
            "DefaultCharset", // 3 occurrences
            "JavaTimeDefaultTimeZone", // 1 occurrences
        )
    }
    
    dependencies {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 507 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

            }
            throw e;
            // The execution of a task has ended abnormally.
            // We could have tasks left in the queue, so should perhaps try to restart a worker,
            // but then the Error will get delayed if we are using a direct (same thread) executor.
          }
        }
    
        /**
         * Continues executing tasks from {@link #queue} until it is empty.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

            }
            throw e;
            // The execution of a task has ended abnormally.
            // We could have tasks left in the queue, so should perhaps try to restart a worker,
            // but then the Error will get delayed if we are using a direct (same thread) executor.
          }
        }
    
        /**
         * Continues executing tasks from {@link #queue} until it is empty.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       * executor. Each event can be added and dispatched as separate phases.
       *
       * <p>This class is very similar to {@link SequentialExecutor} with the exception that events can
       * be added without necessarily executing immediately.
       */
      private static final class PerListenerQueue<L> implements Runnable {
        final L listener;
        final Executor executor;
    
        @GuardedBy("this")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // it.
        executeListener(runnable, executor);
      }
    
      /**
       * Runs this execution list, executing all existing pairs in the order they were added. However,
       * note that listeners added after this point may be executed before those previously added, and
       * note that the execution order of all listeners is ultimately chosen by the implementations of
       * the supplied executors.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 21:17:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top