Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for parameter (0.18 sec)

  1. internal/grid/trace.go

    package grid
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"strings"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/pubsub"
    )
    
    // TraceParamsKey allows to pass trace parameters to the request via context.
    // This is only needed when un-typed requests are used.
    // MSS, map[string]string types are preferred, but any struct with exported fields will work.
    type TraceParamsKey struct{}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 22:54:54 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. misc/cgo/gmp/gmp.go

    calls the C xxx in a standard pthread.  The new function translates
    its arguments, calls xxx, and translates the return value.
    
    Translation of parameters and the return value follows the type
    translation above except that arrays passed as parameters translate
    explicitly in Go to pointers to arrays, as they do (implicitly) in C.
    
    Garbage collection is the big problem.  It is fine for the Go world to
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  3. internal/config/policy/plugin/config.go

    	args := Args{}
    
    	if err := s.CheckValidKeys(config.PolicyPluginSubSys, nil); err != nil {
    		return args, err
    	}
    
    	getCfg := func(cfgParam string) string {
    		// As parameters are already validated, we skip checking
    		// if the config param was found.
    		val, _, _ := s.ResolveConfigParam(config.PolicyPluginSubSys, config.Default, cfgParam, false)
    		return val
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. internal/http/dial_linux.go

    func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error {
    	return func(network, address string, c syscall.RawConn) error {
    		c.Control(func(fdPtr uintptr) {
    			// got socket file descriptor to set parameters.
    			fd := int(fdPtr)
    
    			_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_REUSEADDR, 1)
    
    			_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_REUSEPORT, 1)
    
    			{
    				// Enable big buffers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 4.3K bytes
    - Viewed (3)
  5. cmd/erasure-coding.go

    	blockSize                int64
    }
    
    // NewErasure creates a new ErasureStorage.
    func NewErasure(ctx context.Context, dataBlocks, parityBlocks int, blockSize int64) (e Erasure, err error) {
    	// Check the parameters for sanity now.
    	if dataBlocks <= 0 || parityBlocks < 0 {
    		return e, reedsolomon.ErrInvShardNum
    	}
    
    	if dataBlocks+parityBlocks > 256 {
    		return e, reedsolomon.ErrMaxShardNum
    	}
    
    	e = Erasure{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  6. cni/pkg/plugin/sidecar_iptables_unspecified.go

    import "errors"
    
    // ErrNotImplemented is returned when a requested feature is not implemented.
    var ErrNotImplemented = errors.New("not implemented")
    
    // Program defines a method which programs iptables based on the parameters
    // provided in Redirect.
    func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error {
    	return ErrNotImplemented
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  7. cmd/warm-backend-s3.go

    		}
    		creds = credentials.New(&s3WebIdentityIAM)
    	case conf.AccessKey != "" && conf.SecretKey != "":
    		creds = credentials.NewStaticV4(conf.AccessKey, conf.SecretKey, "")
    	default:
    		return nil, errors.New("insufficient parameters for S3 backend authentication")
    	}
    	opts := &minio.Options{
    		Creds:     creds,
    		Secure:    u.Scheme == "https",
    		Transport: globalRemoteTargetTransport,
    	}
    	client, err := minio.New(u.Host, opts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. cmd/batch-job-common-types.go

    	var tmp snowball
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*b = BatchJobSnowball(tmp)
    	b.line, b.col = val.Line, val.Column
    	return nil
    }
    
    // Validate the snowball parameters in the job description
    func (b BatchJobSnowball) Validate() error {
    	if *b.Batch <= 0 {
    		return BatchJobYamlErr{
    			line: b.line,
    			col:  b.col,
    			msg:  "batch number should be non positive zero",
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
Back to top