Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 80 for sub (0.12 sec)

  1. cmd/rebalance-admin.go

    		if !ps.Info.EndTime.IsZero() {
    			stopTime = ps.Info.EndTime
    		}
    
    		if !stopTime.IsZero() { // rebalance is stopped or completed
    			elapsed = stopTime.Sub(ps.Info.StartTime)
    			eta = 0
    		}
    
    		r.Pools[i].Progress = rebalPoolProgress{
    			NumObjects:  ps.NumObjects,
    			NumVersions: ps.NumVersions,
    			Bytes:       ps.Bytes,
    			Elapsed:     elapsed,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    	bucketCollector = newMinioBucketCollector(bucketMetricsGroups)
    }
    
    // MetricNamespace is top level grouping of metrics to create the metric name.
    type MetricNamespace string
    
    // MetricSubsystem is the sub grouping for metrics within a namespace.
    type MetricSubsystem string
    
    const (
    	bucketMetricNamespace    MetricNamespace = "minio_bucket"
    	clusterMetricNamespace   MetricNamespace = "minio_cluster"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    	if accessKey == "" || !cred.IsTemp() || cred.IsExpired() || cred.ParentUser == "" {
    		return time.Time{}, errInvalidArgument
    	}
    
    	ttl := int64(cred.Expiration.Sub(UTCNow()).Seconds())
    
    	cache := store.lock()
    	defer store.unlock()
    
    	if policyName != "" {
    		mp := newMappedPolicy(policyName)
    		_, combinedPolicyStmt := filterPolicies(cache, mp.Policies, "")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. src/archive/tar/strconv.go

    	const maxNanoSecondDigits = 9
    
    	// Split string into seconds and sub-seconds parts.
    	ss, sn, _ := strings.Cut(s, ".")
    
    	// Parse the seconds.
    	secs, err := strconv.ParseInt(ss, 10, 64)
    	if err != nil {
    		return time.Time{}, ErrHeader
    	}
    	if len(sn) == 0 {
    		return time.Unix(secs, 0), nil // No sub-second values
    	}
    
    	// Parse the nanoseconds.
    	if strings.Trim(sn, "0123456789") != "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  5. internal/logger/audit.go

    		if ok {
    			statusCode = tc.ResponseRecorder.StatusCode
    			outputBytes = int64(tc.ResponseRecorder.Size())
    			headerBytes = int64(tc.ResponseRecorder.HeaderSize())
    			timeToResponse = time.Now().UTC().Sub(tc.ResponseRecorder.StartTime)
    			timeToFirstByte = tc.ResponseRecorder.TimeToFirstByte
    		}
    
    		entry.AccessKey = reqInfo.Cred.AccessKey
    		entry.ParentUser = reqInfo.Cred.ParentUser
    
    		entry.API.Name = reqInfo.API
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. internal/bucket/object/lock/lock.go

    			// upon NTP failure.
    			return r
    		}
    
    		if config.Rule.DefaultRetention.Days != nil {
    			r.Validity = t.AddDate(0, 0, int(*config.Rule.DefaultRetention.Days)).Sub(t)
    		} else {
    			r.Validity = t.AddDate(int(*config.Rule.DefaultRetention.Years), 0, 0).Sub(t)
    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    const maxObjectLockConfigSize = 1 << 12
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. internal/config/scanner/scanner.go

    	// Sleep always or based on incoming S3 requests.
    	IdleMode int32 // 0 => on, 1 => off
    
    	// Alert upon this many excess object versions
    	ExcessVersions int64 // 100
    
    	// Alert upon this many excess sub-folders per folder in an erasure set.
    	ExcessFolders int64 // 50000
    
    	// MaxWait is maximum wait time between operations
    	MaxWait time.Duration
    	// Cycle is the time.Duration between each scanner cycles
    	Cycle time.Duration
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. cmd/sts-handlers.go

    	if v, ok := claims[subClaim]; ok {
    		subFromToken, _ = v.(string)
    	}
    
    	if subFromToken == "" {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue,
    			errors.New("STS JWT Token has `sub` claim missing, `sub` claim is mandatory"))
    		return
    	}
    
    	var issFromToken string
    	if v, ok := claims[issClaim]; ok {
    		issFromToken, _ = v.(string)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  9. internal/http/response-recorder.go

    		lrw.WriteHeader(http.StatusOK)
    	}
    	n, err := lrw.ResponseWriter.Write(p)
    	lrw.bytesWritten += n
    	if lrw.TimeToFirstByte == 0 {
    		lrw.TimeToFirstByte = time.Now().UTC().Sub(lrw.StartTime)
    	}
    	gzipped := lrw.Header().Get("Content-Encoding") == "gzip"
    	if !gzipped && ((lrw.LogErrBody && lrw.StatusCode >= http.StatusBadRequest) || lrw.LogAllBody) {
    		// Always logging error responses.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 00:13:19 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    func TestMigrateIndexesWithDynamicTableName(t *testing.T) {
    	// Create primary table
    	if err := DB.AutoMigrate(&DynamicUser{}); err != nil {
    		t.Fatalf("AutoMigrate create table error: %#v", err)
    	}
    
    	// Create sub tables
    	for _, v := range []string{"01", "02", "03"} {
    		tableName := "dynamic_users_" + v
    		m := DB.Scopes(func(db *gorm.DB) *gorm.DB {
    			return db.Table(tableName)
    		}).Migrator()
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top