Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 360 for kduration (0.08 sec)

  1. cmd/bucket-object-lock.go

    			// be changed, and its retention period can't be shortened. Compliance mode
    			// ensures that an object version can't be overwritten or deleted for the
    			// duration of the retention period.
    			t, err := objectlock.UTCNowNTP()
    			if err != nil {
    				internalLogIf(ctx, err, logger.WarningKind)
    				return ObjectLocked{}
    			}
    
    			if !ret.RetainUntilDate.Before(t) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common.go

    	}
    
    	// Return the collected common max time, with maxima
    	return latest, maxima
    }
    
    // commonTime returns a maximally occurring time from a list of time.
    func commonTimeAndOccurrence(times []time.Time, group time.Duration) (maxTime time.Time, maxima int) {
    	timeOccurrenceMap := make(map[int64]int, len(times))
    	groupNano := group.Nanoseconds()
    	// Ignore the uuid sentinel and count the rest.
    	for _, t := range times {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils.go

    //go:generate msgp -file=$GOFILE
    
    // replicatedTargetInfo struct represents replication info on a target
    type replicatedTargetInfo struct {
    	Arn                   string
    	Size                  int64
    	Duration              time.Duration
    	ReplicationAction     replicationAction // full or metadata only
    	OpType                replication.Type  // whether incoming replication, existing object, healing etc..
    	ReplicationStatus     replication.StatusType
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. cmd/signature-v4-parser_test.go

    		}
    	}
    }
    
    // TestParsePreSignV4 - Validates the parsing logic of Presignied v4 request from its url query values.
    func TestParsePreSignV4(t *testing.T) {
    	// converts the duration in seconds into string format.
    	getDurationStr := strconv.Itoa
    
    	// used in expected preSignValues, preSignValues.Date is of type time.Time .
    	queryTime := UTCNow()
    
    	sampleTimeStr := UTCNow().Format(yyyymmdd)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. cmd/data-usage-cache.go

    func (d *dataUsageCache) load(ctx context.Context, store objectIO, name string) error {
    	// By default, empty data usage cache
    	*d = dataUsageCache{}
    
    	load := func(name string, timeout time.Duration) (bool, error) {
    		// Abandon if more than time.Minute, so we don't hold up scanner.
    		// drive timeout by default is 2 minutes, we do not need to wait longer.
    		ctx, cancel := context.WithTimeout(ctx, timeout)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  6. cmd/storage-rest_test.go

    		t.Fatal(err)
    	}
    
    	for {
    		_, err := restClient.DiskInfo(context.Background(), DiskInfoOptions{})
    		if err == nil || errors.Is(err, errUnformattedDisk) {
    			break
    		}
    		time.Sleep(time.Duration(rand.Float64() * float64(100*time.Millisecond)))
    	}
    
    	return restClient
    }
    
    func TestStorageRESTClientDiskInfo(t *testing.T) {
    	restClient := newStorageRESTHTTPServerClient(t)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. cmd/ftp-server-driver.go

    	var errStr string
    	if err != nil {
    		errStr = err.Error()
    	}
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceFTP,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  s.Cmd,
    		Duration:  time.Since(startTime),
    		Path:      objPath,
    		Error:     errStr,
    		Bytes:     sz,
    		Custom: map[string]string{
    			"user":   s.Sess.LoginUser(),
    			"cmd":    s.Cmd,
    			"param":  s.Param,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/EventListenerTest.kt

    import java.io.InterruptedIOException
    import java.net.HttpURLConnection
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.UnknownHostException
    import java.time.Duration
    import java.util.Arrays
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  9. docs/bucket/notifications/README.md

    password             (string)    MQTT password
    qos                  (number)    set the quality of service priority, defaults to '0'
    keep_alive_interval  (duration)  keep-alive interval for MQTT connections in s,m,h,d
    reconnect_interval   (duration)  reconnect interval for MQTT connections in s,m,h,d
    queue_dir            (path)      staging dir for undelivered messages e.g. '/home/events'
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  10. cmd/namespace-lock.go

    	lockMap       map[string]*nsLock
    	lockMapMutex  sync.Mutex
    }
    
    // Lock the namespace resource.
    func (n *nsLockMap) lock(ctx context.Context, volume string, path string, lockSource, opsID string, readLock bool, timeout time.Duration) (locked bool) {
    	resource := pathJoin(volume, path)
    
    	n.lockMapMutex.Lock()
    	nsLk, found := n.lockMap[resource]
    	if !found {
    		nsLk = &nsLock{
    			LRWMutex: lsync.NewLRWMutex(),
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top