Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for new384 (0.1 sec)

  1. src/hash/fnv/fnv_test.go

    }
    
    func TestGolden32(t *testing.T) {
    	testGolden(t, New32(), golden32)
    }
    
    func TestGolden32a(t *testing.T) {
    	testGolden(t, New32a(), golden32a)
    }
    
    func TestGolden64(t *testing.T) {
    	testGolden(t, New64(), golden64)
    }
    
    func TestGolden64a(t *testing.T) {
    	testGolden(t, New64a(), golden64a)
    }
    
    func TestGolden128(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 21:04:12 UTC 2017
    - 7.3K bytes
    - Viewed (0)
  2. src/hash/fnv/fnv.go

    	prime128Lower   = 0x13b
    	prime128Shift   = 24
    )
    
    // New32 returns a new 32-bit FNV-1 [hash.Hash].
    // Its Sum method will lay the value out in big-endian byte order.
    func New32() hash.Hash32 {
    	var s sum32 = offset32
    	return &s
    }
    
    // New32a returns a new 32-bit FNV-1a [hash.Hash].
    // Its Sum method will lay the value out in big-endian byte order.
    func New32a() hash.Hash32 {
    	var s sum32a = offset32
    	return &s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

                // 404
                throw responseManager.new404("Thumbnail for " + form.docId + " is not found.");
            }
    
            final File thumbnailFile = thumbnailManager.getThumbnailFile(doc);
            if (thumbnailFile == null) {
                if (fessConfig.isThumbnailEnabled()) {
                    thumbnailManager.offer(doc);
                }
                // 404
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. tests/hooks_test.go

    	}
    
    	// Code changed, price should changed
    	DB.Model(&product).Select("Name", "Code", "Price").Updates(map[string]interface{}{"Name": "Product New3", "code": "L1213"})
    
    	if product.Name != "Product New3" || product.Price != 220 || product.Code != "L1213" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	var result Product3
    	DB.First(&result, product.ID)
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. src/crypto/sha256/sha256.go

    // state of the hash.
    func New() hash.Hash {
    	if boring.Enabled {
    		return boring.NewSHA256()
    	}
    	d := new(digest)
    	d.Reset()
    	return d
    }
    
    // New224 returns a new hash.Hash computing the SHA224 checksum.
    func New224() hash.Hash {
    	if boring.Enabled {
    		return boring.NewSHA224()
    	}
    	d := new(digest)
    	d.is224 = true
    	d.Reset()
    	return d
    }
    
    func (d *digest) Size() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. pkg/kubelet/checkpointmanager/checksum/checksum.go

    func New(data interface{}) Checksum {
    	return Checksum(getChecksum(data))
    }
    
    // Get returns calculated checksum of checkpoint data
    func getChecksum(data interface{}) uint64 {
    	hash := fnv.New32a()
    	hashutil.DeepHashObject(hash, data)
    	return uint64(hash.Sum32())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 01:56:43 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/OsddHelper.java

        }
    
        public boolean hasOpenSearchFile() {
            return osddFile != null;
        }
    
        public StreamResponse asStream() {
            if (osddFile == null) {
                throw ComponentUtil.getResponseManager().new404("Unsupported Open Search Description Document response.");
            }
    
            return new StreamResponse(osddFile.getName()).contentType(contentType + "; charset=" + encoding).stream(out -> {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/state/checkpoint.go

    	object = strings.Replace(object, "DRAManagerCheckpointWithoutResourceHandles", "DRAManagerCheckpoint", 1)
    	object = strings.Replace(object, "ClaimInfoStateListWithoutResourceHandles", "ClaimInfoStateList", 1)
    	hash := fnv.New32a()
    	fmt.Fprintf(hash, "%v", object)
    	if checkSum != checksum.Checksum(hash.Sum32()) {
    		return errors.ErrCorruptCheckpoint
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 15:23:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. pkg/ledger/util.go

    const (
    	hashLength = 8
    )
    
    type hash [hashLength]byte
    
    func bitIsSet(bits []byte, i int) bool {
    	return bits[i/8]&(1<<uint(7-i%8)) != 0
    }
    
    func hasher(data ...[]byte) []byte {
    	hasher := murmur3.New64()
    	for i := 0; i < len(data); i++ {
    		_, _ = hasher.Write(data[i])
    	}
    	result := hasher.Sum(nil)
    	return result
    }
    
    // for sorting
    type dataArray [][]byte
    
    func (d dataArray) Len() int {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. internal/config/identity/openid/ecdsa-sha3_contrib.go

    	jwt.RegisterSigningMethod(SigningMethodES3256.Alg(), func() jwt.SigningMethod {
    		return SigningMethodES3256
    	})
    
    	// ES384
    	SigningMethodES3384 = &jwt.SigningMethodECDSA{Name: "ES3384", Hash: crypto.SHA3_384, KeySize: 48, CurveBits: 384}
    	jwt.RegisterSigningMethod(SigningMethodES3384.Alg(), func() jwt.SigningMethod {
    		return SigningMethodES3384
    	})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 1.8K bytes
    - Viewed (0)
Back to top