Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for strhash (0.22 sec)

  1. src/runtime/alg.go

    //   - github.com/cloudwego/dynamicgo
    //   - github.com/v2fly/v2ray-core/v5
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname strhash
    func strhash(p unsafe.Pointer, h uintptr) uintptr
    
    func strhashFallback(a unsafe.Pointer, h uintptr) uintptr {
    	x := (*stringStruct)(a)
    	return memhashFallback(x.str, h, uintptr(x.len))
    }
    
    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.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},
    	{"runtime.nilinterhash", 1},
    	{"runtime.int64div", 1},
    	{"runtime.uint64div", 1},
    	{"runtime.int64mod", 1},
    	{"runtime.uint64mod", 1},
    	{"runtime.float64toint64", 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 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
    func c128hash(p *any, h uintptr) uintptr
    func strhash(a *any, h uintptr) uintptr
    func interhash(p *any, h uintptr) uintptr
    func nilinterhash(p *any, h uintptr) uintptr
    
    // only used on 32-bit
    func int64div(int64, int64) int64
    func uint64div(uint64, uint64) uint64
    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/cmd/compile/internal/typecheck/builtin.go

    	{"memhash32", funcTag, 129},
    	{"memhash64", funcTag, 129},
    	{"memhash128", funcTag, 129},
    	{"f32hash", funcTag, 130},
    	{"f64hash", funcTag, 130},
    	{"c64hash", funcTag, 130},
    	{"c128hash", funcTag, 130},
    	{"strhash", funcTag, 130},
    	{"interhash", funcTag, 130},
    	{"nilinterhash", funcTag, 130},
    	{"int64div", funcTag, 131},
    	{"uint64div", funcTag, 132},
    	{"int64mod", funcTag, 131},
    	{"uint64mod", funcTag, 132},
    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/asm_arm64.s

    TEXT runtime·memhash<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-32
    	MOVB	runtime·useAeshash(SB), R10
    	CBZ	R10, noaes
    	B	aeshashbody<>(SB)
    noaes:
    	B	runtime·memhashFallback<ABIInternal>(SB)
    
    // func strhash(p unsafe.Pointer, h uintptr) uintptr
    TEXT runtime·strhash<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-24
    	MOVB	runtime·useAeshash(SB), R10
    	CBZ	R10, noaes
    	LDP	(R0), (R0, R2)	// string data / length
    	B	aeshashbody<>(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  6. src/runtime/asm_amd64.s

    	// AX = ptr to data
    	// BX = seed
    	// CX = size
    	CMPB	runtime·useAeshash(SB), $0
    	JEQ	noaes
    	JMP	aeshashbody<>(SB)
    noaes:
    	JMP	runtime·memhashFallback<ABIInternal>(SB)
    
    // func strhash(p unsafe.Pointer, h uintptr) uintptr
    TEXT runtime·strhash<ABIInternal>(SB),NOSPLIT,$0-24
    	// AX = ptr to string struct
    	// 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)
  7. tensorflow/compiler/jit/device_compilation_cluster_signature_test.cc

                                SignatureHash()(signatures[j]))
              << "s1: " << signatures[i].HumanString() << "\n"
              << "s1_hash: " << SignatureHash()(signatures[i]) << "\n"
              << "s2: " << signatures[j].HumanString() << "\n"
              << "s2_hash: " << SignatureHash()(signatures[j]);
        }
      }
    }
    
    TEST(DeviceCompilationClusterSignatureTest, SignatureUniqueness) {
      NameAttrList fn;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. src/crypto/tls/key_agreement.go

    	}
    
    	var signatureAlgorithm SignatureScheme
    	var sigType uint8
    	var sigHash crypto.Hash
    	if ka.version >= VersionTLS12 {
    		signatureAlgorithm, err = selectSignatureScheme(ka.version, cert, clientHello.supportedSignatureAlgorithms)
    		if err != nil {
    			return nil, err
    		}
    		sigType, sigHash, err = typeAndHashFromSignatureScheme(signatureAlgorithm)
    		if err != nil {
    			return nil, err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. docs/debugging/hash-set/main.go

    	"os"
    	"strings"
    
    	"github.com/dchest/siphash"
    	"github.com/google/uuid"
    )
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - SIPMOD
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    	// use the faster version as per siphash docs
    	// https://github.com/dchest/siphash#usage
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modcmd/verify.go

    		return errs
    	}
    	h := string(bytes.TrimSpace(data))
    
    	if zipErr != nil && errors.Is(zipErr, fs.ErrNotExist) {
    		// ok
    	} else {
    		hZ, err := dirhash.HashZip(zip, dirhash.DefaultHash)
    		if err != nil {
    			errs = append(errs, fmt.Errorf("%s %s: %v", mod.Path, mod.Version, err))
    			return errs
    		} else if hZ != h {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 16:56:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top