Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 590 for valid (0.05 sec)

  1. internal/hash/checksum.go

    		}
    		n := binary.PutUvarint(tmp[:], uint64(checksums))
    		b = append(b, tmp[:n]...)
    		if len(parts) > 0 {
    			b = append(b, parts...)
    		}
    	}
    	return b
    }
    
    // Valid returns whether checksum is valid.
    func (c Checksum) Valid() bool {
    	if c.Type == ChecksumInvalid {
    		return false
    	}
    	if len(c.Encoded) == 0 || c.Type.Trailing() {
    		return c.Type.Is(ChecksumNone) || c.Type.Trailing()
    	}
    	raw := c.Raw
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. internal/bucket/encryption/bucket-sse-config_test.go

    				},
    			},
    		},
    	}
    
    	testCases := []struct {
    		inputXML       string
    		keyID          string
    		expectedErr    error
    		shouldPass     bool
    		expectedConfig *BucketSSEConfig
    	}{
    		// 1. Valid XML SSE-S3
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 16 18:28:30 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_nested_models/test_tutorial009.py

                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "foo",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "__key__"],
                        "msg": "value is not a valid integer",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. docs/ftp/README.md

    Algorithms are comma separated. 
    Note that valid values does not in all cases represent default values.
    
    `--sftp=pub-key-algos=...` specifies the supported client public key
    authentication algorithms. Note that this doesn't include certificate types
    since those use the underlying algorithm. This list is sent to the client if
    it supports the server-sig-algs extension. Order is irrelevant.
    
    Valid values
    ```
    ssh-ed25519
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. cmd/batch-replicate_test.go

    	"testing"
    
    	"gopkg.in/yaml.v3"
    )
    
    func TestParseBatchJobReplicate(t *testing.T) {
    	replicateYaml := `
    replicate:
      apiVersion: v1
      # source of the objects to be replicated
      source:
        type: minio # valid values are "s3" or "minio"
        bucket: mytest
        prefix: object-prefix1 # 'PREFIX' is optional
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. cmd/object-api-utils_test.go

    func TestIsValidBucketName(t *testing.T) {
    	testCases := []struct {
    		bucketName string
    		shouldPass bool
    	}{
    		// cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    		{"s3-eu-west-1.amazonaws.com", true},
    		{"ideas-are-more-powerful-than-guns", true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tests/test_forms_single_model.py

                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "seventy",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "age"],
                        "msg": "value is not a valid integer",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 13 09:51:00 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                }
            }
            if ( rpc == null ) {
                return false;
            }
    
            boolean valid = false;
            for ( int hash : rpc.getHashAlgos() ) {
                if ( hash == pc.getHashAlgos()[ 0 ] ) {
                    valid = true;
                }
            }
            if ( !valid ) {
                log.error("Server returned invalid hash selection");
                return false;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

       *
       * @param bytes byte array representing an IPv4 address (should be of length 4)
       * @return {@link Inet4Address} corresponding to the supplied byte array
       * @throws IllegalArgumentException if a valid {@link Inet4Address} can not be created
       */
      private static Inet4Address getInet4Address(byte[] bytes) {
        checkArgument(
            bytes.length == 4,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top