- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 158 for hashOf (0.23 sec)
-
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt
} /** * A heuristic to get the same hash for different instances of an exception * occurring at the same location. */ private fun Failure.hashWithoutMessages(): HashCode { val root = this@hashWithoutMessages val hasher = Hashing.newHasher() for (failure in sequence { visitFailures(root) }) { hasher.putString(failure.exceptionType.name)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/instantiate.go
} if ctxt != nil { ctxts = append(ctxts, ctxt) } assert(len(ctxts) > 0) // Compute all hashes; hashes may differ across contexts due to different // unique IDs for Named types within the hasher. hashes := make([]string, len(ctxts)) for i, ctxt := range ctxts { hashes[i] = ctxt.instanceHash(orig, targs) } // Record the result in all contexts.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.7K bytes - Viewed (0) -
src/go/types/instantiate.go
} if ctxt != nil { ctxts = append(ctxts, ctxt) } assert(len(ctxts) > 0) // Compute all hashes; hashes may differ across contexts due to different // unique IDs for Named types within the hasher. hashes := make([]string, len(ctxts)) for i, ctxt := range ctxts { hashes[i] = ctxt.instanceHash(orig, targs) } // Record the result in all contexts.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tlog.go
th, hashes = subTreeHash(lo+k, hi, hashes) } else { // m is on right side th, hashes = subTreeHash(lo, lo+k, hashes) p, hashes = treeProof(lo+k, hi, n, hashes) } return append(p, th), hashes } // CheckTree verifies that p is a valid proof that the tree of size t with hash th // contains as a prefix the tree of size n with hash h. func CheckTree(p TreeProof, t int64, th Hash, n int64, h Hash) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 17.9K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java
} /** * Hash the given {@code hashable} instance with the default hash function. */ public static HashCode hashHashable(Hashable hashable) { Hasher hasher = newHasher(); hasher.put(hashable); return hasher.hash(); } /** * The default hashing function. */ public static HashFunction defaultFunction() { return DEFAULT;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:30 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java
} @Override public String toString() { return primitiveType.toString(array); } @Override public void appendToHasher(Hasher hasher) { primitiveType.appendTo(hasher, array); } @Override public ValueSnapshot snapshot(@Nullable Object value, ValueSnapshotter snapshotter) { PrimitiveType valueType = PrimitiveType.maybeOfValue(value);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 14.8K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_test.go
priv, _ := GenerateKey(c, rand.Reader) hashed := []byte("testing") r, s, err := Sign(rand.Reader, priv, hashed) if err != nil { t.Errorf("error signing: %s", err) return } if !Verify(&priv.PublicKey, hashed, r, s) { t.Errorf("Verify failed") } hashed[0] ^= 0xff if Verify(&priv.PublicKey, hashed, r, s) { t.Errorf("Verify always works!") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:58 UTC 2024 - 13.5K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
if contentHashSection(s) != 0 { panic("short hash of non-default-section sym " + s.Name) } var b goobj.Hash64Type copy(b[:], s.P) return b } // Compute the content hash for a content-addressable symbol. // We build a content hash based on its content and relocations. // Depending on the category of the referenced symbol, we choose // different hash algorithms such that the hash is globally // consistent.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/crypto/rsa/pkcs1v15.go
return nil, err } return boring.SignRSAPKCS1v15(bkey, hash, hashed) } return decrypt(priv, em, withCheck) } func pkcs1v15ConstructEM(pub *PublicKey, hash crypto.Hash, hashed []byte) ([]byte, error) { // Special case: crypto.Hash(0) is used to indicate that the data is // signed directly. var prefix []byte if hash != 0 { if len(hashed) != hash.Size() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:21 UTC 2024 - 12.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/worker_api.adoc
==== <1> Apply the `base` plugin so that you'll have a `clean` task to use to remove the output. <2> MD5 hash files will be written to `build/md5`. <3> This task will generate MD5 hash files for every file in the `src` directory. You will need some source to generate MD5 hashes from. Create three files in the `src` directory: .src/einstein.txt [source,text] ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Apr 28 13:41:08 UTC 2024 - 17.7K bytes - Viewed (0)