Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for day0 (0.21 sec)

  1. cmd/update-notifier_test.go

    		{122 * time.Minute, "my_download_url", "2 hours before the latest release"},
    		{24 * time.Hour, "my_download_url", "1 day before the latest release"},
    		{25 * time.Hour, "my_download_url", "1 day before the latest release"},
    		{49 * time.Hour, "my_download_url", "2 days before the latest release"},
    		{7 * 24 * time.Hour, "my_download_url", "1 week before the latest release"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. cmd/bucket-object-lock.go

    		internalLogIf(ctx, err, logger.WarningKind)
    		return ObjectLocked{Bucket: oi.Bucket, Object: oi.Name, VersionID: oi.VersionID}
    	}
    
    	// Pass in relative days from current time, to additionally
    	// to verify "object-lock-remaining-retention-days" policy if any.
    	days := int(math.Ceil(math.Abs(objRetention.RetainUntilDate.Sub(t).Hours()) / 24))
    
    	ret := objectlock.GetObjectRetentionMeta(oi.UserDefined)
    	if ret.Mode.Valid() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle_test.go

    			expectedErr: errInvalidStorageClass,
    		},
    		{
    			// no transition rule
    			xml:         []byte(`<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ID>rule</ID><Prefix /><Status>Enabled</Status><Expiration><Days>1</Days></Expiration></Rule></LifecycleConfiguration>`),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    		return fmt.Errorf("OutputLocation required for SELECT requests")
    	}
    
    	if r.Days != 0 && r.Type == SelectRestoreRequest {
    		return fmt.Errorf("Days cannot be specified with SELECT restore request")
    	}
    	if r.Days == 0 && r.Type != SelectRestoreRequest {
    		return fmt.Errorf("restoration days should be at least 1")
    	}
    	// Check if bucket exists.
    	if !r.OutputLocation.IsEmpty() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-audit.go

    		ilmRuleID                  = "ilm-rule-id"
    		ilmTier                    = "ilm-tier"
    		ilmNewerNoncurrentVersions = "ilm-newer-noncurrent-versions"
    		ilmNoncurrentDays          = "ilm-noncurrent-days"
    	)
    	tags := make(map[string]interface{}, 5)
    	if src > lcEventSrc_None {
    		tags[ilmSrc] = src.String()
    	}
    	tags[ilmAction] = event.Action.String()
    	tags[ilmRuleID] = event.RuleID
    
    	if !event.Due.IsZero() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. cmd/tier-last-day-stats_gen_test.go

    Klaus Post <******@****.***> 1708383286 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. internal/s3select/select_test.go

    			wantResult: `{"_1":-12}`,
    		},
    		{
    			name:       "date_diff_days",
    			query:      `SELECT date_diff(day, '2010-01-01T23:00:00Z', '2010-01-02T01:00:00Z') FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":0}`,
    		},
    		{
    			name:       "date_diff_days_one",
    			query:      `SELECT date_diff(day, '2010-01-01T23:00:00Z', '2010-01-02T23:00:00Z') FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":1}`,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  8. internal/grid/msg.go

    //msgp:tuple message
    type message struct {
    	MuxID      uint64    // Mux to receive message if any.
    	Seq        uint32    // Sequence number.
    	DeadlineMS uint32    // If non-zero, milliseconds until deadline (max 1193h2m47.295s, ~49 days)
    	Handler    HandlerID // ID of handler if invoking a remote handler.
    	Op         Op        // Operation. Other fields change based on this value.
    	Flags      Flags     // Optional flags.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  9. cmd/signature-v4-parser.go

    	if e != nil {
    		return psv, ErrMalformedExpires
    	}
    
    	if preSignV4Values.Expires < 0 {
    		return psv, ErrNegativeExpires
    	}
    
    	// Check if Expiry time is less than 7 days (value in seconds).
    	if preSignV4Values.Expires.Seconds() > 604800 {
    		return psv, ErrMaximumExpires
    	}
    
    	if preSignV4Values.Date.IsZero() || preSignV4Values.Date.Equal(timeSentinel) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    		{testBuckets[3], "A/B", "contentstring", nil},
    		{testBuckets[4], "file1/receipt.json", "content", nil},
    		{testBuckets[4], "file1/guidSplunk-aaaa/file", "content", nil},
    		{testBuckets[5], "dir/day_id=2017-10-10/issue", "content", nil},
    		{testBuckets[5], "dir/day_id=2017-10-11/issue", "content", nil},
    		{testBuckets[5], "foo/201910/1122", "content", nil},
    		{testBuckets[5], "foo/201910/1112", "content", nil},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top