Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 130 for memhash (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. guava/src/com/google/common/collect/HashBiMap.java

                K oldKey = delegate.key;
                int keyHash = smearedHash(key);
                if (keyHash == delegate.keyHash && Objects.equal(key, oldKey)) {
                  return key;
                }
                checkArgument(seekByKey(key, keyHash) == null, "value already present: %s", key);
                delete(delegate);
                BiEntry<K, V> newEntry =
                    new BiEntry<>(key, keyHash, delegate.value, delegate.valueHash);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

            file("first/gradle/wrapper/gradle-wrapper.jar").md5Hash == file("second/gradle/wrapper/gradle-wrapper.jar").md5Hash
            file("first/gradle/wrapper/gradle-wrapper.properties").md5Hash == file("second/gradle/wrapper/gradle-wrapper.properties").md5Hash
            file("first/gradlew").md5Hash == file("second/gradlew").md5Hash
            file("first/gradlew.bat").md5Hash == file("second/gradlew.bat").md5Hash
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractFileSystemLocationSnapshot.java

                return false;
            }
            return getHash().equals(that.getHash());
        }
    
        @Override
        public int hashCode() {
            int result = absolutePath.hashCode();
            result = 31 * result + name.hashCode();
            result = 31 * result + accessType.hashCode();
            result = 31 * result + getHash().hashCode();
            return result;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

            return oldKey;
          }
        }
    
        int predecessor = lastInInsertionOrder;
        int keyHash = Hashing.smearedHash(key);
        int keyEntry = findEntryByKey(key, keyHash);
        if (force) {
          if (keyEntry != ABSENT) {
            predecessor = prevInInsertionOrder[keyEntry];
            removeEntryKeyHashKnown(keyEntry, keyHash);
          }
        } else {
          checkArgument(keyEntry == ABSENT, "Key already present: %s", key);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  10. 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)
Back to top