Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 200 for NOW (0.17 sec)

  1. doc/next/6-stdlib/99-minor/net/63116.md

    The [DNSError] type now wraps errors caused by timeouts or cancellation.
    For example, `errors.Is(someDNSErr, context.DeadlineExceedeed)`
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 198 bytes
    - Viewed (0)
  2. internal/config/identity/plugin/config.go

    	ticker := time.NewTicker(healthCheckInterval)
    	defer ticker.Stop()
    
    	for {
    		select {
    		case <-ticker.C:
    			now := time.Now()
    			isConnected := o.checkConnectivity(o.shutdownCtx)
    			if isConnected {
    				o.serviceMetrics.setConnSuccess(now)
    			} else {
    				o.serviceMetrics.setConnFailure(now)
    			}
    		case <-o.shutdownCtx.Done():
    			return
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  3. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                    String now = versioningRef.getLastUpdated();
                    if (lastUpdated != null && now != null && now.compareTo(lastUpdated) < 0) {
                        getLogger()
                                .warn("The last updated timestamp in " + metadataFile + " refers to the future (now = "
                                        + now
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/1-time.md

    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Second, the timer channel associated with a `Timer` or `Ticker` is
    now unbuffered, with capacity 0.
    The main effect of this change is that Go now guarantees
    that for any call to a `Reset` or `Stop` method, no stale values
    prepared before that call will be sent or received after the call.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    	CreateDate time.Time `json:",omitempty"`
    	UpdateDate time.Time `json:",omitempty"`
    }
    
    func newPolicyDoc(p policy.Policy) PolicyDoc {
    	now := UTCNow().Round(time.Millisecond)
    	return PolicyDoc{
    		Version:    1,
    		Policy:     p,
    		CreateDate: now,
    		UpdateDate: now,
    	}
    }
    
    // defaultPolicyDoc - used to wrap a default policy as PolicyDoc.
    func defaultPolicyDoc(p policy.Policy) PolicyDoc {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. cmd/erasure-server-pool-rebalance.go

    			select {
    			case rebalErr := <-doneCh:
    				quit = true
    				now := time.Now()
    				var status rebalStatus
    
    				switch {
    				case errors.Is(rebalErr, context.Canceled):
    					status = rebalStopped
    					traceMsg = fmt.Sprintf("stopped at %s", now)
    				case rebalErr == nil:
    					status = rebalCompleted
    					traceMsg = fmt.Sprintf("completed at %s", now)
    				default:
    					status = rebalFailed
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  7. internal/rest/client.go

    				rand.New(rand.NewSource(time.Now().UnixNano())),
    				200*time.Millisecond,
    				30*time.Second,
    			)
    
    			attempt := uint(0)
    			for {
    				if atomic.LoadInt32(&c.connected) == closed {
    					return
    				}
    				if c.HealthCheckFn() {
    					if atomic.CompareAndSwapInt32(&c.connected, offline, online) {
    						now := time.Now()
    						disconnected := now.Sub(c.LastConn())
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  8. RELEASE.md

    *   <THIS SECTION SHOULD CONTAIN API, ABI AND BEHAVIORAL BREAKING CHANGES>
    
    *   `tf.summary.trace_on` now takes a `profiler_outdir` argument. This must be
        set if `profiler` arg is set to `True`.
    
        *   `tf.summary.trace_export`'s `profiler_outdir` arg is now a no-op.
            Enabling the profiler now requires setting `profiler_outdir` in
            `trace_on`.
    
    *   `tf.estimator`
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  9. docs/en/docs/advanced/generate-clients.md

        ```
    
    ### Generate a TypeScript Client with Custom Operation IDs
    
    Now if you generate the client again, you will see that it has the improved method names:
    
    <img src="/img/tutorial/generate-clients/image07.png">
    
    As you see, the method names now have the tag and then the function name, now they don't include information from the URL path and the HTTP operation.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cache.go

    			totalDrives:   totalDrives.Sum(),
    			ioStats:       map[string]driveIOStatMetrics{},
    		}
    
    		currentStats := getCurrentDriveIOStats()
    		now := time.Now().UTC()
    
    		prevDriveIOStatsMu.Lock()
    		if prevDriveIOStats != nil {
    			duration := now.Sub(prevDriveIOStatsRefreshedAt)
    			if duration.Seconds() > 1 {
    				for d, cs := range currentStats {
    					if ps, found := prevDriveIOStats[d]; found {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 7.9K bytes
    - Viewed (0)
Back to top