Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for 60 (0.16 sec)

  1. cmd/last-minute_gen.go

    				var zb0003 uint32
    				zb0003, err = dc.ReadArrayHeader()
    				if err != nil {
    					err = msgp.WrapError(err, za0001, "Totals")
    					return
    				}
    				if zb0003 != uint32(60) {
    					err = msgp.ArrayError{Wanted: uint32(60), Got: zb0003}
    					return
    				}
    				for za0002 := range z[za0001].Totals {
    					var zb0004 uint32
    					zb0004, err = dc.ReadMapHeader()
    					if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 17.2K bytes
    - Viewed (0)
  2. cmd/last-minute.go

    func (l *lastMinuteLatency) forwardTo(t int64) {
    	if l.LastSec >= t {
    		return
    	}
    	if t-l.LastSec >= 60 {
    		l.Totals = [60]AccElem{}
    		return
    	}
    	for l.LastSec != t {
    		// Clear next element.
    		idx := (l.LastSec + 1) % 60
    		l.Totals[idx] = AccElem{}
    		l.LastSec++
    	}
    }
    
    // LastMinuteHistogram keeps track of last minute sizes added.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. cmd/bucket-stats.go

    // forwardTo time t, clearing any entries in between.
    func (l *ReplicationLastHour) forwardTo(t int64) {
    	tMin := t / 60
    	if l.LastMin >= tMin {
    		return
    	}
    	if t-l.LastMin >= 60 {
    		l.Totals = [60]AccElem{}
    		return
    	}
    	for l.LastMin != t {
    		// Clear next element.
    		idx := (l.LastMin + 1) % 60
    		l.Totals[idx] = AccElem{}
    		l.LastMin++
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  4. cmd/decommetric_string.go

    	_ = x[decomMetricDecommissionRemoveObject-2]
    }
    
    const _decomMetric_name = "DecommissionBucketDecommissionObjectDecommissionRemoveObject"
    
    var _decomMetric_index = [...]uint8{0, 18, 36, 60}
    
    func (i decomMetric) String() string {
    	if i >= decomMetric(len(_decomMetric_index)-1) {
    		return "decomMetric(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 10 19:46:45 GMT 2022
    - 830 bytes
    - Viewed (0)
  5. cmd/metacache-entries_test.go

    					ModTime:   baseTime.Add(60 * time.Minute).UnixNano(),
    					Signature: [4]byte{2, 1, 1, 1},
    					Type:      ObjectType,
    					Flags:     0,
    				}},
    				{header: xlMetaV2VersionHeader{
    					VersionID: [16]byte{3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    					ModTime:   baseTime.Add(60 * time.Minute).UnixNano(),
    					Signature: [4]byte{1, 1, 1, 1},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  6. internal/event/target/redis.go

    		if err := queueStore.Open(); err != nil {
    			return nil, fmt.Errorf("unable to initialize the queue store of Redis `%s`: %w", id, err)
    		}
    	}
    
    	pool := &redis.Pool{
    		MaxIdle:     3,
    		IdleTimeout: 2 * 60 * time.Second,
    		Dial: func() (redis.Conn, error) {
    			conn, err := redis.Dial("tcp", args.Addr.String())
    			if err != nil {
    				return nil, err
    			}
    
    			if args.Password != "" {
    				if args.User != "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. internal/http/dial_linux.go

    			//    https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/
    			// This is a sensitive configuration, it is better to set it to high values, > 60 secs since it can
    			// affect clients reading data with a very slow pace  (disappropriate with socket buffer sizes)
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_USER_TIMEOUT, opts.UserTimeout)
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jun 07 16:53:05 GMT 2023
    - 4.4K bytes
    - Viewed (3)
  8. cmd/signature-v4_test.go

    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":     signV4Algorithm,
    				"X-Amz-Date":          now.Format(iso8601Format),
    				"X-Amz-Expires":       "60",
    				"X-Amz-Signature":     "badsignature",
    				"X-Amz-SignedHeaders": "host;x-amz-content-sha256;x-amz-date",
    				"X-Amz-Credential":    fmt.Sprintf(credentialTemplate, "Z7IXGOO6BZ0REAN1Q26I", now.Format(yyyymmdd), "us-west-1"),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  9. cmd/apierrorcode_string.go

    	_ = x[ErrReplicationNeedsVersioningError-56]
    	_ = x[ErrReplicationBucketNeedsVersioningError-57]
    	_ = x[ErrReplicationDenyEditError-58]
    	_ = x[ErrRemoteTargetDenyAddError-59]
    	_ = x[ErrReplicationNoExistingObjects-60]
    	_ = x[ErrReplicationValidationError-61]
    	_ = x[ErrReplicationPermissionCheckError-62]
    	_ = x[ErrObjectRestoreAlreadyInProgress-63]
    	_ = x[ErrNoSuchKey-64]
    	_ = x[ErrNoSuchUpload-65]
    	_ = x[ErrInvalidVersionID-66]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

                                    <Days>30</Days>
                                  </Transition>
                                  <Expiration>
                                    <Days>60</Days>
                                  </Expiration>
                                </Rule>
                           </LifecycleConfiguration>`,
    			objectName:     "obj-1",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top