Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 464 for finishes (0.2 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/AbstractConditionalExecution.java

                throw UncheckedException.throwAsUncheckedException(e.getCause());
            }
        }
    
        @Override
        public void complete() {
            finished.countDown();
        }
    
        @Override
        public boolean isComplete() {
            return finished.getCount() == 0;
        }
    
        @Override
        public void cancel() {
            runnable.cancel(true);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r21/CancellationCrossVersionSpec.groovy

                def build = connection.newBuild()
                build.forTasks('hang')
                build.withCancellationToken(cancel.token())
                build.run(resultHandler)
                resultHandler.finished()
            }
            then:
            resultHandler.assertFailedWith(BuildCancelledException)
        }
    
        def "can cancel build after completion"() {
            buildFile << """
    task thing
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationFixture.groovy

            has(true, type, payloadTest)
        }
    
        void started(Class<?> type, Map<String, ?> payload = null) {
            has(true, type, (Map) payload)
        }
    
        void finished(Class<?> type, Map<String, ?> payload = null) {
            has(false, type, (Map) payload)
        }
    
        void has(boolean started, Class<?> type, Map<String, ?> payload) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 20 11:47:00 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/TestResultHandler.groovy

            latch.countDown()
        }
    
        void onFailure(GradleConnectionException failure) {
            this.failure = failure
            latch.countDown()
        }
    
        def finished() {
            finished(20)
        }
    
        def finished(int seconds) {
            if (!latch.await(seconds, TimeUnit.SECONDS)) {
                throw new AssertionError("Timeout waiting for operation to complete.")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/CleanUpVirtualFileSystemAfterBuild.java

    import java.util.concurrent.ExecutionException;
    
    /**
     * Asynchronously cleans up the VFS after a build.
     *
     * Unblocks the client to receive the build finished event while the cleanup is happening.
     * However, the next build is not allowed to start until the cleanup is finished.
     */
    @NonNullApi
    public class CleanUpVirtualFileSystemAfterBuild extends BuildCommandOnly implements Stoppable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/os/signal/signal_plan9_test.go

    			default:
    				postNote(syscall.Getpid(), "alarm")
    				runtime.Gosched()
    			}
    		}
    		finished <- true
    	}()
    	time.Sleep(dur)
    	close(done)
    	<-finished
    	<-finished
    	// When run with 'go test -cpu=1,2,4' alarm from this test can slip
    	// into subsequent TestSignal() causing failure.
    	// Sleep for a while to reduce the possibility of the failure.
    	time.Sleep(10 * time.Millisecond)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 14 17:56:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/FinishEvent.java

     */
    
    package org.gradle.tooling.events;
    
    /**
     * An event that informs about an operation having finished its execution.
     *
     * @since 2.4
     */
    public interface FinishEvent extends ProgressEvent {
    
        /**
         * Returns the result of the finished operation.
         *
         * @return the result of the finished operation
         */
        OperationResult getResult();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 971 bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    			return err
    		}
    	}
    
    	// Reject duplicates among analyzers.
    	// Precondition:  color[a] == black.
    	// Postcondition: color[a] == finished.
    	for _, a := range analyzers {
    		if color[a] == finished {
    			return fmt.Errorf("duplicate analyzer: %s", a.Name)
    		}
    		color[a] = finished
    	}
    
    	return nil
    }
    
    func validIdent(name string) bool {
    	for i, r := range name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultIncomingConnectionHandler.java

                }
    
                Object finished = daemonConnection.receive(60, TimeUnit.SECONDS);
                if (finished != null) {
                    LOGGER.debug("Received finished message: {}", finished);
                } else {
                    LOGGER.warn(String.format("Timed out waiting for finished message from client %s. Discarding connection.", connection));
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. src/testing/run_example_wasm.go

    		}
    		if readErr != nil {
    			fmt.Fprintf(os.Stderr, "testing: read temp file: %v\n", readErr)
    			os.Exit(1)
    		}
    
    		err := recover()
    		ok = eg.processRunResult(out, timeSpent, finished, err)
    	}()
    
    	// Run example.
    	eg.F()
    	finished = true
    	return
    }
    
    func createTempFile(exampleName string) *os.File {
    	for i := 0; ; i++ {
    		name := fmt.Sprintf("%s/go-example-stdout-%s-%d.txt", os.TempDir(), exampleName, i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top