- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 374 for Task (0.03 sec)
-
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());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 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));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 7.3K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt
} } private fun Task.findTraceJson(): List<File> { if (this !is Test) { return emptyList() } // e.g. build/test-results/embeddedIntegTest/trace.json return listOf(project.layout.buildDirectory.file("test-results/$name/trace.json").get().asFile) } private fun Task.genericHtmlReports() = when (this) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 06 10:57:13 UTC 2023 - 3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt
"Method com.example.Task.getIsFailOnError(): Is not annotated with @Incubating. Reason for accepting this: Upgraded property" to listOf("Method added to public class"), "Method com.example.Task.getIsFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method added to public class"),
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 02 14:20:08 UTC 2024 - 26.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java
task.setGroup("documentation"); task.setDescription("Generates DSL reference HTML documentation."); task.onlyIf(t -> !extension.getQuickFeedback().get()); task.source(dslStandaloneDocbook); task.getStylesheetDirectory().convention(dslReference.getStylesheetDirectory()); task.getStylesheetHighlightFile().convention(dslReference.getHighlightStylesheet());
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
* is running when that time is reached, that task is allowed to complete before this task is * started. Similarly the task will be delayed if the host lacks compute resources. * * @throws RejectedExecutionException if the queue is shut down and the task is not cancelable. */ fun schedule( task: Task, delayNanos: Long = 0L, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
final Tuple3<String, String, String> task = generator.createTask(path, docMap); if (task != null) { if (logger.isDebugEnabled()) { logger.debug("Add thumbnail task: {}", task); } if (!thumbnailTaskQueue.offer(task)) { logger.warn("Failed to add thumbnail task: {}", task); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 21.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt
import java.util.logging.Level import java.util.logging.Logger internal inline fun Logger.taskLog( task: Task, queue: TaskQueue, messageBlock: () -> String, ) { if (isLoggable(Level.FINE)) { log(task, queue, messageBlock()) } } internal inline fun <T> Logger.logElapsed( task: Task, queue: TaskQueue, block: () -> T, ): T { var startNs = -1L
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java
task.setGroup("release notes"); task.setDescription("Generate release notes HTML page from Markdown."); task.getInputEncoding().convention(Charset.defaultCharset().name()); task.getOutputEncoding().convention(Charset.defaultCharset().name());
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jul 26 08:15:16 UTC 2024 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
* user task -- which means that we already got past this code (or else we exited early * above)) */ // Unconditionally set; there is no risk of throwing away a queued task from another thread, // because in order for the current task to run on this executor the previous task must have // already started execution. Because each task on a TaskNonReentrantExecutor can only produce
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 22.1K bytes - Viewed (0)