Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for Clement (0.14 sec)

  1. cmd/object-api-utils.go

    		case path[r] == '/':
    			// multiple / elements
    			return true
    		case path[r] == '.' && (r+1 == n || path[r+1] == '/'):
    			// . element - assume it has to be cleaned.
    			return true
    		case path[r] == '.' && path[r+1] == '.' && (r+2 == n || path[r+2] == '/'):
    			// .. element: remove to last / - assume it has to be cleaned.
    			return true
    		default:
    			// real path element.
    			// add slash if needed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  2. internal/bucket/lifecycle/delmarker-expiration.go

    	Days    int      `xml:"Days,omitempty"`
    }
    
    // Empty returns if a DelMarkerExpiration XML element is empty.
    // Used to detect if lifecycle.Rule contained a DelMarkerExpiration element.
    func (de DelMarkerExpiration) Empty() bool {
    	return de.Days == 0
    }
    
    // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value
    func (de *DelMarkerExpiration) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes.go

    	// is ignored.
    	UploadIDMarker string
    
    	// When a list is truncated, this element specifies the value that should be
    	// used for the key-marker request parameter in a subsequent request.
    	NextKeyMarker string
    
    	// When a list is truncated, this element specifies the value that should be
    	// used for the upload-id-marker request parameter in a subsequent request.
    	NextUploadIDMarker string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K 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. istioctl/pkg/multixds/gather.go

    				break
    			}
    		}
    	} else {
    		// If there is a specific pod name in ResourceName, use the agent in the pod.
    		if len(dr.ResourceNames) != 1 {
    			return nil, fmt.Errorf("`ResourceNames` must have one element when `all` flag is turned on")
    		}
    		slice := strings.SplitN(dr.ResourceNames[0], ".", 2)
    		if len(slice) != 2 {
    			return nil, fmt.Errorf("invalid resource name format: %v", slice)
    		}
    		podName := slice[0]
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top