Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Ashour (0.51 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foodir/fooobject",
    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)
  2. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          require(dayOfMonth in 1..31)
          require(hour in 0..23)
          require(minute in 0..59)
          require(second in 0..59)
    
          GregorianCalendar(UTC).apply {
            isLenient = false
            set(Calendar.YEAR, year)
            set(Calendar.MONTH, month - 1)
            set(Calendar.DAY_OF_MONTH, dayOfMonth)
            set(Calendar.HOUR_OF_DAY, hour)
            set(Calendar.MINUTE, minute)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. cmd/data-scanner_test.go

    	obj := ObjectInfo{
    		Name:        "foo",
    		ModTime:     time.Now().Add(-31 * 24 * time.Hour),
    		Size:        100 << 20,
    		VersionID:   uuid.New().String(),
    		IsLatest:    true,
    		NumVersions: 4,
    	}
    	delMarker := ObjectInfo{
    		Name:         "foo-deleted",
    		ModTime:      time.Now().Add(-61 * 24 * time.Hour),
    		Size:         0,
    		VersionID:    uuid.New().String(),
    		IsLatest:     true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. cmd/handler-api.go

    	defer t.mu.RUnlock()
    
    	if t.staleUploadsCleanupInterval == 0 {
    		return 6 * time.Hour // default 6 hours
    	}
    
    	return t.staleUploadsCleanupInterval
    }
    
    func (t *apiConfig) getStaleUploadsExpiry() time.Duration {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.staleUploadsExpiry == 0 {
    		return 24 * time.Hour // default 24 hours
    	}
    
    	return t.staleUploadsExpiry
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. internal/config/identity/ldap/config.go

    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v2/ldap"
    )
    
    const (
    	defaultLDAPExpiry = time.Hour * 1
    
    	minLDAPExpiry time.Duration = 15 * time.Minute
    	maxLDAPExpiry time.Duration = 365 * 24 * time.Hour
    )
    
    // Config contains AD/LDAP server connectivity information.
    type Config struct {
    	LDAP ldap.Config
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  6. docs/metrics/prometheus/list.md

    | `minio_cluster_replication_last_hour_failed_bytes`         | (_Site Replication Only_) Total number of bytes failed at least once to replicate in the last full hour. |
    | `minio_cluster_replication_last_hour_failed_count`         | (_Site Replication Only_) Total number of objects which failed replication in the last full hour.        |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  7. internal/bucket/lifecycle/lifecycle.go

    func ExpectedExpiryTime(modTime time.Time, days int) time.Time {
    	if days == 0 {
    		return modTime
    	}
    	t := modTime.UTC().Add(time.Duration(days+1) * 24 * time.Hour)
    	return t.Truncate(24 * time.Hour)
    }
    
    // SetPredictionHeaders sets time to expiry and transition headers on w for a
    // given obj.
    func (lc Lifecycle) SetPredictionHeaders(w http.ResponseWriter, obj ObjectOpts) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. cmd/jwt.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    	// Default JWT token for web handlers is one day.
    	defaultJWTExpiry = 24 * time.Hour
    
    	// Inter-node JWT token expiry is 15 minutes.
    	defaultInterNodeJWTExpiry = 15 * time.Minute
    )
    
    var (
    	errInvalidAccessKeyID = errors.New("The access key ID you provided does not exist in our records")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. internal/rest/client.go

    // https://www.awsarchitectureblog.com/2015/03/backoff.html
    func exponentialBackoffWait(r *rand.Rand, unit, cap time.Duration) func(uint) time.Duration {
    	if unit > time.Hour {
    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(attempt uint) time.Duration {
    		if attempt > 16 {
    			// Protect against integer overflow
    			attempt = 16
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  10. internal/config/heal/heal.go

    		return -1, err
    	}
    
    	if months < minimumBitrotCycleInMonths {
    		return -1, fmt.Errorf("minimum bitrot cycle is %d month(s)", minimumBitrotCycleInMonths)
    	}
    
    	return time.Duration(months) * 30 * 24 * time.Hour, nil
    }
    
    // LookupConfig - lookup config and override with valid environment settings if any.
    func LookupConfig(kvs config.KVS) (cfg Config, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top