Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 509 for task0 (0.03 sec)

  1. 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)
  2. okcurl/build.gradle.kts

      testApi(libs.assertk)
      testImplementation(kotlin("test"))
    }
    
    animalsniffer {
      isIgnoreFailures = true
    }
    
    tasks.jar {
      manifest {
        attributes("Automatic-Module-Name" to "okhttp3.curl")
        attributes("Main-Class" to "okhttp3.curl.MainCommandLineKt")
      }
    }
    
    tasks.shadowJar {
      mergeServiceFiles()
    }
    
    graal {
      mainClass("okhttp3.curl.MainCommandLineKt")
      outputName("okcurl")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. 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)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

    import org.gradle.api.file.FileSystemOperations;
    import org.gradle.api.file.FileTree;
    import org.gradle.api.internal.initialization.ClassLoaderScope;
    import org.gradle.api.tasks.CacheableTask;
    import org.gradle.api.tasks.Classpath;
    import org.gradle.api.tasks.OutputDirectory;
    import org.gradle.api.tasks.TaskAction;
    import org.gradle.initialization.ClassLoaderScopeRegistry;
    import org.gradle.internal.classloader.ClasspathUtil;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sun Mar 19 17:15:23 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java

        return delegate().submit(task);
      }
    
      @Override
      public ListenableFuture<?> submit(Runnable task) {
        return delegate().submit(task);
      }
    
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(
          Runnable task, @ParametricNullness T result) {
        return delegate().submit(task, result);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

    import org.gradle.api.file.RegularFileProperty
    import org.gradle.api.logging.Logging
    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.OutputFile
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.SourceTask
    import org.gradle.api.tasks.TaskAction
    
    /**
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java

    import org.gradle.api.file.RegularFileProperty;
    import org.gradle.api.provider.Property;
    import org.gradle.api.tasks.CacheableTask;
    import org.gradle.api.tasks.CompileClasspath;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.OutputFile;
    import org.gradle.api.tasks.TaskAction;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.net.URI;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Nov 22 22:15:41 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

     * limitations under the License.
     */
    
    package gradlebuild.buildutils.tasks
    
    import org.gradle.api.DefaultTask
    import org.gradle.api.file.RegularFileProperty
    import org.gradle.api.provider.Property
    import org.gradle.api.tasks.Internal
    import org.gradle.api.tasks.TaskAction
    import org.gradle.api.tasks.UntrackedTask
    import org.jetbrains.annotations.VisibleForTesting
    import java.util.Properties
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 18:27:26 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_cluster_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      const char remote_device_name[] =
          "/job:localhost/replica:0/task:1/device:CPU:0";
      const char local_device_name[] =
          "/job:localhost/replica:0/task:0/device:CPU:0";
      CheckRemoteMatMulExecutesOK(ctx, remote_device_name, local_device_name);
    
      TFE_Executor* executor = TFE_ContextGetExecutorForThread(ctx);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. 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)
Back to top