Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Day (0.15 sec)

  1. cmd/tier-last-day-stats.go

    		merged.UpdatedAt = cm.UpdatedAt
    	}
    
    	for i := range cl.Bins {
    		merged.Bins[i] = cl.Bins[i].add(cm.Bins[i])
    	}
    
    	return merged
    }
    
    // DailyAllTierStats is used to aggregate last day tier stats across MinIO servers
    type DailyAllTierStats map[string]lastDayTierStats
    
    func (l DailyAllTierStats) merge(m DailyAllTierStats) {
    	for tier, st := range m {
    		l[tier] = l[tier].merge(st)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/tier-last-day-stats_gen.go

    Krishnan Parthasarathi <******@****.***> 1711041695 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. 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)
  4. src/archive/zip/struct.go

    // The resolution is 2s.
    // See: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-dosdatetimetofiletime
    func msDosTimeToTime(dosDate, dosTime uint16) time.Time {
    	return time.Date(
    		// date bits 0-4: day of month; 5-8: month; 9-15: years since 1980
    		int(dosDate>>9+1980),
    		time.Month(dosDate>>5&0xf),
    		int(dosDate&0x1f),
    
    		// time bits 0-4: second/2; 5-10: minute; 11-15: hour
    		int(dosTime>>11),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  5. cmd/update-notifier_test.go

    		{61 * time.Minute, "my_download_url", "1 hour before the latest release"},
    		{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)
  6. 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)
  7. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foodir/fooobject",
    			objectModTime:  time.Now().UTC().Add(-24 * time.Hour), // Created 1 day ago
    			expectedAction: NoneAction,
    		},
    		// Should remove (test Days)
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  8. internal/s3select/sql/parser_test.go

    		"cast(s as string)",
    		"cast(s AS INT)",
    		"cast(s as DECIMAL)",
    		"extract(YEAR from '2018-01-09')",
    		"extract(month from '2018-01-09')",
    
    		"extract(hour from '2018-01-09')",
    		"extract(day from '2018-01-09')",
    		"substring('abcd' from 2 for 2)",
    		"substring('abcd' from 2)",
    		"substring('abcd' , 2 , 2)",
    
    		"substring('abcd' , 22 )",
    		"trim('  aab  ')",
    		"trim(leading from '  aab  ')",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  9. internal/s3select/sql/parser.go

    	Quantity  *Operand     `parser:" @@ \",\""`
    	Timestamp *PrimaryTerm `parser:" @@ \")\""`
    }
    
    // DateDiffFunc represents the DATE_DIFF function
    type DateDiffFunc struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. 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)
Back to top