Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 495 for STOPPED (0.19 sec)

  1. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubTest.groovy

            e.message == 'Cannot create outgoing dispatch, as <hub> has been stopped.'
        }
    
        def "cannot add handler after stop started"() {
            when:
            hub.requestStop()
            hub.addHandler("channel", new Object())
    
            then:
            IllegalStateException e = thrown()
            e.message == 'Cannot add handler, as <hub> has been stopped.'
        }
    
        def "cannot add connection after stop started"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  2. pkg/queue/util.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package queue
    
    import (
    	"fmt"
    	"time"
    )
    
    // WaitForClose blocks until the Instance has stopped processing tasks or the timeout expires.
    // If the timeout is zero, it will wait until the queue is done processing.
    // WaitForClose an error if the timeout expires.
    func WaitForClose(q Instance, timeout time.Duration) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 14 06:36:32 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Stopwatch.java

       */
      @CanIgnoreReturnValue
      public Stopwatch stop() {
        long tick = ticker.read();
        checkState(isRunning, "This stopwatch is already stopped.");
        isRunning = false;
        elapsedNanos += tick - startTick;
        return this;
      }
    
      /**
       * Sets the elapsed time for this stopwatch to zero, and places it in a stopped state.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/DeploymentHandleContinuousBuildCrossVersionSpec.groovy

        def fixture = new TestDeploymentFixture()
    
        def setup() {
            fixture.writeToProject(projectDir)
            buildTimeout = 30
        }
    
        def "deployment is stopped when continuous build is cancelled" () {
            when:
            runBuild(["runDeployment"]) {
                succeeds()
                def key = fixture.keyFile.text
                fixture.assertDeploymentIsRunning(key)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStartupMessage.java

                }
                if (numIncompatible > 0) {
                    reasons.add(numIncompatible + " incompatible");
                }
                if (numStopped > 0) {
                    reasons.add(numStopped + " stopped");
                }
    
                return STARTING_DAEMON_MESSAGE + ", "
                    + Joiner.on(" and ").join(reasons) + " Daemon" + (totalUnavailableDaemons > 1 ? "s" : "")
                    + NOT_REUSED_MESSAGE;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/AsyncConsumerActionExecutor.java

         * complete. Note that the action may have completed by the time this method returns.
         *
         * @throws IllegalStateException When this connection has been stopped or is stopping.
         */
        <T> void run(ConsumerAction<? extends T> action, ResultHandlerVersion1<? super T> handler);
    
        /**
         * Stops this connection, blocking until all operations on the connection have completed.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/ready_test.go

    	if ready.check() {
    		t.Errorf("unexpected ready state %v", ready.check())
    	}
    	// can not set to true if is stopped
    	ready.set(true)
    	if ready.check() {
    		t.Errorf("unexpected ready state %v", ready.check())
    	}
    	err := ready.wait(context.Background())
    	if err == nil {
    		t.Errorf("expected error waiting on a stopped state")
    	}
    }
    
    func Test_newReadyCancelPending(t *testing.T) {
    	errCh := make(chan error, 10)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 13:32:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/actor/internal/DefaultActorFactorySpec.groovy

            given:
            actor.stop()
    
            when:
            proxy.doStuff('param')
    
            then:
            IllegalStateException e = thrown()
            e.message == 'This actor has been stopped.'
        }
    
        def cannotDispatchToNonBlockingActorAfterItHasBeenStopped() {
            def actor = factory.createActor(target)
            def proxy = actor.getProxy(TargetObject.class)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  9. src/internal/fuzz/worker_test.go

    		i += resp.Count
    	}
    }
    
    // newWorkerForTest creates and starts a worker process for testing or
    // benchmarking. The worker process calls RunFuzzWorker, which responds to
    // RPC messages until it's stopped. The process is stopped and cleaned up
    // automatically when the test is done.
    func newWorkerForTest(tb testing.TB) *worker {
    	tb.Helper()
    	c, err := newCoordinator(CoordinateFuzzingOpts{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/EndPointQueue.java

                    }
                }
            }
            drainTo.addAll(queue);
            queue.clear();
        }
    
        public void stop() {
            owner.stopped(this);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top