- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for memhash (0.1 sec)
-
src/hash/maphash/maphash_runtime.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //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 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 1.2K bytes - Viewed (0) -
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) -
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) -
src/hash/maphash/maphash.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package maphash provides hash functions on byte sequences. // These hash functions are intended to be used to implement hash tables or // other data structures that need to map arbitrary strings or byte // sequences to a uniform distribution on unsigned 64-bit integers.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 19:15:34 UTC 2023 - 7.9K bytes - Viewed (0) -
test/escape_hash_maphash.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test escape analysis for hash/maphash. package escape import ( "hash/maphash" ) func f() { var x maphash.Hash // should be stack allocatable x.WriteString("foo") x.Sum64()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 16 20:31:45 UTC 2019 - 368 bytes - Viewed (0) -
src/hash/maphash/example_test.go
// license that can be found in the LICENSE file. package maphash_test import ( "fmt" "hash/maphash" ) func Example() { // The zero Hash value is valid and ready to use; setting an // initial seed is not necessary. var h maphash.Hash // Add a string to the hash, and print the current hash value. h.WriteString("hello, ") fmt.Printf("%#x\n", h.Sum64())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 24 01:59:55 UTC 2020 - 933 bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocWorkAvoidanceIntegrationTest.groovy
def oldHash = bJar.md5Hash when: // Timestamps in the jar have a 2-second precision, so we need to see a different jar before continuing ConcurrentTestUtil.poll(6) { // cleaning b and rebuilding will cause b.jar to be different succeeds(":b:clean") succeeds(":a:javadoc") assert oldHash != bJar.md5Hash } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractFileSystemLocationSnapshot.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/software/resources-gcs/src/test/groovy/org/gradle/internal/resource/transport/gcp/gcs/GcsResourceTest.groovy
def "should get metaData"() { def lastModified = new DateTime(new Date()) def md5hash = '5ab81d4c80e1ee62e6f34e7b3271874e' def contentType = 'text/plain' def storageObject = new StorageObject() storageObject.setUpdated(lastModified) storageObject.setMd5Hash(md5hash) storageObject.setSize(BigInteger.ONE) storageObject.setContentType(contentType)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authorizationconfig/metrics/metrics.go
apiServerIDHash := getHash(apiServerID) authorizationConfigAutomaticReloadsTotal.WithLabelValues("failure", apiServerIDHash).Inc() authorizationConfigAutomaticReloadLastTimestampSeconds.WithLabelValues("failure", apiServerIDHash).SetToCurrentTime() } func RecordAuthorizationConfigAutomaticReloadSuccess(apiServerID string) { apiServerIDHash := getHash(apiServerID)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 13:20:59 UTC 2024 - 3K bytes - Viewed (0)