- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 88 for mybytes (0.1 sec)
-
android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
@Override public byte[] hash(byte[] input, int seed) { Hasher hasher = murmur3_128(seed).newHasher(); Funnels.byteArrayFunnel().funnel(input, hasher); return hasher.hash().asBytes(); } }; // Murmur3F, MurmurHash3 for x64, 128-bit (MurmurHash3_x64_128) // From http://code.google.com/p/smhasher/source/browse/trunk/main.cpp
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
src/cmd/internal/buildid/rewrite.go
// buf[start:tiny] is left over from previous iteration. // After reading n bytes into buf[tiny:], we process buf[start:tiny+n]. n, err := io.ReadFull(r, buf[tiny:]) if err != io.ErrUnexpectedEOF && err != io.EOF && err != nil { return nil, [32]byte{}, err } // Process any matches. for { i := bytes.Index(buf[start:tiny+n], idBytes) if i < 0 { break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 5.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
public void testParanoidHashBytes() { HashFn hf = new HashFn() { @Override public byte[] hash(byte[] input, int seed) { return murmur3_32(seed).hashBytes(input).asBytes(); } }; // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32) // https://github.com/aappleby/smhasher/blob/master/src/main.cpp HashTestUtils.verifyHashFunction(hf, 32, 0xB0F57EE3);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 08 13:56:22 UTC 2021 - 8.6K bytes - Viewed (0) -
src/bytes/buffer_test.go
for r := rune(0); r < NRune; r++ { size := utf8.EncodeRune(b[n:], r) nbytes, err := buf.WriteRune(r) if err != nil { t.Fatalf("WriteRune(%U) error: %s", r, err) } if nbytes != size { t.Fatalf("WriteRune(%U) expected %d, got %d", r, size, nbytes) } n += size } b = b[0:n] // Check the resulting bytes if !Equal(buf.Bytes(), b) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:31:36 UTC 2024 - 18.6K bytes - Viewed (0) -
src/database/sql/convert.go
reflect.Float32, reflect.Float64: *d = asString(src) return nil } case *[]byte: sv = reflect.ValueOf(src) if b, ok := asBytes(nil, sv); ok { *d = b return nil } case *RawBytes: sv = reflect.ValueOf(src) if b, ok := asBytes(rows.rawbuf(), sv); ok { *d = rows.setrawbuf(b) return nil } case *bool: bv, err := driver.Bool.ConvertValue(src) if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go
op += byteSizeSuffix(inst.DataSize / 8) } else if inst.Mode == 64 { op += "q" } else { op += byteSizeSuffix(inst.MemBytes) } default: if isFloat(inst.Op) { // I can't explain any of this, but it's what libopcodes does. switch inst.MemBytes { default: if (inst.Op == FLD || inst.Op == FSTP) && isMem(inst.Args[0]) { op += "t" } case 4:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 21.4K bytes - Viewed (0) -
src/crypto/internal/mlkem768/mlkem768_test.go
if err != nil { t.Fatal(err) } if !bytes.Equal(Ke, Kd) { t.Fail() } dk1, err := GenerateKey() if err != nil { t.Fatal(err) } if bytes.Equal(dk.EncapsulationKey(), dk1.EncapsulationKey()) { t.Fail() } if bytes.Equal(dk.Bytes(), dk1.Bytes()) { t.Fail() } if bytes.Equal(dk.Bytes()[EncapsulationKeySize-32:], dk1.Bytes()[EncapsulationKeySize-32:]) { t.Fail() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 15:27:18 UTC 2024 - 10.3K bytes - Viewed (0) -
src/runtime/tracestack.go
// but one we're about to create (with ensure). n := fpunwindExpand(stackBuf, stack) frames := makeTraceFrames(w.gen, stackBuf[:n]) // The maximum number of bytes required to hold the encoded stack, given that // it contains N frames. maxBytes := 1 + (2+4*len(frames))*traceBytesPerNumber // Estimate the size of this record. This // bound is pretty loose, but avoids counting // lots of varint sizes. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0) -
src/crypto/internal/mlkem768/mlkem768.go
// private key format. dk.dk = [DecapsulationKeySize]byte(dkBytes) dkPKE := dkBytes[:decryptionKeySize] if err := parseDK(&dk.decryptionKey, dkPKE); err != nil { return nil, err } ekPKE := dkBytes[decryptionKeySize : decryptionKeySize+encryptionKeySize] if err := parseEK(&dk.encryptionKey, ekPKE); err != nil { return nil, err } return dk, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 28.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/x86/x86asm/decode.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:59:52 UTC 2023 - 45.1K bytes - Viewed (0)