Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for ALGORITHM (0.23 sec)

  1. cmd/erasure-decode_test.go

    	{dataBlocks: 4, onDisks: 8, offDisks: 0, blocksize: int64(blockSizeV2), data: oneMiByte, offset: 0, length: oneMiByte, algorithm: DefaultBitrotAlgorithm, shouldFail: false, shouldFailQuorum: false}, // 2
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  2. cmd/erasure-encode_test.go

    	{dataBlocks: 4, onDisks: 8, offDisks: 2, blocksize: int64(blockSizeV2), data: oneMiByte, offset: 2, algorithm: DefaultBitrotAlgorithm, shouldFail: false, shouldFailQuorum: false},                 // 2
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v1.go

    	Dir     bool      `json:"dir"`
    	Mode    uint32    `json:"mode"`
    }
    
    // ErasureInfo holds erasure coding and bitrot related information.
    type ErasureInfo struct {
    	// Algorithm is the string representation of erasure-coding-algorithm
    	Algorithm string `json:"algorithm"`
    	// DataBlocks is the number of data blocks for erasure-coding
    	DataBlocks int `json:"data"`
    	// ParityBlocks is the number of parity blocks for erasure-coding
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        /**
         * Returns immutable collection of all supported algorithm names.
         */
        @Nonnull
        Collection<String> getChecksumAlgorithmNames();
    
        /**
         * Returns {@link ChecksumAlgorithm} for given algorithm name, or throws if algorithm not supported.
         *
         * @throws ChecksumAlgorithmServiceException if asked algorithm name is not supported.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

      double median(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(1, 2, dataset(i));
        }
        return dummy;
      }
    
      @Benchmark
      double percentile90(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(90, 100, dataset(i));
        }
        return dummy;
      }
    
      @Benchmark
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

            Hashing.hmacSha1(keyData).toString());
    
        assertEquals(
            "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])",
            Hashing.hmacSha256(SHA256_KEY).toString());
        assertEquals(
            "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])",
            Hashing.hmacSha256(keyData).toString());
    
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  7. internal/crypto/sse-c.go

    	}
    	if algorithm != SealAlgorithm && algorithm != InsecureSealAlgorithm {
    		return sealedKey, errInvalidInternalSealAlgorithm
    	}
    	encryptedKey, err := base64.StdEncoding.DecodeString(b64SealedKey)
    	if err != nil || len(encryptedKey) != 64 {
    		return sealedKey, Errorf("The internal sealed key for SSE-C is invalid")
    	}
    
    	sealedKey.Algorithm = algorithm
    	copy(sealedKey.IV[:], iv)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser_test.go

    			expectedErrCode:       ErrInvalidQuerySignatureAlgo,
    		},
    		// Test case - 3.
    		// Test case with valid "X-Amz-Algorithm" query value, but invalid  "X-Amz-Credential" header.
    		// Malformed crenential.
    		{
    			inputQueryKeyVals: []string{
    				// valid  "X-Amz-Algorithm" header.
    				"X-Amz-Algorithm", signV4Algorithm,
    				// valid  "X-Amz-Credential" header.
    				"X-Amz-Credential", "invalid-credential",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  9. cmd/erasure-heal_test.go

    	blocksize, size int64
    	algorithm       BitrotAlgorithm
    	shouldFail      bool
    }{
    	{dataBlocks: 2, disks: 4, offDisks: 1, badDisks: 0, badStaleDisks: 0, blocksize: int64(blockSizeV2), size: oneMiByte, algorithm: SHA256, shouldFail: false},                   // 0
    	{dataBlocks: 3, disks: 6, offDisks: 2, badDisks: 0, badStaleDisks: 0, blocksize: int64(blockSizeV2), size: oneMiByte, algorithm: BLAKE2b512, shouldFail: false},               // 1
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. internal/crypto/metadata_test.go

    		}
    		if keyID != test.KeyID {
    			t.Errorf("Test %d: got key-ID '%v' - want key-ID '%v'", i, keyID, test.KeyID)
    		}
    		if sealedKey.Algorithm != test.SealedKey.Algorithm {
    			t.Errorf("Test %d: got sealed key algorithm '%v' - want sealed key algorithm '%v'", i, sealedKey.Algorithm, test.SealedKey.Algorithm)
    		}
    		if !bytes.Equal(sealedKey.Key[:], test.SealedKey.Key[:]) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top