Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Othman (0.18 sec)

  1. cmd/batch-handlers.go

    		if r.Flags.Filter.OlderThan > 0 && time.Since(oi.ModTime) < r.Flags.Filter.OlderThan {
    			// skip all objects that are newer than specified older duration
    			return true
    		}
    
    		if r.Flags.Filter.NewerThan > 0 && time.Since(oi.ModTime) >= r.Flags.Filter.NewerThan {
    			// skip all objects that are older than specified newer duration
    			return true
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    					}
    				}
    				// Err unexpected EOF special case, where we verify we have provided a larger
    				// buffer than the data itself, but the results are in-fact valid. So we validate
    				// this error condition specifically treating it as a good condition with valid
    				// results. In this scenario return 'n' is always lesser than the input buffer.
    				if err == io.ErrUnexpectedEOF {
    					if !bytes.Equal(testCase.expectedBuf, buf[:n]) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		maxParts--
    
    		name := part.FormName()
    		if name == "" {
    			continue
    		}
    
    		fileName = part.FileName()
    
    		// Multiple values for the same key (one map entry, longer slice) are cheaper
    		// than the same number of values for different keys (many map entries), but
    		// using a consistent per-value cost for overhead is simpler.
    		maxMemoryBytes := 2 * int64(10<<20)
    		maxMemoryBytes -= int64(len(name))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    			if wantMax > size {
    				wantMax = size
    			}
    			if err := readMore(wantMax); err != nil {
    				return nil, err
    			}
    
    			if int64(len(buf)) < want {
    				return nil, fmt.Errorf("buffer shorter than expected (buflen: %d, want: %d): %w", len(buf), want, errFileCorrupt)
    			}
    
    			tmp = buf[want:]
    			_, after, err := msgp.ReadUint32Bytes(tmp)
    			if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  5. docs/bucket/notifications/README.md

                }
            }
        ]
    }
    ```
    
    ## Publish MinIO events via Webhooks
    
    [Webhooks](https://en.wikipedia.org/wiki/Webhook) are a way to receive information when it happens, rather than continually polling for that data.
    
    ### Step 1: Add Webhook endpoint to MinIO
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  6. cmd/admin-handlers-users.go

    		DenyOnly:        checkDenyOnly,
    	}) {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    		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 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    	},
    	ErrFilterNamePrefix: {
    		Code:           "InvalidArgument",
    		Description:    "Cannot specify more than one prefix rule in a filter.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrFilterNameSuffix: {
    		Code:           "InvalidArgument",
    		Description:    "Cannot specify more than one suffix rule in a filter.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrFilterValueInvalid: {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
  8. cmd/erasure-object.go

    	if !dstOpts.NoAuditLog {
    		auditObjectErasureSet(ctx, dstObject, &er)
    	}
    
    	// This call shouldn't be used for anything other than metadata updates or adding self referential versions.
    	if !srcInfo.metadataOnly {
    		return oi, NotImplemented{}
    	}
    
    	if !dstOpts.NoLock {
    		lk := er.NewNSLock(dstBucket, dstObject)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
  9. cmd/erasure-server-pool.go

    	n := uint64(1024) // single node single/multiple drives set this to 1024 entries
    
    	if globalIsDistErasure {
    		n = 2048
    	}
    
    	// Avoid allocating more than half of the available memory
    	if maxN := availableMemory() / (blockSizeV2 * 2); n > maxN {
    		n = maxN
    	}
    
    	if globalIsCICD || strconv.IntSize == 32 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  10. cmd/iam.go

    	return (isOwnerDerived || combinedPolicy.IsAllowed(parentArgs))
    }
    
    // IsAllowedSTS is meant for STS based temporary credentials,
    // which implements claims validation and verification other than
    // applying policies.
    func (sys *IAMSys) IsAllowedSTS(args policy.Args, parentUser string) bool {
    	// 1. Determine mapped policies
    
    	isOwnerDerived := parentUser == globalActiveCred.AccessKey
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top