Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for Othman (0.16 sec)

  1. internal/bucket/lifecycle/rule_test.go

    // appropriate errors on validation
    func TestInvalidRules(t *testing.T) {
    	invalidTestCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Rule with ID longer than 255 characters
    			inputXML: ` <Rule>
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Nov 22 21:42:39 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. cmd/batch-expire_test.go

              value: image/* # match objects with 'content-type', all values starting with 'image/'
          size:
            lessThan: "10MiB" # match objects with size less than this value (e.g. 10MiB)
            greaterThan: 1MiB # match objects with size greater than this value (e.g. 1MiB)
          purge:
              # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. cmd/data-usage-cache_test.go

    	}{
    		{
    			sizes: []int64{100, 1000, 72_000, 100_000},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_64_KB_AND_256_KB": 2,
    				"BETWEEN_1024B_AND_1_MB":   2,
    			},
    		},
    		{
    			sizes: []int64{100, 1000, 2000, 100_000, 13 * humanize.MiByte},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_1024_B_AND_64_KB": 1,
    				"BETWEEN_64_KB_AND_256_KB": 1,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. internal/ioutil/hardlimitreader.go

    	"io"
    )
    
    // ErrOverread is returned to the reader when the hard limit of HardLimitReader is exceeded.
    var ErrOverread = errors.New("input provided more bytes than specified")
    
    // HardLimitReader returns a Reader that reads from r
    // but returns an error if the source provides more data than allowed.
    // This means the source *will* be overread unless EOF is returned prior.
    // The underlying implementation is a *HardLimitedReader.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue27340/a.go

    // In separate directory to isolate #pragma GCC diagnostic.
    
    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    // pointer types, because we generate code passing a struct ptr rather
    // than using the typedef. This warning is expected and does not break
    // a normal build.
    // We can only disable -Wincompatible-pointer-types starting with GCC 5.
    
    // #if __GNU_MAJOR__ >= 5
    //
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  6. internal/lock/lock_windows_test.go

    package lock
    
    import (
    	"strings"
    	"testing"
    )
    
    func TestFixLongPath(t *testing.T) {
    	// 248 is long enough to trigger the longer-than-248 checks in
    	// fixLongPath, but short enough not to make a path component
    	// longer than 255, which is illegal on Windows. (which
    	// doesn't really matter anyway, since this is purely a string
    	// function we're testing, and it's not actually being used to
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. cmd/local-locker.go

    }
    
    func (l *localLocker) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	if len(args.Resources) > maxDeleteList {
    		return false, fmt.Errorf("internal error: localLocker.Lock called with more than %d resources", maxDeleteList)
    	}
    
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    
    	if !l.canTakeLock(args.Resources...) {
    		// Not all locks can be taken on resources,
    		// reject it completely.
    		return false, nil
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. cni/pkg/pluginlistener/listener.go

    	"istio.io/istio/pkg/log"
    )
    
    func NewListener(path string) (net.Listener, error) {
    	// Remove unix socket before use.
    	if err := os.Remove(path); err != nil && !os.IsNotExist(err) {
    		// Anything other than "file not found" is an error.
    		return nil, fmt.Errorf("failed to remove unix://%s: %v", path, err)
    	}
    
    	// Attempt to create the folder in case it doesn't exist
    	if err := os.MkdirAll(filepath.Dir(path), 0o750); err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. cmd/object-api-multipart_test.go

    		// MaxUploads is set more than number of meta data entries in the result.
    		// Expecting no `Uploads` metadata.
    		{
    			MaxUploads:  2,
    			Prefix:      "orange",
    			IsTruncated: false,
    		},
    		// listMultipartResults - 14.
    		// `Prefix` is set. It doesn't contain object name as its preifx.
    		// MaxUploads is set more than number of meta data entries in the result.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  10. cmd/admin-handlers-config-kv.go

    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if r.ContentLength > maxEConfigJSONSize || r.ContentLength == -1 {
    		// More than maxConfigSize bytes were available
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigTooLarge), r.URL)
    		return
    	}
    
    	password := cred.SecretKey
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top