Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,645 for _top (0.04 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/wait/timer.go

    	// The channel should not be waited on after Stop() is invoked. It is allowed
    	// to cache the returned value of C() for the lifetime of the Timer.
    	C() <-chan time.Time
    	// Next is invoked by wait functions to signal timers that the next interval
    	// should begin. You may only use Next() if you have drained the channel C().
    	// You should not call Next() after Stop() is invoked.
    	Next()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. src/os/signal/signal.go

    func Reset(sig ...os.Signal) {
    	cancel(sig, disableSignal)
    }
    
    // Stop causes package signal to stop relaying incoming signals to c.
    // It undoes the effect of all prior calls to [Notify] using c.
    // When Stop returns, it is guaranteed that c will receive no more signals.
    func Stop(c chan<- os.Signal) {
    	handlers.Lock()
    
    	h := handlers.m[c]
    	if h == nil {
    		handlers.Unlock()
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ExclusiveCacheAccessingWorkerTest.groovy

            start(cacheAccessWorker)
            async {
                thread.blockUntil.waiting
                cacheAccessWorker.stop()
            }
    
            then:
            def e = thrown(RuntimeException)
            e == failure
    
            cleanup:
            cacheAccessWorker?.stop()
        }
    
        def "stop rethrows action failure"() {
            def failure = new RuntimeException()
            cacheAccessWorker.enqueue { throw failure }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/DefaultStandardOutputRedirectorTest.groovy

            when:
            redirector.redirectStandardErrorTo(stdErrListener)
            redirector.start()
            redirector.stop()
            redirector.redirectStandardOutputTo(stdOutListener)
            redirector.start()
            System.out.println('this is stdout')
            System.err.println('this is stderr')
            redirector.stop()
    
            then:
            1 * stdOutListener.onOutput('this is stdout' + EOL)
            0 * stdOutListener._
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/DefaultExecutorFactory.java

            this.threadFactoryContextClassloader = threadFactoryContextClassloader;
        }
    
        @Override
        public void stop() {
            try {
                CompositeStoppable.stoppable(executors).stop();
            } finally {
                executors.clear();
            }
        }
    
        @Override
        public ManagedExecutor create(String displayName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top