Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 800 for stops (0.12 sec)

  1. tensorflow/compiler/jit/device_util.h

    class DeviceSet {
     public:
      void Insert(DeviceId device_id);
      void UnionWith(const DeviceSet& other);
      bool IsEmpty() const;
    
      // Calls `func` on each DeviceId in the set.  Stops iterating early if `func`
      // return false.
      //
      // TODO(sanjoy): Change this to take a typed std::function if that's
      // performance neutral.
      template <typename FnTy>
      void ForEach(FnTy func) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/os/dir.go

    // group, and others while retaining any existing execute bits from
    // the file in fsys.
    //
    // Symbolic links in fsys are not supported, a *PathError with Err set
    // to ErrInvalid is returned on symlink.
    //
    // Copying stops at and returns the first error encountered.
    func CopyFS(dir string, fsys fs.FS) error {
    	return fs.WalkDir(fsys, ".", func(path string, d fs.DirEntry, err error) error {
    		if err != nil {
    			return err
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. pkg/kubelet/certificate/kubelet.go

    	var ctx context.Context
    	ctx, m.cancelFn = context.WithCancel(context.Background())
    	go m.dynamicCertificateContent.Run(ctx, 1)
    }
    
    // Stop stops watching the certificate and key files
    func (m *kubeletServerCertificateDynamicFileManager) Stop() {
    	if m.cancelFn != nil {
    		m.cancelFn()
    	}
    }
    
    // ServerHealthy always returns true since the file manager doesn't communicate with any server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. pkg/test/framework/suite.go

    	// Otherwise it stops test execution.
    	//
    	// Deprecated: Tests should not make assumptions about number of clusters.
    	RequireMinClusters(minClusters int) Suite
    	// RequireMaxClusters ensures that the current environment contains at least the given number of clusters.
    	// Otherwise it stops test execution.
    	//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/structural.go

    	Title    string
    	Default  JSON
    	Nullable bool
    }
    
    // +k8s:deepcopy-gen=true
    
    // Extensions contains the Kubernetes OpenAPI v3 vendor extensions.
    type Extensions struct {
    	// x-kubernetes-preserve-unknown-fields stops the API server
    	// decoding step from pruning fields which are not specified
    	// in the validation schema. This affects fields recursively,
    	// but switches back to normal pruning behaviour if nested
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java

        }
    
        /**
         * Stops the daemon, blocking until any current requests/connections have been satisfied.
         * <p>
         * This is the semantically the same as sending the daemon the Stop command.
         * <p>
         * This method does not quite conform to the semantics of the Stoppable contract in that it will NOT
         * wait for any executing builds to stop before returning. This is by design as we currently have no way of
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. security/pkg/nodeagent/sds/sdsservice.go

    		b := backoff.NewExponentialBackOff(backoff.DefaultOption())
    		// context for both timeout and channel, whichever stops first, the context will be done
    		ctx, cancel := context.WithCancel(context.Background())
    		go func() {
    			select {
    			case <-ret.stop:
    				cancel()
    			case <-ctx.Done():
    			}
    		}()
    		defer cancel()
    		_ = b.RetryWithContext(ctx, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. src/slices/slices.go

    // Equal reports whether two slices are equal: the same length and all
    // elements equal. If the lengths are different, Equal returns false.
    // Otherwise, the elements are compared in increasing index order, and the
    // comparison stops at the first unequal pair.
    // Floating point NaNs are not considered equal.
    func Equal[S ~[]E, E comparable](s1, s2 S) bool {
    	if len(s1) != len(s2) {
    		return false
    	}
    	for i := range s1 {
    		if s1[i] != s2[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

        }
    
        /**
         * Forcibly stops the daemon, even if it is busy.
         *
         * If the daemon is busy and the client is waiting for a response, it may receive “null” from the daemon as the connection may be closed by this method before the result is sent back.
         *
         * @see #requestStop(String reason)
         */
        @Override
        public void stop() {
            stopNow("service stop");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

        }
    
        def "an exception from stop action is rethrown"() {
            given:
            def provider = registerService("service", ServiceImpl)
            provider.beforeStopping { throw new UnsupportedOperationException("Don't stop") }
            when:
            buildFinished()
    
            then:
            thrown(Exception)
        }
    
        def "other stop actions run if one of them throws"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top