Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 840 for task (0.17 sec)

  1. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task =
            new Runnable() {
              @Override
              public void run() {
                taskDone = true;
              }
            };
        ScheduledFuture<?> future =
            TestingExecutors.noOpScheduledExecutor().schedule(task, 10, TimeUnit.MILLISECONDS);
        Thread.sleep(20);
        assertFalse(taskDone);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

    public final class InterruptibleTaskTest extends TestCase {
    
      // Regression test for a deadlock where a task could be stuck busy waiting for the task to
      // transition to DONE
      public void testInterruptThrows() throws Exception {
        final CountDownLatch isInterruptibleRegistered = new CountDownLatch(1);
        InterruptibleTask<@Nullable Void> task =
            new InterruptibleTask<@Nullable Void>() {
              @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

            List<TaskSegment> taskSegments = new ArrayList<>(tasks.size());
    
            TaskSegment currentSegment = null;
    
            for (String task : tasks) {
                if (isGoalSpecification(task)) {
                    // "pluginPrefix[:version]:goal" or "groupId:artifactId[:version]:goal"
    
                    lifecyclePluginResolver.resolveMissingPluginVersions(session.getTopLevelProject(), session);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    							task.event.StorageClass, task.objInfo.Bucket, task.objInfo.Name, task.objInfo.VersionID, err))
    					}
    				}
    			} else {
    				ts := tierStats{
    					TotalSize:   uint64(task.objInfo.Size),
    					NumVersions: 1,
    				}
    				if task.objInfo.IsLatest {
    					ts.NumObjects = 1
    				}
    				t.addLastDayStats(task.event.StorageClass, ts)
    			}
    			t.activeTasks.Add(-1)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                final TimeoutTask task = e.getElement();
                if (task.isCanceled()) {
                    e.remove();
                } else if (!task.isStopped() && task.isExpired()) {
                    expiredTask.add(task);
                    if (!task.isPermanent()) {
                        e.remove();
                    }
                }
            }
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            final List<MojoExecution> mojoExecutions = new ArrayList<>();
    
            for (Task task : tasks) {
                if (task instanceof GoalTask) {
                    String pluginGoal = task.getValue();
    
                    String executionId = "default-cli";
                    int executionIdx = pluginGoal.indexOf('@');
                    if (executionIdx > 0) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/PingResponse.java

        private static final String NUMBER_OF_PENDING_TASKS = "number_of_pending_tasks";
        private static final String NUMBER_OF_IN_FLIGHT_FETCH = "number_of_in_flight_fetch";
        private static final String DELAYED_UNASSIGNED_SHARDS = "delayed_unassigned_shards";
        private static final String TASK_MAX_WAIT_TIME_IN_QUEUE_IN_MILLIS = "task_max_waiting_in_queue_millis";
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task =
            new Runnable() {
              @Override
              public void run() {
                taskDone = true;
              }
            };
        ScheduledFuture<?> future =
            TestingExecutors.noOpScheduledExecutor().schedule(task, 10, TimeUnit.MILLISECONDS);
        Thread.sleep(20);
        assertFalse(taskDone);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                AbstractService service, ScheduledExecutorService executor, Runnable task) {
              return new FutureAsCancellable(
                  executor.scheduleWithFixedDelay(task, initialDelay, delay, unit));
            }
          };
        }
    
        /**
         * Returns a {@link Scheduler} that schedules the task using the {@link
         * ScheduledExecutorService#scheduleAtFixedRate} method.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleTaskSegmentCalculatorStub.java

                if (aggr.equals(task)) {
                    boolean aggregating = true;
    
                    if (currentSegment == null || currentSegment.isAggregating() != aggregating) {
                        currentSegment = new TaskSegment(aggregating);
                        taskSegments.add(currentSegment);
                    }
    
                    currentSegment.getTasks().add(new GoalTask(task));
                } else {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
Back to top