Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,315 for stops (0.04 sec)

  1. src/io/multi.go

    // provided writers, similar to the Unix tee(1) command.
    //
    // Each write is written to each listed writer, one at a time.
    // If a listed writer returns an error, that overall write operation
    // stops and returns the error; it does not continue down the list.
    func MultiWriter(writers ...Writer) Writer {
    	allWriters := make([]Writer, 0, len(writers))
    	for _, w := range writers {
    		if mw, ok := w.(*multiWriter); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. src/time/tick.go

    // immediately deferred t.Stop after calling NewTicker, to make
    // the ticker recoverable when it was no longer needed.
    // As of Go 1.23, the garbage collector can recover unreferenced
    // tickers, even if they haven't been stopped.
    // The Stop method is no longer necessary to help the garbage collector.
    // (Code may of course still want to call Stop to stop the ticker for other reasons.)
    func NewTicker(d Duration) *Ticker {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/internal/DefaultActorFactory.java

            this.executorFactory = executorFactory;
        }
    
        /**
         * Stops all actors.
         */
        @Override
        public void stop() {
            synchronized (lock) {
                try {
                    CompositeStoppable.stoppable(nonBlockingActors.values()).add(blockingActors.values()).stop();
                } finally {
                    nonBlockingActors.clear();
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/watch/mux.go

    	result  chan Event
    	stopped chan struct{}
    	stop    sync.Once
    	id      int64
    	m       *Broadcaster
    }
    
    // ResultChan returns a channel to use for waiting on events.
    func (mw *broadcasterWatcher) ResultChan() <-chan Event {
    	return mw.result
    }
    
    // Stop stops watching and removes mw from its list.
    // It will block until the watcher stop request is actually executed
    func (mw *broadcasterWatcher) Stop() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 15:26:36 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  5. cmd/service.go

    )
    
    // Type of service signals currently supported.
    type serviceSignal int
    
    const (
    	serviceRestart       serviceSignal = iota // Restarts the server.
    	serviceStop                               // Stops the server.
    	serviceReloadDynamic                      // Reload dynamic config values.
    	serviceFreeze                             // Freeze all S3 API calls.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/process/internal/MultiRequestWorkerProcessIntegrationTest.groovy

        def "runs methods in a single worker process and stops when requested"() {
            when:
            def builder = workerFactory.multiRequestWorker(StatefulTestWorker.class)
            def worker = builder.build()
            worker.start()
            def result1 = worker.run("value")
            def result2 = worker.run("value")
            def result3 = worker.run("value")
            worker.stop()
    
            then:
            result1 == "value:1"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 15 22:51:06 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy

            when:
            handler.reservePort()
            handler.start(10, {})
            handler.stop()
    
            then:
            1 * factory.create(_ as String) >> lockRequestListener
            1 * factory.create(_ as String) >> releaseLockActionExecutor
            1 * lockRequestListener.stop()
            1 * releaseLockActionExecutor.stop()
        }
    
        def "stopping is safe even if the handler was not initialized"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/AndroidIncrementalExecutionPerformanceTest.groovy

                // See: https://android.googlesource.com/platform/tools/base/+/studio-master-dev/build-system/gradle-core/src/main/java/com/android/build/gradle/tasks/ShaderCompile.java#120
                // TODO: remove this once AGP stops checking for the existence of these directories at configuration time
                workingDir.listFiles().findAll { it.isDirectory() && new File(it, "build.gradle").exists() }.each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/govcs.txt

    env GO111MODULE=on
    env proxy=$GOPROXY
    env GOPROXY=direct
    
    # GOVCS stops go get
    env GOVCS='*:none'
    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for public github.com/google/go-cmp; see ''go help vcs''$'
    env GOPRIVATE='github.com/google'
    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for private github.com/google/go-cmp; see ''go help vcs''$'
    
    # public pattern works
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. src/runtime/trace/trace.go

    	}()
    	tracing.enabled.Store(true)
    	return nil
    }
    
    // Stop stops the current tracing, if any.
    // Stop only returns after all the writes for the trace have completed.
    func Stop() {
    	tracing.Lock()
    	defer tracing.Unlock()
    	tracing.enabled.Store(false)
    
    	runtime.StopTrace()
    }
    
    var tracing struct {
    	sync.Mutex // gate mutators (Start, Stop)
    	enabled    atomic.Bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top