Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for EXECUTING (0.07 sec)

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

     *
     * Cancellation
     * ------------
     *
     * Tasks may be canceled while they are waiting to be executed, or while they are executing.
     *
     * Canceling a task that is waiting to execute prevents that upcoming execution. Canceling a task
     * that is currently executing does not impact the ongoing run, but it does prevent a recurrence
     * from being scheduled.
     *
    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

      internal val taskRunner: TaskRunner,
      internal val name: String,
    ) {
      val lock: ReentrantLock = ReentrantLock()
    
      internal var shutdown = false
    
      /** This queue's currently-executing task, or null if none is currently executing. */
      internal var activeTask: Task? = null
    
      /** Scheduled tasks ordered by [Task.nextExecuteNanoTime]. */
      internal val futureTasks = mutableListOf<Task>()
    
    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. 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)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          void execute() {
            try {
              executor.execute(runnable);
            } catch (RuntimeException e) {
              log.log(
                  Level.SEVERE,
                  "RuntimeException while executing runnable "
                      + runnable
                      + " with executor "
                      + executor,
                  e);
            }
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/ContextEnabled.java

     *
     */
    public interface ContextEnabled {
        /**
         * Set a new shared context <code>Map</code> to a mojo before executing it.
         *
         * @param pluginContext a new <code>Map</code>
         */
        void setPluginContext(Map pluginContext);
    
        /**
         * @return a <code>Map</code> stored in the plugin container's context.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                return pb.start().waitFor();
            } catch (IOException e) {
                invokerRequest.logger().error("IO problem while executing command: " + cmdAndArguments, e);
                return 127;
            } catch (InterruptedException e) {
                invokerRequest.logger().error("Interrupted while executing command: " + cmdAndArguments, e);
                return 127;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

        /**
         * Determines if the OS on which Maven is executing matches the
         * given OS family.
         *
         * @param family the family to check for
         * @return true if the OS matches
         *
         */
        public static boolean isFamily(String family) {
            return isFamily(family, OS_NAME);
        }
    
        /**
         * Determines if the OS on which Maven is executing matches the
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top