Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for wait_for (0.14 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReuseIntegrationTest.groovy

            def client1 = new DaemonClientFixture(executer.withTasks("block").withArguments("--debug", "-PbuildNum=1").start())
            waitFor("started1")
            def canceledDaemon1 = daemons.daemon
            def client2 = new DaemonClientFixture(executer.withTasks("block").withArguments("--debug", "-PbuildNum=2").start())
            waitFor("started2")
            def canceledDaemon2 = daemons.daemons.find { it.context.pid != canceledDaemon1.context.pid }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> Callable<V> waitFor(Callable<V> callable) {
          return waitFor(callable, Callable.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
          return waitFor(closingCallable, ClosingCallable.class);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> Callable<V> waitFor(Callable<V> callable) {
          return waitFor(callable, Callable.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
          return waitFor(closingCallable, ClosingCallable.class);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

                def process = ['unzip', '-q', '-o', file.absolutePath, '-d', target.absolutePath].execute()
                process.consumeProcessOutput(System.out, System.err)
                assertThat(process.waitFor(), equalTo(0))
                return
            }
    
            def unzip = new Expand()
            unzip.src = file
            unzip.dest = target
    
            unzip.project = new Project()
            unzip.execute()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        thread1.callAndAssertReturns(waitFor(), guard);
      }
    
      public final void testWaitFor_initiallyFalse() throws Exception {
        TestGuard guard = new TestGuard(false);
        thread1.callAndAssertReturns(enter());
        thread1.callAndAssertWaits(waitFor(), guard);
        monitor.enter();
        guard.setSatisfied(true);
        monitor.leave();
        thread1.assertPriorCallReturns(waitFor());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/testFixtures/groovy/org/gradle/util/WindowsSymbolicLinkUtil.groovy

            assert ["cmd.exe", "/d", "/c", "mklink", *extraOptions, link, target].execute().waitFor() == 0
        }
    
        static void createWindowsJunction(File link, File target) {
            assert target.isDirectory(), "Windows junction only works on directory"
            assert ["cmd.exe", "/d", "/c", "mklink", "/j", link, target].execute().waitFor() == 0
        }
    
        static void createWindowsHardLinks(File link, File target) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitHttpRepository.java

                    content.write("0000".getBytes());
                    IOUtils.copy(process.getInputStream(), content);
                    process.waitFor();
                    int result = process.waitFor();
                    if (result != 0) {
                        throw new RuntimeException("Failed to run git upload-pack");
                    }
    
                    byte[] bytes = content.toByteArray();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

    import spock.lang.Timeout
    import spock.util.concurrent.PollingConditions
    
    @Timeout(120)
    @Retry(count = 3)
    class ToolingApiShutdownCrossVersionSpec extends CancellationSpec {
    
        def waitFor
    
        def setup() {
            waitFor = new PollingConditions(timeout: 60, initialDelay: 0, factor: 1.25)
            toolingApi.requireIsolatedDaemons()
        }
    
        @TargetGradleVersion(">=6.5")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/process/internal/ExecHandleRunner.java

                lock.unlock();
            }
        }
    
        @Override
        public void run() {
            // Split the `with` operation so that the `associatedBuildOperation` can be discarded when we wait in `process.waitFor()`
            try {
                CurrentBuildOperationRef.instance().with(this.associatedBuildOperation, () -> {
                    startProcess();
    
                    execHandle.started();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/BlockTarget.groovy

     */
    class BlockTarget {
        private final Instants instants
    
        BlockTarget(Instants instants) {
            this.instants = instants
        }
    
        def getProperty(String name) {
            instants.waitFor(name)
            true
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top