- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 115 for Task (0.22 sec)
-
maven-core/src/main/java/org/apache/maven/lifecycle/internal/Task.java
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof Task)) { return false; } Task task = (Task) o; return Objects.equals(getClass(), task.getClass()) && Objects.equals(value, task.value); } @Override public int hashCode() { return Objects.hash(getClass(), value); } @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Jan 09 20:57:17 GMT 2024 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
assertFalse(task.isDone()); assertFalse(task.isCancelled()); // Start the task to put it in the RUNNING state. Have to use a separate // thread because the task will block on the task latch after unblocking // the run latch. exec.execute(task); runLatch.await(); assertEquals(1, listenerLatch.getCount()); assertFalse(task.isDone()); assertFalse(task.isCancelled());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2)); assertFalse(task.isDone()); task.run(); assertTrue(task.isDone()); assertFalse(task.isCancelled()); assertEquals(2, getDone(task).intValue()); } public void testCancelled() throws Exception { TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2));
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2)); assertFalse(task.isDone()); task.run(); assertTrue(task.isDone()); assertFalse(task.isCancelled()); assertEquals(2, getDone(task).intValue()); } public void testCancelled() throws Exception { TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
* will not be released until that submitted task is also complete. * * <p>If a task is {@linkplain Thread#interrupt interrupted} while a task is running: * * <ol> * <li>execution will not stop until the task queue is empty. * <li>tasks will begin execution with the thread marked as not interrupted - any interruption * applies only to the task that was running at the point of interruption.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 41.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
* identify deadlocks. */ @VisibleForTesting static final class Blocker extends AbstractOwnableSynchronizer implements Runnable { private final InterruptibleTask<?> task; private Blocker(InterruptibleTask<?> task) { this.task = task; } @Override public void run() {} private void setOwner(Thread thread) { super.setExclusiveOwnerThread(thread); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Sep 29 21:34:48 GMT 2023 - 9.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/CompletionServiceStub.java
FutureTask<ProjectSegment> projectBuildFutureTask = new FutureTask<>(task); projectBuildFutureTasks.add(projectBuildFutureTask); if (finishImmediately) { projectBuildFutureTask.run(); } return projectBuildFutureTask; } public Future<ProjectSegment> submit(Runnable task, ProjectSegment result) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
ObjectFactory objects = project.getObjects(); // TODO: This breaks if version is changed later Object version = project.getVersion(); TaskProvider<Javadoc> javadocAll = tasks.register("javadocAll", Javadoc.class, task -> { task.setGroup("documentation"); task.setDescription("Generate Javadocs for all API classes");
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Oct 16 13:03:20 GMT 2023 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.5K bytes - Viewed (0)