Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 466 for secunds (0.16 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

        //      last modified: 105 seconds ago
        //             served:   5 seconds ago
        //   default lifetime: (105 - 5) / 10 = 10 seconds
        //            expires:  10 seconds from served date = 5 seconds from now
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Last-Modified: " + formatDate(-105, TimeUnit.SECONDS))
            .addHeader("Date: " + formatDate(-5, TimeUnit.SECONDS))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/GcFinalization.java

          return;
        }
        long timeoutSeconds = timeoutSeconds();
        long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds);
        do {
          System.runFinalization();
          if (future.isDone()) {
            return;
          }
          System.gc();
          try {
            future.get(1L, SECONDS);
            return;
          } catch (CancellationException | ExecutionException ok) {
            return;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    		return
    	}
    
    	durationStr := r.Form.Get(peerRESTDuration)
    	duration, err := time.ParseDuration(durationStr)
    	if err != nil || duration.Seconds() == 0 {
    		duration = time.Second * 10
    	}
    	result := netperf(r.Context(), duration.Round(time.Second))
    	peersLogIf(r.Context(), gob.NewEncoder(w).Encode(result))
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  4. cmd/prepare-storage.go

    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    		return time.Now().Round(time.Second).Sub(formatStartTime).String()
    	}
    
    	var (
    		tries   int
    		verbose bool
    	)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    // +protobuf.options.(gogoproto.goproto_stringer)=false
    message MicroTime {
      // Represents seconds of UTC time since Unix epoch
      // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
      // 9999-12-31T23:59:59Z inclusive.
      optional int64 seconds = 1;
    
      // Non-negative fractions of a second at nanosecond resolution. Negative
      // second values with fractions must still have non-negative nanos values
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  6. internal/config/identity/plugin/config.go

    		avg = l.rttMsSum / float64(l.successRequestCount)
    	}
    	now := time.Now().UTC()
    	return Metrics{
    		LastReachableSecs:   now.Sub(o.serviceMetrics.LastCheckSuccess).Seconds(),
    		LastUnreachableSecs: now.Sub(o.serviceMetrics.LastCheckFailure).Seconds(),
    		TotalRequests:       l.failedRequestCount + l.successRequestCount,
    		FailedRequests:      l.failedRequestCount,
    		AvgSuccRTTMs:        avg,
    		MaxSuccRTTMs:        l.maxRttMs,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  7. common-protos/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

      // +optional
      optional string restartPolicy = 3;
    
      // Optional duration in seconds the carp needs to terminate gracefully. May be decreased in delete request.
      // Value must be non-negative integer. The value zero indicates delete immediately.
      // If this value is nil, the default grace period will be used instead.
      // The grace period is the duration in seconds after the processes running in the carp are sent
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. cmd/jwt.go

    			owner = globalActiveCred.AccessKey == ucred.ParentUser
    		}
    
    		groups = ucred.Groups
    	}
    
    	return claims, groups, owner, nil
    }
    
    // newCachedAuthToken returns a token that is cached up to 15 seconds.
    // If globalActiveCred is updated it is reflected at once.
    func newCachedAuthToken() func(audience string) string {
    	fn := func(accessKey, secretKey, audience string) (s string, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. internal/grid/grid.go

    	biggerBufMax = maxBufferSize
    
    	// If there is a queue, merge up to this many messages.
    	maxMergeMessages = 30
    
    	// clientPingInterval will ping the remote handler every 15 seconds.
    	// Clients disconnect when we exceed 2 intervals.
    	clientPingInterval = 15 * time.Second
    
    	// Deadline for single (non-streaming) requests to complete.
    	// Used if no deadline is provided on context.
    	defaultSingleRequestTimeout = time.Minute
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 15:56:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  10. internal/event/target/elasticsearch.go

    	}
    
    	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    	defer cancel()
    
    	err := target.checkAndInitClient(ctx)
    	if err != nil {
    		return err
    	}
    
    	err = target.send(eventData)
    	if xnet.IsNetworkOrHostDown(err, false) {
    		return store.ErrNotConnected
    	}
    	return err
    }
    
    // send - sends the event to the target.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top