Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for Input (0.13 sec)

  1. cmd/object-api-input-checks.go

    Anis Eleuch <******@****.***> 1712232280 +0100
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
    func signV4TrimAll(input string) string {
    	// Compress adjacent spaces (a space is determined by
    	// unicode.IsSpace() internally here) to one space and return
    	return strings.Join(strings.Fields(input), " ")
    }
    
    // checkMetaHeaders will check if the metadata from header/url is the same with the one from signed headers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. 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)
  4. internal/grid/README.md

            fmt.Println("Got result", resp)
            // Return the response for reuse
    		instance.PutResponse(resp)
            return nil
        })
    ```
    
    There are handlers for requests with:
     * No input stream: `RegisterNoInput`.
     * No initial payload: `RegisterNoPayload`.
    
    Note that Responses sent for serialization are automatically reused for similar requests.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. 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)
  6. cmd/xl-storage-meta-inline.go

    		storageLogIf(GlobalContext, err)
    		return buf
    	}
    	// Skip CRC
    	if maj > 1 || min >= 2 {
    		_, metaBuf, err = msgp.ReadUint32Bytes(metaBuf)
    		storageLogIf(GlobalContext, err)
    	}
    	//   =  input - current pos
    	ends := len(buf) - len(metaBuf)
    	if ends > len(buf) {
    		return buf
    	}
    
    	return buf[:ends]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  7. 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)
  8. internal/hash/checksum.go

    			if res[part] == nil {
    				res[part] = make(map[string]string, 1)
    			}
    			res[part][typ.String()] = cs
    		}
    	}
    	return res
    }
    
    // NewChecksumWithType is similar to NewChecksumString but expects input algo of ChecksumType.
    func NewChecksumWithType(alg ChecksumType, value string) *Checksum {
    	if !alg.IsSet() {
    		return nil
    	}
    	bvalue, err := base64.StdEncoding.DecodeString(value)
    	if err != nil {
    		return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. internal/event/target/kafka.go

    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v2/net"
    
    	"github.com/IBM/sarama"
    	saramatls "github.com/IBM/sarama/tools/tls"
    )
    
    // Kafka input constants
    const (
    	KafkaBrokers          = "brokers"
    	KafkaTopic            = "topic"
    	KafkaQueueDir         = "queue_dir"
    	KafkaQueueLimit       = "queue_limit"
    	KafkaTLS              = "tls"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. docs/debugging/inspect/main.go

    	// Parse parameters
    	switch {
    	case *stdin:
    		// Parse 'mc support inspect --json' output
    		input := struct {
    			File string `json:"file"`
    			Key  string `json:"key"`
    		}{}
    		got, err := io.ReadAll(os.Stdin)
    		if err != nil {
    			fatalErr(err)
    		}
    		fatalErr(json.Unmarshal(got, &input))
    		inputFileName = input.File
    		*keyHex = input.Key
    	case len(flag.Args()) == 1:
    		inputFileName = flag.Args()[0]
    	default:
    		flag.Usage()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top