Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 281 for stops (0.08 sec)

  1. src/iter/iter.go

    // next and stop.
    //
    // Next returns the next value in the sequence
    // and a boolean indicating whether the value is valid.
    // When the sequence is over, next returns the zero V and false.
    // It is valid to call next after reaching the end of the sequence
    // or after calling stop. These calls will continue
    // to return the zero V and false.
    //
    // Stop ends the iteration. It must be called when the caller is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. pkg/kube/kclient/crdwatcher.go

    // Run starts the controller. This must be called.
    func (c *crdWatcher) Run(stop <-chan struct{}) {
    	c.mutex.Lock()
    	if c.stop != nil {
    		// Run already called. Because we call this from client.RunAndWait this isn't uncommon
    		c.mutex.Unlock()
    		return
    	}
    	c.stop = stop
    	c.mutex.Unlock()
    	kube.WaitForCacheSync("crd watcher", stop, c.crds.HasSynced)
    	c.queue.Run(stop)
    	c.crds.ShutdownHandlers()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. 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)
  4. .github/workflows/test.yml

          - master
      pull_request:
        types:
          - opened
          - synchronize
      schedule:
        # cron every week on monday
        - cron: "0 0 * * 1"
    
    jobs:
      lint:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - name: Set up Python
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 10 00:30:25 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. pkg/kube/kclient/crdwatcher_test.go

    func TestCRDWatcherRace(t *testing.T) {
    	stop := test.NewStop(t)
    	c := kube.NewFakeClient()
    	ctl := c.CrdWatcher()
    	vsCalls := atomic.NewInt32(0)
    
    	// Race callback and CRD creation
    	go func() {
    		if ctl.KnownOrCallback(gvr.VirtualService, func(s <-chan struct{}) {
    			assert.Equal(t, s, stop)
    			// Happened async
    			vsCalls.Inc()
    		}) {
    			// Happened sync
    			vsCalls.Inc()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. .github/workflows/deploy-docs.yml

          - name: Comment Deploy
            if: steps.deploy.outputs.url != ''
            uses: ./.github/actions/comment-docs-preview-in-pr
            with:
              token: ${{ secrets.FASTAPI_PREVIEW_DOCS_COMMENT_DEPLOY }}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 10 00:30:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    	meshWatcher := mesh.NewTestWatcher(&meshconfig.MeshConfig{})
    	stop := test.NewStop(t)
    	discoveryNamespacesFilter := filter.NewDiscoveryNamespacesFilter(
    		kclient.New[*v1.Namespace](client),
    		meshWatcher,
    		stop,
    	)
    	kube.SetObjectFilter(client, discoveryNamespacesFilter)
    	nc := NewNamespaceController(client, watcher)
    	client.RunAndWait(stop)
    	go nc.Run(stop)
    	retry.UntilOrFail(t, nc.queue.HasSynced)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/transform/CalculateArtifactsCodec.kt

            val files = mutableListOf<Artifact>()
            value.delegate.visitExternalArtifacts { files.add(Artifact(file, artifactName.classifier)) }
            write(files)
            val steps = unpackTransformSteps(value.steps)
            writeCollection(steps)
        }
    
        override suspend fun ReadContext.decode(): AbstractTransformedArtifactSet.CalculateArtifacts {
            val ownerId = readNonNull<ComponentIdentifier>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/process/internal/worker/WorkerControl.java

         */
        WorkerProcess start();
    
        /**
         * Requests that the worker complete all work and stop. Blocks until the worker process has stopped.
         */
        ExecResult stop();
    
        /**
         * Requests that the worker stop immediately, without waiting for it to complete its work.
         */
        void stopNow();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/testprog/iter-pull.go

    			iterChans[0] <- i
    		}
    	}()
    	wg.Wait()
    
    	// End of traced execution.
    	trace.Stop()
    }
    
    func pullRange(n int) intIter {
    	next, stop := iter.Pull(func(yield func(v int) bool) {
    		for i := range n {
    			yield(i)
    		}
    	})
    	return intIter{next: next, stop: stop}
    }
    
    type intIter struct {
    	next func() (int, bool)
    	stop func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top