Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 127 for hashOf (0.36 sec)

  1. src/vendor/golang.org/x/crypto/sha3/sha3_s390x.go

    // otherwise it returns a generic implementation.
    func new224() hash.Hash {
    	if cpu.S390X.HasSHA3 {
    		return newAsmState(sha3_224)
    	}
    	return new224Generic()
    }
    
    // new256 returns an assembly implementation of SHA3-256 if available,
    // otherwise it returns a generic implementation.
    func new256() hash.Hash {
    	if cpu.S390X.HasSHA3 {
    		return newAsmState(sha3_256)
    	}
    	return new256Generic()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/descriptor/UrlRepositoryDescriptor.java

    import org.gradle.api.internal.artifacts.repositories.resolver.ResourcePattern;
    import org.gradle.api.internal.cache.StringInterner;
    import org.gradle.internal.hash.Hasher;
    import org.gradle.internal.hash.Hashing;
    import org.gradle.internal.scan.UsedByScanPlugin;
    
    import java.net.URI;
    import java.util.List;
    import java.util.function.Consumer;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typestring.go

    		if t.obj == nil {
    			w.error("unnamed type parameter")
    			break
    		}
    		if i := tparamIndex(w.tparams.list(), t); i >= 0 {
    			// The names of type parameters that are declared by the type being
    			// hashed are not part of the type identity. Replace them with a
    			// placeholder indicating their index.
    			w.string(fmt.Sprintf("$%d", i))
    		} else {
    			w.string(t.obj.name)
    			if w.tpSubscripts || w.ctxt != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/runtime/map_fast32.go

    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	hash := t.Hasher(noescape(unsafe.Pointer(&key)), uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher for consistency with mapassign.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
    	}
    
    again:
    	bucket := hash & bucketMask(h.B)
    	if h.growing() {
    		growWork_fast32(t, h, bucket)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. internal/hash/checksum.go

    		return "SHA1"
    	case c.Is(ChecksumSHA256):
    		return "SHA256"
    	case c.Is(ChecksumNone):
    		return ""
    	}
    	return "invalid"
    }
    
    // Hasher returns a hasher corresponding to the checksum type.
    // Returns nil if no checksum.
    func (c ChecksumType) Hasher() hash.Hash {
    	switch {
    	case c.Is(ChecksumCRC32):
    		return crc32.NewIEEE()
    	case c.Is(ChecksumCRC32C):
    		return crc32.New(crc32.MakeTable(crc32.Castagnoli))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 08 16:18:34 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/go/types/typestring.go

    		if t.obj == nil {
    			w.error("unnamed type parameter")
    			break
    		}
    		if i := tparamIndex(w.tparams.list(), t); i >= 0 {
    			// The names of type parameters that are declared by the type being
    			// hashed are not part of the type identity. Replace them with a
    			// placeholder indicating their index.
    			w.string(fmt.Sprintf("$%d", i))
    		} else {
    			w.string(t.obj.name)
    			if w.tpSubscripts || w.ctxt != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/hash/adler32/adler32.go

    type digest uint32
    
    func (d *digest) Reset() { *d = 1 }
    
    // New returns a new hash.Hash32 computing the Adler-32 checksum. Its
    // Sum method will lay the value out in big-endian byte order. The
    // returned Hash32 also implements [encoding.BinaryMarshaler] and
    // [encoding.BinaryUnmarshaler] to marshal and unmarshal the internal
    // state of the hash.
    func New() hash.Hash32 {
    	d := new(digest)
    	d.Reset()
    	return d
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/runtime/map_fast64.go

    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	hash := t.Hasher(noescape(unsafe.Pointer(&key)), uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher for consistency with mapassign.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
    	}
    
    again:
    	bucket := hash & bucketMask(h.B)
    	if h.growing() {
    		growWork_fast64(t, h, bucket)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. platforms/core-execution/hashing/build.gradle.kts

    plugins {
        id("gradlebuild.distribution.api-java")
        id("gradlebuild.publish-public-libraries")
    }
    
    description = "Tools for creating secure hashes for files and other content"
    
    gradlebuildJava.usedInWorkers() // org.gradle.internal.nativeintegration.filesystem.Stat is used in workers
    
    dependencies {
        api(projects.stdlibJavaExtensions)
    
        implementation(libs.guava)
        api(libs.jsr305)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 400 bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            def cachedClasspath = transformer.transform(classpath, transform)
    
            then:
            cachedClasspath.asFiles == [cachedFile]
    
            and:
            1 * transform.applyConfigurationTo(_) >> { Hasher hasher -> hasher.putInt(123) }
            1 * transform.apply(_, _, _) >> { entry, visitor, data ->
                assert entry.name == "a.class"
                Pair.of(entry.path, visitor)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top