Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for memhash8 (0.13 sec)

  1. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.c128equal", 1},
    	{"runtime.strequal", 1},
    	{"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},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func nilinterequal(p, q unsafe.Pointer) bool
    
    func memhash(x *any, h uintptr, size uintptr) uintptr
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/runtime/alg.go

    )
    
    func memhash0(p unsafe.Pointer, h uintptr) uintptr {
    	return h
    }
    
    func memhash8(p unsafe.Pointer, h uintptr) uintptr {
    	return memhash(p, h, 1)
    }
    
    func memhash16(p unsafe.Pointer, h uintptr) uintptr {
    	return memhash(p, h, 2)
    }
    
    func memhash128(p unsafe.Pointer, h uintptr) uintptr {
    	return memhash(p, h, 16)
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/builtin.go

    	{"strequal", funcTag, 127},
    	{"interequal", funcTag, 127},
    	{"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},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/runtime/hash_test.go

    	}
    	var b [4]byte
    	r := rand.New(rand.NewSource(1234))
    	seed := uintptr(r.Uint64())
    	for i := 0; i < 100; i++ {
    		randBytes(r, b[:])
    		got := MemHash32(unsafe.Pointer(&b), seed)
    		want := MemHash(unsafe.Pointer(&b), seed, 4)
    		if got != want {
    			t.Errorf("MemHash32(%x, %v) = %v; want %v", b, seed, got, want)
    		}
    	}
    }
    
    func TestMemHash64Equality(t *testing.T) {
    	if *UseAeshash {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. src/hash/maphash/maphash_runtime.go

    //go:build !purego
    
    package maphash
    
    import (
    	"unsafe"
    )
    
    //go:linkname runtime_rand runtime.rand
    func runtime_rand() uint64
    
    //go:linkname runtime_memhash runtime.memhash
    //go:noescape
    func runtime_memhash(p unsafe.Pointer, seed, s uintptr) uintptr
    
    func rthash(buf []byte, seed uint64) uint64 {
    	if len(buf) == 0 {
    		return seed
    	}
    	len := len(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/runtime/export_test.go

    		runqget(p)
    		<-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))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  8. src/runtime/tracemap.go

    // the data has been added to the map.
    func (tab *traceMap) put(data unsafe.Pointer, size uintptr) (uint64, bool) {
    	if size == 0 {
    		return 0, false
    	}
    	hash := memhash(data, 0, size)
    
    	var newNode *traceMapNode
    	m := &tab.root
    	hashIter := hash
    	for {
    		n := (*traceMapNode)(m.Load())
    		if n == nil {
    			// Try to insert a new map node. We may end up discarding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. 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·memhash64Fallback<ABIInternal>(SB)
    
    // func memhash(p unsafe.Pointer, h, size uintptr) uintptr
    TEXT runtime·memhash<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-32
    	MOVB	runtime·useAeshash(SB), R10
    	CBZ	R10, noaes
    	B	aeshashbody<>(SB)
    noaes:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  10. src/runtime/asm_amd64.s

    	// Using MFENCE;LFENCE here aligns the serializing properties without
    	// runtime detection of CPU manufacturer.
    	MFENCE
    	LFENCE
    	RDTSC
    	JMP done
    
    // func memhash(p unsafe.Pointer, h, s uintptr) uintptr
    // hash function using AES hardware instructions
    TEXT runtime·memhash<ABIInternal>(SB),NOSPLIT,$0-32
    	// AX = ptr to data
    	// BX = seed
    	// CX = size
    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