- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 213 for stopped_ (0.14 sec)
-
src/time/sleep_test.go
} if !t1.Stop() { errs = append(errs, "failed to stop event 1") continue } <-c2 select { case <-t0.C: errs = append(errs, "event 0 was not stopped") continue case <-c1: errs = append(errs, "event 1 was not stopped") continue default: } if t1.Stop() { errs = append(errs, "Stop returned true twice") continue } // Test passed, so all done.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:33:57 UTC 2024 - 22.5K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy
ConnectException e = thrown() e.message.startsWith "Could not connect to server ${address}." e.cause instanceof java.net.ConnectException } def "client cannot connect after server stopped"() { when: def acceptor = incomingConnector.accept(Mock(Action), false) acceptor.stop() outgoingConnector.connect(acceptor.address) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 10.4K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdaterTest.groovy
when: addSnapshot(snapshotInRootDir) then: 1 * watcher.startWatching({ equalIgnoringOrder(it, ([watchableHierarchy])) }) 0 * _ } def "watchers are stopped when removing the last watched snapshot"() { def rootDir = file("root").createDir() ["first", "second", "third"].collect { rootDir.createFile(it) } def rootDirSnapshot = snapshotDirectory(rootDir)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 13:24:54 UTC 2024 - 12K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ChainingHttpHandler.java
try { requestsStarted++; condition.signalAll(); if (completed) { System.out.println(String.format("[%d] received request %s %s after HTTP server has stopped.", id, httpExchange.getRequestMethod(), httpExchange.getRequestURI())); return new UnexpectedRequestFailure(httpExchange.getRequestMethod(), httpExchange.getRequestURI().getPath()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientTest.groovy
1 * connection.dispatch({ it instanceof Finished }) 1 * connection.stop() 0 * _ } def "fails with an exception when build is cancelled and daemon is forcefully stopped"() { def cancellationToken = Mock(BuildCancellationToken) def buildRequestContext = Stub(ClientBuildRequestContext) { getCancellationToken() >> cancellationToken } when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 10K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy
connector.disconnect() when: connection.getModel(GradleProject) then: def e = thrown(RuntimeException) e.message ==~ /Cannot use .* as it has been stopped./ } def "cannot create new project connection after disconnect"() { setup: def connector = toolingApi.connector() withConnection(connector) { connection ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.5K bytes - Viewed (0) -
src/runtime/mgcsweep.go
} // reset sets up the activeSweep for the next sweep cycle. // // The world must be stopped. func (a *activeSweep) reset() { assertWorldStopped() a.state.Store(0) } // finishsweep_m ensures that all spans are swept. // // The world must be stopped. This ensures there are no sweeps in // progress. // //go:nowritebarrier func finishsweep_m() { assertWorldStopped()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:52:18 UTC 2024 - 32.9K bytes - Viewed (0) -
src/runtime/proc_test.go
N := 10 if testing.Short() { P = 3 N = 3 } defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(P)) // If runtime triggers a forced GC during this test then it will deadlock, // since the goroutines can't be stopped/preempted. // Disable GC for this test (see issue #10958). defer debug.SetGCPercent(debug.SetGCPercent(-1)) // SetGCPercent waits until the mark phase is over, but the runtime
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonBuildOptions.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 08 19:00:19 UTC 2024 - 11.2K bytes - Viewed (0) -
src/runtime/metrics_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0)