Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for hashOf (0.22 sec)

  1. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonServer.java

                // Return a dummy implementation of this as creating a real file hasher drags numerous other services
                // along with it, and a file hasher isn't actually needed on the worker process side at the moment.
                return new FileHasher() {
                    @Override
                    public HashCode hash(File file) {
                        throw new UnsupportedOperationException();
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/runtime/map_faststr.go

    		fatal("concurrent map writes")
    	}
    	key := stringStructOf(&s)
    	hash := t.Hasher(noescape(unsafe.Pointer(&s)), 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_faststr(t, h, bucket)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

            .isEqualTo(InetAddresses.forString("0.0.0.0"));
    
        // test compat address (should be hashed)
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("::1.2.3.4")))
            .isNotEqualTo(InetAddresses.forString("1.2.3.4"));
    
        // test 6to4 address (should be hashed)
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2002:0102:0304::1")))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java

                @Override
                public void applyConfigurationTo(Hasher hasher) {
                    hasher.putString(GroovyScriptClassCompiler.class.getSimpleName());
                    hasher.putInt(1); // transformation version
                    hasher.putString(className);
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:23:24 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. src/crypto/rsa/pss.go

    	SaltLength int
    
    	// Hash is the hash function used to generate the message digest. If not
    	// zero, it overrides the hash function passed to SignPSS. It's required
    	// when using PrivateKey.Sign.
    	Hash crypto.Hash
    }
    
    // HashFunc returns opts.Hash so that [PSSOptions] implements [crypto.SignerOpts].
    func (opts *PSSOptions) HashFunc() crypto.Hash {
    	return opts.Hash
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/service/scopes/VirtualFileSystemServices.java

    import org.gradle.internal.fingerprint.impl.FileCollectionFingerprinterRegistrations;
    import org.gradle.internal.hash.DefaultFileHasher;
    import org.gradle.internal.hash.FileHasher;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.StreamHasher;
    import org.gradle.internal.nativeintegration.NativeCapabilities;
    import org.gradle.internal.nativeintegration.filesystem.FileSystem;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. src/crypto/ed25519/ed25519.go

    // panic if len(publicKey) is not [PublicKeySize].
    //
    // If opts.Hash is [crypto.SHA512], the pre-hashed variant Ed25519ph is used and
    // message is expected to be a SHA-512 hash, otherwise opts.Hash must be
    // [crypto.Hash](0) and the message must not be hashed, as Ed25519 performs two
    // passes over messages to be signed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/internal/concurrent/hashtriemap.go

    		// don't want readers to be able to observe that oldEntry isn't in the tree.
    		slot.Store(ht.expand(oldEntry, newEntry, hash, hashShift, i))
    	}
    	return value, false
    }
    
    // expand takes oldEntry and newEntry whose hashes conflict from bit 64 down to hashShift and
    // produces a subtree of indirect nodes to hold the two new entries.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/crypto/tls/auth.go

    	switch signatureAlgorithm {
    	case PKCS1WithSHA1, ECDSAWithSHA1:
    		hash = crypto.SHA1
    	case PKCS1WithSHA256, PSSWithSHA256, ECDSAWithP256AndSHA256:
    		hash = crypto.SHA256
    	case PKCS1WithSHA384, PSSWithSHA384, ECDSAWithP384AndSHA384:
    		hash = crypto.SHA384
    	case PKCS1WithSHA512, PSSWithSHA512, ECDSAWithP521AndSHA512:
    		hash = crypto.SHA512
    	case Ed25519:
    		hash = directSigning
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/compress/flate/deflate.go

    }
    
    const hashmul = 0x1e35a7bd
    
    // hash4 returns a hash representation of the first 4 bytes
    // of the supplied slice.
    // The caller must ensure that len(b) >= 4.
    func hash4(b []byte) uint32 {
    	return ((uint32(b[3]) | uint32(b[2])<<8 | uint32(b[1])<<16 | uint32(b[0])<<24) * hashmul) >> (32 - hashBits)
    }
    
    // bulkHash4 will compute hashes using the same
    // algorithm as hash4.
    func bulkHash4(b []byte, dst []uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top