Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 843 for slop (0.05 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

    import org.gradle.initialization.BuildCancellationToken;
    
    public interface DaemonStateControl {
        /**
         * <p>Requests that the daemon stop, but wait until the daemon is idle. The stop will happen asynchronously, and this method does not block.
         *
         * <p>The daemon will stop accepting new work, so that subsequent calls to {@link #runCommand} will fail with {@link DaemonUnavailableException}.
         */
        void requestStop(String reason);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java

                if (stdErr.start < 0) {
                    stdErr.start = index.stdErr.start;
                }
                if (index.stdOut.stop > stdOut.stop) {
                    stdOut.stop = index.stdOut.stop;
                }
                if (index.stdErr.stop > stdErr.stop) {
                    stdErr.stop = index.stdErr.stop;
                }
    
                children.put(key, index);
            }
    
            Index build() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

        def "can stop multiple times"() {
            expect:
            notStopped
    
            when: "stopped first time"
            coordinator.stop()
    
            then: "stops"
            stopped
    
            when: "requested again"
            coordinator.stop()
    
            then:
            stopped
            0 * _._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/testprog/iter-pull.go

    			iterChans[0] <- i
    		}
    	}()
    	wg.Wait()
    
    	// End of traced execution.
    	trace.Stop()
    }
    
    func pullRange(n int) intIter {
    	next, stop := iter.Pull(func(yield func(v int) bool) {
    		for i := range n {
    			yield(i)
    		}
    	})
    	return intIter{next: next, stop: stop}
    }
    
    type intIter struct {
    	next func() (int, bool)
    	stop func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/runtime/trace/trace_test.go

    		t.Skip("skipping because -test.trace is set")
    	}
    	Stop()
    	buf := new(bytes.Buffer)
    	if err := Start(buf); err != nil {
    		t.Fatalf("failed to start tracing: %v", err)
    	}
    	if err := Start(buf); err == nil {
    		t.Fatalf("succeed to start tracing second time")
    	}
    	Stop()
    	Stop()
    }
    
    func saveTrace(t *testing.T, buf *bytes.Buffer, name string) {
    	if !*saveTraces {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/AbstractDaemonLifecycleSpec.groovy

                                    println "timed out waiting for stop file, failing"
                                    throw new RuntimeException("It seems the stop file was never created")
                                }
                            }
                            println 'noticed stop file, finishing'
                        }
                    }
                """)
                builds << executer.start()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:32:55 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

        }
    
        def "an exception from stop action is rethrown"() {
            given:
            def provider = registerService("service", ServiceImpl)
            provider.beforeStopping { throw new UnsupportedOperationException("Don't stop") }
            when:
            buildFinished()
    
            then:
            thrown(Exception)
        }
    
        def "other stop actions run if one of them throws"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

                succeeds("f")
            }
            server.stop()
    
            then:
            noExceptionThrown()
        }
    
        def "fails on stop when expected serial request is not made"() {
            given:
            server.expect("a")
            server.expect("b")
            server.start()
    
            when:
            succeeds("a")
            server.stop()
    
            then:
            def e = thrown(RuntimeException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java

         * from the registry.
         */
        @Override
        public void stop() {
            LOGGER.debug("stop() called on daemon");
            lifecycleLock.lock();
            try {
                if (stateCoordinator == null) {
                    throw new IllegalStateException("cannot stop daemon as it has not been started.");
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. src/runtime/mgclimit.go

    		if e.stamp.CompareAndSwap(uint64(old), uint64(new)) {
    			break
    		}
    	}
    	return
    }
    
    // stop stops the active limiter event. Throws if the
    //
    // The caller must be non-preemptible across the event. See start as to why.
    func (e *limiterEvent) stop(typ limiterEventType, now int64) {
    	var stamp limiterEventStamp
    	for {
    		stamp = limiterEventStamp(e.stamp.Load())
    		if stamp.typ() != typ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top