Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for Clement (0.16 sec)

  1. docs/multi-user/README.md

    mc cat myminio-newuser/my-bucketname/my-objectname
    ```
    
    ### Policy Variables
    
    You can use policy variables in the *Resource* element and in string comparisons in the *Condition* element.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    	}
    
    	var off, length int64
    	off, length, err = rs.GetOffsetLength(decObjSize)
    	if err != nil {
    		return
    	}
    
    	// At this point, we have:
    	//
    	// 1. the decrypted part sizes in `sizes` (single element for
    	//    single part object) and total decrypted object size `decObjSize`
    	//
    	// 2. the (decrypted) start offset `off` and (decrypted)
    	//    length to read `length`
    	//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/transition.go

    	err := d.DecodeElement(&trw, &startElement)
    	if err != nil {
    		return err
    	}
    	*t = Transition(trw)
    	t.set = true
    	return nil
    }
    
    // Validate - validates the "Transition" element
    func (t Transition) Validate() error {
    	if !t.set {
    		return nil
    	}
    
    	if !t.IsDateNull() && t.Days > 0 {
    		return errTransitionInvalid
    	}
    
    	if t.StorageClass == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  4. cmd/metrics-realtime.go

    		}
    		cm, err := c.Times(false)
    		if err != nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuTimes)", byHostName, err.Error()))
    		} else {
    			// not collecting per-cpu stats, so there will be only one element
    			if len(cm) == 1 {
    				m.Aggregated.CPU.TimesStat = &cm[0]
    			} else {
    				m.Errors = append(m.Errors, fmt.Sprintf("%s: Expected one CPU stat, got %d", byHostName, len(cm)))
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/filter.go

    			}
    		}
    	}
    	return nil
    }
    
    // IsEmpty returns true if Filter is not specified in the XML
    func (f Filter) IsEmpty() bool {
    	return !f.set
    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	if f.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	// A Filter must have exactly one of Prefix, Tag,
    	// ObjectSize{LessThan,GreaterThan} or And specified.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. internal/config/cache/remote.go

    	Key        string    `json:"key"`
    	Bucket     string    `json:"bucket"`
    	ETag       string    `json:"etag"`
    	ModTime    time.Time `json:"modTime"`
    	StatusCode int       `json:"statusCode"`
    
    	// Optional elements
    	CacheControl string            `json:"cacheControl,omitempty" msg:",omitempty"`
    	Expires      string            `json:"expires,omitempty" msg:",omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. cmd/erasure-healing-common_test.go

    			// 1. Tests common times when slice has varying time elements.
    			[]time.Time{
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 1).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			3,
    		},
    		{
    			// 2. Tests common time obtained when all elements are equal.
    			[]time.Time{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  8. internal/config/storageclass/storage-class.go

    // Currently only supported scheme is "EC".
    func parseStorageClass(storageClassEnv string) (sc StorageClass, err error) {
    	s := strings.Split(storageClassEnv, ":")
    
    	// only two elements allowed in the string - "scheme" and "number of parity drives"
    	if len(s) > 2 {
    		return StorageClass{}, config.ErrStorageClassValue(nil).Msg("Too many sections in " + storageClassEnv)
    	} else if len(s) < 2 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  9. cmd/metacache-entries.go

    		}
    	}
    	m.o = dst
    }
    
    // filterRecursiveEntries will keep entries only with the prefix that doesn't contain separator.
    // This can be used to remove recursive listings.
    // To return root elements only set prefix to an empty string.
    // Order is preserved, but the underlying slice is modified.
    func (m *metaCacheEntriesSorted) filterRecursiveEntries(prefix, separator string) {
    	dst := m.o[:0]
    	if prefix != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. internal/s3select/sql/evaluate.go

    }
    
    func (e *ListExpr) evalNode(r Record, tableAlias string) (*Value, error) {
    	res := make([]Value, len(e.Elements))
    	if len(e.Elements) == 1 {
    		// If length 1, treat as single value.
    		return e.Elements[0].evalNode(r, tableAlias)
    	}
    	for i, elt := range e.Elements {
    		v, err := elt.evalNode(r, tableAlias)
    		if err != nil {
    			return nil, err
    		}
    		res[i] = *v
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
Back to top