- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,888 for _top (0.04 sec)
-
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubBackedObjectConnectionTest.groovy
when: connectionBuilder.addIncoming(Worker, worker) connectionBuilder.connect() connection.stop() connectionBuilder.stop() then: 1 * worker.doStuff("param 1") 0 * worker._ cleanup: connection?.stop() connectionBuilder?.stop() } def "cannot add incoming message handler on established connections"() { def worker = Mock(Worker)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/actor/internal/DefaultActorFactorySpec.groovy
proxy.doStuff('param') operation.stop { factory.stop() } then: operation.stop.end > instant.actionFinished } def cannotDispatchToBlockingActorAfterItHasBeenStopped() { def actor = factory.createBlockingActor(target) def proxy = actor.getProxy(TargetObject.class) given: actor.stop() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 8.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/DefaultLoggingManagerTest.groovy
0 * stdOutLoggingSystem._ 0 * stdErrLoggingSystem._ when: loggingManager.stop() then: 1 * stdOutLoggingSystem.restore(stdOutSnapshot) 1 * stdErrLoggingSystem.restore(stdErrSnapshot) } public void "can start and stop with system capture enabled"() { loggingManager.captureSystemSources()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 15.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileVisitDetails.java
private final AtomicBoolean stop; public DefaultFileVisitDetails(File file, RelativePath relativePath, AtomicBoolean stop, Chmod chmod, Stat stat) { super(file, relativePath, chmod, stat); this.stop = stop; } @Override public void stopVisiting() { stop.set(true); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.3K bytes - Viewed (0) -
src/time/sleep.go
// any receive from t.C after Stop has returned is guaranteed to block // rather than receive a stale time value from before the Stop; // if the program has not received from t.C already and the timer is // running, Stop is guaranteed to return true. // Before Go 1.23, the only safe way to use Stop was insert an extra // <-t.C if Stop returned false to drain a potential stale value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/DefaultExecutorFactory.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/AsyncStoppable.java
*/ package org.gradle.internal.concurrent; /** * A {@link Stoppable} object whose stop process can be performed asynchronously. */ public interface AsyncStoppable extends Stoppable { /** * <p>Requests that this stoppable commence a graceful stop. Does not block. You should call {@link * Stoppable#stop} to wait for the stop process to complete.</p> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 1.4K bytes - Viewed (0) -
src/runtime/runtime_unix_test.go
// goroutines coming out of system calls, causing possible // crashes. defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(100)) var stop uint32 defer atomic.StoreUint32(&stop, 1) // in case of panic var wg sync.WaitGroup for i := 0; i < 4; i++ { wg.Add(1) go func() { for atomic.LoadUint32(&stop) == 0 { syscall.Close(-1) } wg.Done() }() } max := 10000 if testing.Short() { max = 100
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.2K bytes - Viewed (0) -
pkg/kube/krt/sync.go
type Syncer interface { WaitUntilSynced(stop <-chan struct{}) bool HasSynced() bool } var ( _ Syncer = channelSyncer{} _ Syncer = pollSyncer{} ) type channelSyncer struct { name string synced <-chan struct{} } func (c channelSyncer) WaitUntilSynced(stop <-chan struct{}) bool { return waitForCacheSync(c.name, stop, c.synced) } func (c channelSyncer) HasSynced() bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 03 14:25:07 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/CompositeStoppable.java
* {@link java.io.Closeable} or {@link org.gradle.internal.concurrent.Stoppable} then the appropriate close/stop * method is called on that object, otherwise the element is ignored. Elements may be {@code null}, in which case they * are ignored. * * <p>Attempts to stop as many elements as possible in the presence of failures.</p> */ public class CompositeStoppable implements Stoppable {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 3.9K bytes - Viewed (0)