Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for CRC32 (0.14 sec)

  1. cmd/object-api-putobject_test.go

    		32: {bucketName: bucket, objName: "emptydir/", inputData: []byte{}, expectedMd5: getMD5Hash([]byte{})},
    
    		// With invalid crc32.
    		33: {
    			bucketName: bucket, objName: object, inputData: []byte("abcd"),
    			inputMeta:     map[string]string{"etag": "e2fc714c4727ee9395f324cd2e7f331f", "x-amz-checksum-crc32": "abcd"},
    			inputDataSize: int64(len("abcd")),
    		},
    	}
    	for i, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    	sum64 := siphash.Hash(k0, k1, []byte(key))
    	return int(sum64 % uint64(cardinality))
    }
    
    func crcHashMod(key string, cardinality int) int {
    	if cardinality <= 0 {
    		return -1
    	}
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    	return int(keyCrc % uint32(cardinality))
    }
    
    func hashKey(algo string, key string, cardinality int, id [16]byte) int {
    	switch algo {
    	case formatErasureVersionV2DistributionAlgoV1:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  3. internal/http/headers.go

    	MinIOPeerCall = "x-minio-from-peer"
    
    	// Server-Status
    	MinIOServerStatus = "x-minio-server-status"
    
    	// Content Checksums
    	AmzChecksumAlgo   = "x-amz-checksum-algorithm"
    	AmzChecksumCRC32  = "x-amz-checksum-crc32"
    	AmzChecksumCRC32C = "x-amz-checksum-crc32c"
    	AmzChecksumSHA1   = "x-amz-checksum-sha1"
    	AmzChecksumSHA256 = "x-amz-checksum-sha256"
    	AmzChecksumMode   = "x-amz-checksum-mode"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  4. cmd/admin-handlers.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	crand "crypto/rand"
    	"crypto/rsa"
    	"crypto/subtle"
    	"crypto/x509"
    	"encoding/base64"
    	"encoding/json"
    	"encoding/pem"
    	"errors"
    	"fmt"
    	"hash/crc32"
    	"io"
    	"math"
    	"net/http"
    	"net/url"
    	"os"
    	"path"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/dustin/go-humanize"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top