- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for sum64a (0.11 sec)
-
src/math/bits/bits.go
// The carryOut output is guaranteed to be 0 or 1. // // This function's execution time does not depend on the inputs. func Add32(x, y, carry uint32) (sum, carryOut uint32) { sum64 := uint64(x) + uint64(y) + uint64(carry) sum = uint32(sum64) carryOut = uint32(sum64 >> 32) return } // Add64 returns the sum with carry of x, y and carry: sum = x + y + carry. // The carry input must be 0 or 1; otherwise the behavior is undefined.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 17.9K bytes - Viewed (0) -
pkg/util/hash/hash_test.go
t.Run(tt.name, func(t *testing.T) { h := New() h.Write([]byte(tt.str)) if gotStr := h.Sum(); tt.wantStr != gotStr { t.Errorf("wantStr %v, but got %v", tt.wantStr, gotStr) } if gotUint64 := h.Sum64(); tt.wantUint64 != gotUint64 { t.Errorf("wantUint64 %v, but got %v", tt.wantUint64, gotUint64) } }) } } func TestFactoryWriteString(t *testing.T) { testCases := []struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 21 20:24:14 UTC 2023 - 2.2K bytes - Viewed (0) -
src/hash/fnv/fnv_test.go
sum32 := h.(hash.Hash32).Sum32() if sum32 != binary.BigEndian.Uint32(sum) { t.Fatalf("Sum()=0x%x, but Sum32()=0x%x", sum, sum32) } case 8: sum64 := h.(hash.Hash64).Sum64() if sum64 != binary.BigEndian.Uint64(sum) { t.Fatalf("Sum()=0x%x, but Sum64()=0x%x", sum, sum64) } case 16: // There's no Sum128 function, so we don't need to test anything here. } } func BenchmarkFnv32KB(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 01 21:04:12 UTC 2017 - 7.3K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
return -1 } // use the faster version as per siphash docs // https://github.com/dchest/siphash#usage k0, k1 := binary.LittleEndian.Uint64(id[0:8]), binary.LittleEndian.Uint64(id[8:16]) sum64 := siphash.Hash(k0, k1, []byte(key)) return int(sum64 % uint64(cardinality)) } // hashOrder - hashes input key to return consistent // hashed integer slice. Returned integer order is salted // with an input key. This results in consistent order.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm.go
// then x is invalid. func p256LessThanP(x *p256Element) int { var b uint64 _, b = bits.Sub64(x[0], p256P[0], b) _, b = bits.Sub64(x[1], p256P[1], b) _, b = bits.Sub64(x[2], p256P[2], b) _, b = bits.Sub64(x[3], p256P[3], b) return int(b) } // p256Add sets res = x + y. func p256Add(res, x, y *p256Element) { var c, b uint64 t1 := make([]uint64, 4)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 21.4K bytes - Viewed (0) -
src/main/webapp/js/admin/moment-with-locales.min.js
neLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Jul 12 13:18:07 UTC 2018 - 319K bytes - Viewed (0) -
src/hash/crc64/crc64.go
return update(crc, tab, p) } func (d *digest) Write(p []byte) (n int, err error) { d.crc = update(d.crc, d.tab, p) return len(p), nil } func (d *digest) Sum64() uint64 { return d.crc } func (d *digest) Sum(in []byte) []byte { s := d.Sum64() return append(in, byte(s>>56), byte(s>>48), byte(s>>40), byte(s>>32), byte(s>>24), byte(s>>16), byte(s>>8), byte(s)) } // Checksum returns the CRC-64 checksum of data
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 22:36:41 UTC 2024 - 5.2K bytes - Viewed (0) -
src/crypto/internal/nistec/fiat/p224_fiat64.go
var x190 uint64 var x191 uint64 x190, x191 = bits.Sub64(x181, uint64(0x1), uint64(0x0)) var x192 uint64 var x193 uint64 x192, x193 = bits.Sub64(x183, 0xffffffff00000000, uint64(p224Uint1(x191))) var x194 uint64 var x195 uint64 x194, x195 = bits.Sub64(x185, 0xffffffffffffffff, uint64(p224Uint1(x193))) var x196 uint64 var x197 uint64 x196, x197 = bits.Sub64(x187, 0xffffffff, uint64(p224Uint1(x195))) var x199 uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 05 21:53:03 UTC 2022 - 43.2K bytes - Viewed (0) -
src/hash/hash.go
type Hash32 interface { Hash Sum32() uint32 } // Hash64 is the common interface implemented by all 64-bit hash functions. type Hash64 interface { Hash Sum64() uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 19:15:34 UTC 2023 - 2.1K bytes - Viewed (0) -
src/main/resources/fess_indices/fess/fa/mapping.txt
\u2006 => \u0020 \u2007 => \u0020 \u2008 => \u0020 \u2009 => \u0020 \u200A => \u0020 \u200B => \u0020 \u200C => \u0020 \u202F => \u0020 \u205F => \u0020 \u3000 => \u0020 \uFEFF => \u0020 \u064A => \u06CC \u0643 => \u06A9 \u0660 => 0 \u06F0 => 0 \u0661 => 1 \u06F1 => 1 \u0662 => 2 \u06F2 => 2 \u0663 => 3 \u06F3 => 3 \u0664 => 4 \u06F4 => 4 \u0665 => 5 \u06F5 => 5
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Fri May 20 11:30:45 UTC 2022 - 771 bytes - Viewed (0)