- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 840 for task (0.15 sec)
-
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/src/com/google/common/util/concurrent/ListeningExecutorService.java
* </pre> * * @return a list of {@code ListenableFuture} instances representing the tasks, in the same * sequential order as produced by the iterator for the given task list. If the operation did * not time out, each task will have completed. If it did time out, some of these tasks will * not have completed.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sun Jun 20 10:45:35 GMT 2021 - 4.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java
setMemoryForWorkers(project); } private static void setMemoryForWorkers(Project project) { project.getTasks().withType(DokkatooGenerateTask.class).configureEach(task -> { task.getWorkerMinHeapSize().set("512m"); task.getWorkerMaxHeapSize().set("2g"); }); } private static void setStyling(Project project, GradleDocumentationExtension extension) {
Java - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Mon Jan 15 14:00:14 GMT 2024 - 7.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
private static class FakeExecutor implements Executor { Queue<Runnable> tasks = Queues.newArrayDeque(); @Override public void execute(Runnable command) { tasks.add(command); } boolean hasNext() { return !tasks.isEmpty(); } void runNext() { assertTrue("expected at least one task to run", hasNext()); tasks.remove().run(); } void runAll() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt
assertHasErrors("Method com.example.Task.getFailOnError(): Is not annotated with @since 2.0.") assertHasAccepted( "Method com.example.Task.getFailOnError(): Is not annotated with @Incubating. Reason for accepting this: Upgraded property" to listOf("Method added to public class", "Abstract method has been added to this class"),
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Tue Apr 23 08:40:36 GMT 2024 - 20.2K bytes - Viewed (0) -
android/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
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 22.1K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
println("CACHE_MISS in task $taskPath") cacheMiss.set(true) } } } /** * We monitor some tasks in non-seed builds. If a task executed in a non-seed build, we think it as "CACHE_MISS". */ fun isCacheMissMonitoredTask(task: Task) = task.isCompileCacheMissMonitoredTask() || task.project.isAsciidoctorCacheMissTask()
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Thu Mar 07 05:49:29 GMT 2024 - 4.6K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
EXPECT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); const char* first_device = "/job:worker/replica:0/task:1/device:CPU:0"; const char* second_device = "/job:worker/replica:0/task:2/device:CPU:0"; const char* device_name = "/job:localhost/replica:0/task:0/device:CUSTOM:0"; std::array<const char*, 2> underlying_devices{first_device, second_device};
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 22:09:57 GMT 2023 - 6.7K bytes - Viewed (0) -
dbflute_fess/_readme.txt
Directory for DBFlute client manage.bat(sh) => 21 (jdbc): A execution command of JDBC task which gets your schema info and saves it to SchemaXML located to the "schema" directory. This task should be executed after ReplaceSchema task and before other tasks(e.g. Generate, Document task). manage.bat(sh) => 22 (doc): A execution command of Document task which creates documents, for example, SchemaHTML, HistoryHTML to the "output/doc" directory.
Plain Text - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Sat Jul 04 22:46:31 GMT 2015 - 2.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
/** * True if this task faker has ever had multiple tasks scheduled to run concurrently. Guarded by * [taskRunner]. */ var isParallel = false /** Guarded by [taskRunner]. */ var nanoTime = 0L private set /** Backlog of tasks to run. Only one task runs at a time. Guarded by [taskRunner]. */ private val serialTaskQueue = ArrayDeque<SerialTask>()
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 12.5K bytes - Viewed (0)