Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for parameter (0.15 sec)

  1. src/builtin/builtin.go

    // For slices, clear sets all elements up to the length of the slice
    // to the zero value of the respective element type. If the argument
    // type is a type parameter, the type parameter's type set must
    // contain only map or slice types, and clear performs the operation
    // implied by the type argument.
    func clear[T ~[]Type | ~map[Type]Type1](t T)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. cni/pkg/plugin/sidecar_redirect.go

    }
    
    func validatePortListWithWildcard(ports string) error {
    	if ports != "*" {
    		return validatePortList(ports)
    	}
    	return nil
    }
    
    // validateCIDRListWithWildcard validates the includeIPRanges parameter
    func validateCIDRListWithWildcard(ipRanges string) error {
    	if ipRanges != "*" {
    		if e := validateCIDRList(ipRanges); e != nil {
    			return fmt.Errorf("IPRanges invalid: %v", e)
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    			// parameter for a streaming signature which is set
    			// to a custom value for example: "aws-chunked,gzip".
    			metadata[strings.ToLower(xhttp.ContentEncoding)] = contentEncoding
    		} else {
    			// Trimmed content encoding is empty when the header
    			// value is set to "aws-chunked" only.
    
    			// Make sure to delete the content-encoding parameter
    			// for a streaming signature which is set to value
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  4. internal/config/identity/openid/openid.go

    		getCfgVal := func(cfgParam string) string {
    			// As parameters are already validated, we skip checking
    			// if the config param was found.
    			val, _, _ := s.ResolveConfigParam(config.IdentityOpenIDSubSys, cfgName, cfgParam, false)
    			return val
    		}
    
    		// In the past, when only one openID provider was allowed, there
    		// was no `enable` parameter - the configuration is turned off
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  5. internal/grid/types.go

    // The recycler should handle nil pointers.
    type Recycler interface {
    	Recycle()
    }
    
    // MSS is a map[string]string that can be serialized.
    // It is not very efficient, but it is only used for easy parameter passing.
    type MSS map[string]string
    
    // Get returns the value for the given key.
    func (m *MSS) Get(key string) string {
    	if m == nil {
    		return ""
    	}
    	return (*m)[key]
    }
    
    // Set a key, value pair.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils_test.go

    	_, errCode = extractSignedHeaders(signedHeaders, r)
    	if errCode != ErrUnsignedHeaders {
    		t.Fatalf("Expected the APIErrorCode to %d, but got %d", ErrUnsignedHeaders, errCode)
    	}
    	// set headers value through Get parameter
    	inputQuery.Add("x-amz-server-side-encryption", xhttp.AmzEncryptionAES)
    	r.URL.RawQuery = inputQuery.Encode()
    	r.ParseForm()
    	_, errCode = extractSignedHeaders(signedHeaders, r)
    	if errCode != ErrNone {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  7. internal/s3select/select.go

    	return nil
    }
    
    // RequestProgress - represents elements inside <RequestProgress/> in request XML.
    type RequestProgress struct {
    	Enabled bool `xml:"Enabled"`
    }
    
    // ScanRange represents the ScanRange parameter.
    type ScanRange struct {
    	// Start is the byte offset to read from (from the start of the file).
    	Start *uint64 `xml:"Start"`
    	// End is the offset of the last byte that should be returned when Start
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  8. cmd/auth-handler.go

    		return errCode
    	}
    
    	clientETag, err := etag.FromContentMD5(r.Header)
    	if err != nil {
    		return ErrInvalidDigest
    	}
    
    	// Extract either 'X-Amz-Content-Sha256' header or 'X-Amz-Content-Sha256' query parameter (if V4 presigned)
    	// Do not verify 'X-Amz-Content-Sha256' if skipSHA256.
    	var contentSHA256 []byte
    	if skipSHA256 := skipContentSha256Cksum(r); !skipSHA256 && isRequestPresignedSignatureV4(r) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    		if err != nil {
    			return nil, 0, 0, err
    		}
    
    		// We define a closure that performs decryption given
    		// a reader that returns the desired range of
    		// encrypted bytes. The header parameter is used to
    		// provide encryption parameters.
    		fn = func(inputReader io.Reader, h http.Header, cFns ...func()) (r *GetObjectReader, err error) {
    			copySource := h.Get(xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm) != ""
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  10. cmd/test-utils_test.go

    	}
    	registerAPIRouter(muxRouter)
    	muxRouter.Use(globalMiddlewares...)
    	return muxRouter
    }
    
    // generateTLSCertKey creates valid key/cert with registered DNS or IP address
    // depending on the passed parameter. That way, we can use tls config without
    // passing InsecureSkipVerify flag.  This code is a simplified version of
    // https://golang.org/src/crypto/tls/generate_cert.go
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top