Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 778 for taskCh (0.13 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            assertNotNull(task.getValue3());
            assertEquals("task-id", task.getValue1());
            assertEquals(path, task.getValue2());
            assertEquals("application/pdf", task.getValue3());
        }
    
        @Test
        public void test_createTask_withNullPath() {
            // Test task creation with null path
            Map<String, Object> docMap = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithDependenciesPlugin.java

    import org.gradle.api.Project;
    import org.gradle.api.artifacts.Configuration;
    import org.gradle.api.artifacts.ProjectDependency;
    import org.gradle.api.plugins.ExtraPropertiesExtension;
    import org.gradle.api.tasks.Copy;
    import org.gradle.api.tasks.SourceSetContainer;
    
    import java.io.File;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import static java.util.Arrays.stream;
    
    /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.2K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateRestSpecPlugin.java

                    }));
                    // This must always be specified precisely, so that
                    // projects other than `rest-api-spec` can use this task.
                    task.setJsonSchema(new File(project.getRootDir(), "rest-api-spec/src/main/resources/schema.json"));
                    task.setReport(new File(project.getBuildDir(), "reports/validateJson.txt"));
                });
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  4. tensorflow/c/eager/c_api_test_util.h

    tensorflow::ServerDef GetServerDef(const tensorflow::string& job_name,
                                       int num_tasks);
    
    // Create a ServerDef with job name "localhost" and add `num_tasks` tasks in it.
    tensorflow::ServerDef GetServerDef(int num_tasks);
    
    // Create a multi-client ServerDef with the given `job_name`, add `num_tasks`
    // tasks and `num_virtual_gpus` virtual GPUs in it.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/skip/Skip.java

    import org.elasticsearch.gradle.internal.test.rest.transform.RestTestTransformGlobalSetup;
    import org.elasticsearch.gradle.internal.test.rest.transform.feature.FeatureInjector;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.Internal;
    import org.jetbrains.annotations.Nullable;
    
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.Function;
    
    /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 4K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantShellTask.java

     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal.vagrant;
    
    import org.gradle.api.DefaultTask;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.TaskAction;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.function.UnaryOperator;
    import java.util.stream.Collectors;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            } finally {
                if (task != null) {
                    task.cancel();
                }
                if (p != null && p.isAlive()) {
                    logger.warn("Process {} is still alive in finally block. Forcing destruction.", p);
                    if (task == null) {
                        task = new ProcessDestroyer(p, ist, commandDestroyTimeout);
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  8. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task = () -> taskDone = true;
        ScheduledFuture<?> future =
            TestingExecutors.noOpScheduledExecutor().schedule(task, 10, MILLISECONDS);
        Thread.sleep(20);
        assertFalse(taskDone);
        assertFalse(future.isDone());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task = () -> taskDone = true;
        ScheduledFuture<?> future =
            TestingExecutors.noOpScheduledExecutor().schedule(task, 10, MILLISECONDS);
        Thread.sleep(20);
        assertFalse(taskDone);
        assertFalse(future.isDone());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. tensorflow/c/eager/c_api_experimental_test.cc

      tensorflow::ServerDef server_def_1 =
          ReplaceTaskInServerDef(server_def_0, /*task_index=*/0);
    
      // These server defs have task index set to 0.
      string serialized_server_def_0 = server_def_0.SerializeAsString();
      string serialized_server_def_1 = server_def_1.SerializeAsString();
    
      // Create two worker tasks.
      server_def_0.set_task_index(1);
      std::unique_ptr<tensorflow::GrpcServer> worker_server1;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 31.5K bytes
    - Click Count (0)
Back to Top