Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 98 for Tate (0.16 sec)

  1. cmd/bucket-lifecycle_test.go

    		expectedErr    error
    	}{
    		{
    			// valid: represents a restored object, 'pending' expiry.
    			restoreHdr: `ongoing-request="false", expiry-date="Fri, 21 Dec 2012 00:00:00 GMT"`,
    			expectedStatus: restoreObjStatus{
    				ongoing: false,
    				expiry:  time.Date(2012, 12, 21, 0, 0, 0, 0, time.UTC),
    			},
    			expectedErr: nil,
    		},
    		{
    			// valid: represents an ongoing restore object request.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  2. cmd/update_test.go

    	utcLoc, _ := time.LoadLocation("")
    	testCases := []struct {
    		t      time.Time
    		tag    string
    		errStr string
    	}{
    		{
    			time.Date(2017, time.September, 29, 19, 16, 56, 0, utcLoc),
    			"RELEASE.2017-09-29T19-16-56Z", "",
    		},
    		{
    			time.Date(2017, time.August, 5, 0, 0, 53, 0, utcLoc),
    			"RELEASE.2017-08-05T00-00-53Z", "",
    		},
    		{
    			time.Now().UTC(), "2017-09-29T19:16:56Z",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. internal/s3select/select_test.go

    		{
    			name:       "date_diff_year",
    			query:      `SELECT date_diff(year, '2010-01-01T', '2011-01-01T') FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":1}`,
    		},
    		{
    			name:       "date_diff_year",
    			query:      `SELECT date_diff(month, '2010-01-01T', '2010-05T') FROM S3Object LIMIT 1`,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  4. cmd/site-replication-metrics.go

    	ReplicatedCount int64 `json:"replicationCount"`
    	// Replication latency information
    	Latency ReplicationLatency `json:"replicationLatency"`
    	// transfer rate for large uploads
    	XferRateLrg *XferStats `json:"largeTransferRate" msg:"lt"`
    	// transfer rate for small uploads
    	XferRateSml *XferStats `json:"smallTransferRate" msg:"st"`
    	// Endpoint is the replication target endpoint
    	Endpoint string `json:"-"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. cmd/api-datatypes.go

    	ReplicationState ReplicationState `xml:"-"`
    }
    
    // DeleteMarkerMTime is an embedded type containing time.Time for XML marshal
    type DeleteMarkerMTime struct {
    	time.Time
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if t.Time.IsZero() {
    		return nil
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 03 09:28:52 GMT 2022
    - 3K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/noncurrentversion.go

    	if !n.set {
    		return nil
    	}
    	if n.StorageClass == "" {
    		return errXMLNotWellFormed
    	}
    	return nil
    }
    
    // NextDue returns upcoming NoncurrentVersionTransition date for obj if
    // applicable, returns false otherwise.
    func (n NoncurrentVersionTransition) NextDue(obj ObjectOpts) (time.Time, bool) {
    	if obj.IsLatest || n.StorageClass == "" {
    		return time.Time{}, false
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 5.3K bytes
    - Viewed (1)
  7. cmd/storage-datatypes.go

    //
    // The above means that any added/deleted fields are incompatible.
    //
    //msgp:tuple VolInfo
    type VolInfo struct {
    	// Name of the volume.
    	Name string
    
    	// Date and time when the volume was created.
    	Created time.Time
    }
    
    // FilesInfo represent a list of files, additionally
    // indicates if the list is last.
    //
    //msgp:tuple FileInfo
    type FilesInfo struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. src/bytes/buffer.go

    	// we allocate buffers rounded up to the closest size class.
    	c := len(b) + n // ensure enough space for n elements
    	if c < 2*cap(b) {
    		// The growth rate has historically always been 2x. In the future,
    		// we could rely purely on append to determine the growth rate.
    		c = 2 * cap(b)
    	}
    	b2 := append([]byte(nil), make([]byte, c)...)
    	copy(b2, b)
    	return b2[:len(b)]
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  9. internal/event/targetlist.go

    		return
    	default:
    		list.eventsSkipped.Add(1)
    		err := fmt.Errorf("concurrent target notifications exceeded %d, configured notification target is too slow to accept events for the incoming request rate", maxConcurrentAsyncSend)
    		for id := range targetIDset {
    			reqInfo := &logger.ReqInfo{}
    			reqInfo.AppendTags("targetID", id.String())
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/expiration_test.go

    		},
    		{ // Expiration with invalid date
    			inputXML: ` <Expiration>
                                        <Date>invalid date</Date>
                                        </Expiration>`,
    			expectedErr: errLifecycleInvalidDate,
    		},
    		{ // Expiration with both number of days nor a date
    			inputXML: `<Expiration>
    		                    <Date>2019-04-20T00:01:00Z</Date>
    		                    </Expiration>`,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top