Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 149 for ctMask (0.04 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

        }
    
        private void maybeSkipTask(Provider<DockerSupportService> dockerSupport, TaskProvider<Task> task) {
            task.configure(t -> maybeSkipTask(dockerSupport, t));
        }
    
        private void maybeSkipTask(Provider<DockerSupportService> dockerSupport, Task task) {
            task.onlyIf(spec -> {
                boolean isComposeAvailable = dockerSupport.get().getDockerAvailability().isComposeAvailable;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                    }
                    r.run();
                  }
                });
        Runnable task = numCalls::incrementAndGet;
        assertThrows(RejectedExecutionException.class, () -> executor.execute(task));
        assertEquals(0, numCalls.get());
        reject.set(false);
        executor.execute(task);
        assertEquals(1, numCalls.get());
      }
    
      /*
       * Under Android, MyError propagates up and fails the test?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

            tasks.withType(AsciidoctorTask.class).configureEach(task -> {
                if (task.getName().equals("asciidoctor")) {
                    // ignore this task
                    task.setEnabled(false);
                    return;
                }
    
                task.setExecutionMode(ExecutionMode.OUT_OF_PROCESS);
                task.outputOptions(options -> {
                    options.setSeparateOutputDirs(false);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 22:33:18 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        public <T> Future<T> submit(Callable<T> task) {
          lastMethodCalled = "submit";
          assertThat(task).isInstanceOf(WrappedCallable.class);
          return inline.submit(task);
        }
    
        @Override
        public Future<?> submit(Runnable task) {
          lastMethodCalled = "submit";
          assertThat(task).isInstanceOf(WrappedRunnable.class);
          return inline.submit(task);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/YamlRestCompatTestPlugin.java

                    task.dependsOn(bwcMinorConfig);
                    task.setCoreConfig(bwcMinorConfig);
                    task.setXpackConfig(bwcMinorConfig);
                    task.setAdditionalConfig(bwcMinorConfig);
                    task.getIncludeCore().set(extension.getRestTests().getIncludeCore());
                    task.getIncludeXpack().set(extension.getRestTests().getIncludeXpack());
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 11.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

                  task.skipTest("test/test/two", "This is a test to skip test two")
                  task.replaceValueInMatch("_type", "_doc")
                  task.replaceValueInMatch("_source.values", ["z", "x", "y"], "one")
                  task.removeMatch("_source.blah")
                  task.removeMatch("_source.junk", "two")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

            });
        }
    
        private TaskProvider<Task> registerCheckLicenseTask(Project project, TaskProvider<Copy> checkExtraction) {
            TaskProvider<Task> checkLicense = project.getTasks().register("checkLicense", task -> {
                task.dependsOn(checkExtraction);
                task.doLast(new Action<Task>() {
                    @Override
                    public void execute(Task task) {
                        String licenseFilename = null;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                AbstractService service, ScheduledExecutorService executor, Runnable task) {
              return new FutureAsCancellable(
                  executor.scheduleWithFixedDelay(task, initialDelay, delay, unit));
            }
          };
        }
    
        /**
         * Returns a {@link Scheduler} that schedules the task using the {@link
         * ScheduledExecutorService#scheduleAtFixedRate} method.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  9. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        // Wait for the first task to be started in the background. It will block until we explicitly
        // stop it.
        blockingCallable.waitForStart();
    
        // Give the second task a chance to (incorrectly) start up while the first task is running.
        assertThat(future2.isDone()).isFalse();
    
        // Stop the first task. The second task should then run.
        blockingCallable.stop();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
Back to Top