Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for input (0.13 sec)

  1. internal/logger/console.go

    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    // Fatal prints only fatal error message with no stack trace
    // it will be called for input validation failures
    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    func fatal(err error, msg string, data ...interface{}) {
    	var errMsg string
    	if msg != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/iam.go

    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    
    	return nil
    }
    
    // CurrentPolicies - returns comma separated policy string, from
    // an input policy after validating if there are any current
    // policies which exist on MinIO corresponding to the input.
    func (sys *IAMSys) CurrentPolicies(policyName string) string {
    	if !sys.Initialized() {
    		return ""
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. cmd/erasure-object.go

    	// For negative length read everything.
    	if length < 0 {
    		length = fi.Size - startOffset
    	}
    
    	// Reply back invalid range if the input offset and length fall out of range.
    	if startOffset > fi.Size || startOffset+length > fi.Size {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	// Get start part index and offset.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/object-api-errors.go

    	Object    string
    	VersionID string
    	Err       error
    }
    
    // Unwrap the error to its underlying error.
    func (e GenericError) Unwrap() error {
    	return e.Err
    }
    
    // InvalidArgument incorrect input argument
    type InvalidArgument GenericError
    
    func (e InvalidArgument) Error() string {
    	if e.Err != nil {
    		return "Invalid arguments provided for " + e.Bucket + "/" + e.Object + ": (" + e.Err.Error() + ")"
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. internal/grid/handlers.go

    							if !ok {
    								return
    							}
    							input := h.NewRequest()
    							_, err := input.UnmarshalMsg(v)
    							if err != nil {
    								gridLogOnceIf(ctx, err, err.Error())
    							}
    							PutByteBuffer(v)
    							// Send input
    							select {
    							case <-ctx.Done():
    								return
    							case inT <- input:
    							}
    						}
    					}
    				}()
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    // PutObject - writes an object to least used erasure pool.
    func (z *erasureServerPools) PutObject(ctx context.Context, bucket string, object string, data *PutObjReader, opts ObjectOptions) (ObjectInfo, error) {
    	// Validate put object input args.
    	if err := checkPutObjectArgs(ctx, bucket, object); err != nil {
    		return ObjectInfo{}, err
    	}
    
    	object = encodeDirObject(object)
    	if z.SinglePool() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. cmd/endpoint-ellipses.go

    			d := divisibleSize / cnt
    			if d <= prevD {
    				prevD = d
    				setSize = cnt
    			}
    		}
    	}
    	return setSize
    }
    
    // possibleSetCountsWithSymmetry returns symmetrical setCounts based on the
    // input argument patterns, the symmetry calculation is to ensure that
    // we also use uniform number of drives common across all ellipses patterns.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  8. cmd/format-erasure.go

    type formatErasureV1 struct {
    	formatMetaV1
    	Erasure struct {
    		Version string `json:"version"` // Version of 'xl' format.
    		Disk    string `json:"drive"`   // Disk field carries assigned disk uuid.
    		// JBOD field carries the input disk order generated the first
    		// time when fresh disks were supplied.
    		JBOD []string `json:"jbod"`
    	} `json:"xl"` // Erasure field holds xl format.
    }
    
    // Represents the V2 backend disk structure version
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    }
    
    const (
    	compressionAlgorithmV1 = "golang/snappy/LZ77"
    	compressionAlgorithmV2 = "klauspost/compress/s2"
    
    	// When an upload exceeds encryptBufferThreshold ...
    	encryptBufferThreshold = 1 << 20
    	// add an input buffer of this size.
    	encryptBufferSize = 1 << 20
    
    	// minCompressibleSize is the minimum size at which we enable compression.
    	minCompressibleSize = 4096
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    		// Copy to new array.
    		workers = append(workers, *v...)
    	}
    
    	if n == len(workers) || n < 1 {
    		return
    	}
    
    	for len(workers) < n {
    		input := make(chan expiryOp, 10000)
    		workers = append(workers, input)
    		go es.Worker(input)
    		es.stats.workers.Add(1)
    	}
    
    	for len(workers) > n {
    		worker := workers[len(workers)-1]
    		workers = workers[:len(workers)-1]
    		worker <- expiryOp(nil)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top