Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for MemHash64 (0.2 sec)

  1. src/runtime/alg.go

    func memhash32(p unsafe.Pointer, h uintptr) uintptr
    
    // memhash64 should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/segmentio/parquet-go
    //   - github.com/parquet-go/parquet-go
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname memhash64
    func memhash64(p unsafe.Pointer, h uintptr) uintptr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.interequal", 1},
    	{"runtime.nilinterequal", 1},
    	{"runtime.memhash", 1},
    	{"runtime.memhash0", 1},
    	{"runtime.memhash8", 1},
    	{"runtime.memhash16", 1},
    	{"runtime.memhash32", 1},
    	{"runtime.memhash64", 1},
    	{"runtime.memhash128", 1},
    	{"runtime.f32hash", 1},
    	{"runtime.f64hash", 1},
    	{"runtime.c64hash", 1},
    	{"runtime.c128hash", 1},
    	{"runtime.strhash", 1},
    	{"runtime.interhash", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func memhash0(p unsafe.Pointer, h uintptr) uintptr
    func memhash8(p unsafe.Pointer, h uintptr) uintptr
    func memhash16(p unsafe.Pointer, h uintptr) uintptr
    func memhash32(p unsafe.Pointer, h uintptr) uintptr
    func memhash64(p unsafe.Pointer, h uintptr) uintptr
    func memhash128(p unsafe.Pointer, h uintptr) uintptr
    func f32hash(p *any, h uintptr) uintptr
    func f64hash(p *any, h uintptr) uintptr
    func c64hash(p *any, h uintptr) uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/runtime/hash_test.go

    	}
    	var b [8]byte
    	r := rand.New(rand.NewSource(1234))
    	seed := uintptr(r.Uint64())
    	for i := 0; i < 100; i++ {
    		randBytes(r, b[:])
    		got := MemHash64(unsafe.Pointer(&b), seed)
    		want := MemHash(unsafe.Pointer(&b), seed, 8)
    		if got != want {
    			t.Errorf("MemHash64(%x, %v) = %v; want %v", b, seed, got, want)
    		}
    	}
    }
    
    // Smhasher is a torture test for hash functions.
    // https://code.google.com/p/smhasher/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/builtin.go

    	{"nilinterequal", funcTag, 127},
    	{"memhash", funcTag, 128},
    	{"memhash0", funcTag, 129},
    	{"memhash8", funcTag, 129},
    	{"memhash16", funcTag, 129},
    	{"memhash32", funcTag, 129},
    	{"memhash64", funcTag, 129},
    	{"memhash128", funcTag, 129},
    	{"f32hash", funcTag, 130},
    	{"f64hash", funcTag, 130},
    	{"c64hash", funcTag, 130},
    	{"c128hash", funcTag, 130},
    	{"strhash", funcTag, 130},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. src/runtime/export_test.go

    		<-done
    		runqget(p)
    	}
    }
    
    var (
    	StringHash = stringHash
    	BytesHash  = bytesHash
    	Int32Hash  = int32Hash
    	Int64Hash  = int64Hash
    	MemHash    = memhash
    	MemHash32  = memhash32
    	MemHash64  = memhash64
    	EfaceHash  = efaceHash
    	IfaceHash  = ifaceHash
    )
    
    var UseAeshash = &useAeshash
    
    func MemclrBytes(b []byte) {
    	s := (*slice)(unsafe.Pointer(&b))
    	memclrNoHeapPointers(s.array, uintptr(s.len))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  7. src/runtime/asm_arm64.s

    	AESMC	V0.B16, V0.B16
    	AESE	V2.B16, V0.B16
    	AESMC	V0.B16, V0.B16
    	AESE	V2.B16, V0.B16
    
    	VMOV	V0.D[0], R0
    	RET
    noaes:
    	B	runtime·memhash32Fallback<ABIInternal>(SB)
    
    // func memhash64(p unsafe.Pointer, h uintptr) uintptr
    TEXT runtime·memhash64<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-24
    	MOVB	runtime·useAeshash(SB), R10
    	CBZ	R10, noaes
    	MOVD	$runtime·aeskeysched+0(SB), R3
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  8. src/runtime/asm_amd64.s

    	AESENC	runtime·aeskeysched+16(SB), X0
    	AESENC	runtime·aeskeysched+32(SB), X0
    	MOVQ	X0, AX	// return X0
    	RET
    noaes:
    	JMP	runtime·memhash32Fallback<ABIInternal>(SB)
    
    // func memhash64(p unsafe.Pointer, h uintptr) uintptr
    // ABIInternal for performance.
    TEXT runtime·memhash64<ABIInternal>(SB),NOSPLIT,$0-24
    	// AX = ptr to data
    	// BX = seed
    	CMPB	runtime·useAeshash(SB), $0
    	JEQ	noaes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top