Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for minusta (0.15 sec)

  1. cmd/metacache_test.go

    		fileNotFound: false,
    		error:        "an error lol",
    		started:      metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		ended:        metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		lastUpdate:   metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		lastHandout:  metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		dataVersion:  metacacheStreamVersion,
    	},
    	4: {
    		id:           "case-5-noupdate",
    		bucket:       "bucket",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  2. cmd/dynamic-timeouts_test.go

    		if duration < 100*time.Millisecond {
    			duration = 100 * time.Millisecond
    		}
    		if duration >= time.Minute {
    			timeout.LogFailure()
    		} else {
    			timeout.LogSuccess(duration)
    		}
    	}
    }
    
    func TestDynamicTimeoutAdjustExponential(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	rand.Seed(0)
    
    	initial := timeout.Timeout()
    
    	for try := 0; try < 10; try++ {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  3. internal/s3select/sql/timestampfuncs.go

    	timePartYear           = "YEAR"
    	timePartMonth          = "MONTH"
    	timePartDay            = "DAY"
    	timePartHour           = "HOUR"
    	timePartMinute         = "MINUTE"
    	timePartSecond         = "SECOND"
    	timePartTimezoneHour   = "TIMEZONE_HOUR"
    	timePartTimezoneMinute = "TIMEZONE_MINUTE"
    )
    
    func extract(what string, t time.Time) (v *Value, err error) {
    	switch what {
    	case timePartYear:
    		return FromInt(int64(t.Year())), nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  4. internal/config/identity/openid/jwt_test.go

    		{int(1574812326), "900", false},
    		{uint(1574812326), "900", false},
    		{uint64(1574812326), "900", false},
    		{json.Number("1574812326"), "900", false},
    		{1574812326.000, "900", false},
    		{time.Duration(3) * time.Minute, "900", false},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			claims := map[string]interface{}{}
    			claims["exp"] = testCase.exp
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  5. internal/dsync/dsync_test.go

    	}
    
    	dm := NewDRWMutex(ds, "aap")
    	dm.refreshInterval = testDrwMutexRefreshInterval
    
    	ctx, cancel := context.WithCancel(context.Background())
    
    	if !dm.GetLock(ctx, cancel, id, source, Options{Timeout: 5 * time.Minute}) {
    		t.Fatal("GetLock() should be successful")
    	}
    
    	// Make it run twice.
    	timer := time.NewTimer(testDrwMutexRefreshInterval * 2)
    
    	select {
    	case <-ctx.Done():
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  6. src/archive/zip/struct.go

    func timeZone(offset time.Duration) *time.Location {
    	const (
    		minOffset   = -12 * time.Hour  // E.g., Baker island at -12:00
    		maxOffset   = +14 * time.Hour  // E.g., Line island at +14:00
    		offsetAlias = 15 * time.Minute // E.g., Nepal at +5:45
    	)
    	offset = offset.Round(offsetAlias)
    	if offset < minOffset || maxOffset < offset {
    		offset = 0
    	}
    	return time.FixedZone("", int(offset/time.Second))
    }
    
    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)
  7. docs/debugging/pprofgoparser/main.go

    			}
    		case record:
    			save(line)
    		default:
    			z := goroutinesRE.FindStringSubmatch(line)
    			if len(z) == 3 {
    				if z[2] != "" {
    					a, _ := strconv.Atoi(z[2])
    					t = time.Duration(a) * time.Minute
    					save(line)
    					record = true
    				} else {
    					skip = true
    				}
    			}
    		}
    	}
    
    	return ret, nil
    }
    
    const helpUsage = `
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. internal/config/identity/tls/config.go

    	// debugging or testing purposes.
    	InsecureSkipVerify bool `json:"skip_verify"`
    }
    
    const (
    	defaultExpiry time.Duration = 1 * time.Hour
    	minExpiry     time.Duration = 15 * time.Minute
    	maxExpiry     time.Duration = 365 * 24 * time.Hour
    )
    
    // GetExpiryDuration - return parsed expiry duration.
    func (l Config) GetExpiryDuration(dsecs string) (time.Duration, error) {
    	if dsecs == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  9. cmd/metrics-resource.go

    	"math"
    	"net/http"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/prometheus/client_golang/prometheus"
    )
    
    const (
    	resourceMetricsCollectionInterval = time.Minute
    	resourceMetricsCacheInterval      = time.Minute
    
    	// drive stats
    	totalInodes    MetricName = "total_inodes"
    	readsPerSec    MetricName = "reads_per_sec"
    	writesPerSec   MetricName = "writes_per_sec"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  10. cmd/admin-heal-ops.go

    	// for this timeout duration, the heal sequence is aborted.
    	healUnconsumedTimeout = 24 * time.Hour
    
    	// time-duration to keep heal sequence state after it
    	// completes.
    	keepHealSeqStateDuration = time.Minute * 10
    
    	// nopHeal is a no operating healing action to
    	// wait for the current healing operation to finish
    	nopHeal = ""
    )
    
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
Back to top