- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,634 for jasper (0.13 sec)
-
guava/src/com/google/common/hash/Hashing.java
function.bits(), function); } } @Override HashCode makeHash(Hasher[] hashers) { byte[] bytes = new byte[bits() / 8]; int i = 0; for (Hasher hasher : hashers) { HashCode newHash = hasher.hash(); i += newHash.writeBytesTo(bytes, i, newHash.bits() / 8); } return HashCode.fromBytesNoCopy(bytes); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 09 00:37:15 UTC 2024 - 32.3K bytes - Viewed (0) -
pkg/ledger/smt_test.go
"istio.io/istio/pkg/cache" "istio.io/istio/pkg/test/util/assert" ) func TestSmtEmptyTrie(t *testing.T) { smt := newSMT(hasher, nil, time.Minute) if !bytes.Equal([]byte{}, smt.root) { t.Fatal("empty trie root hash not correct") } } func TestSmtUpdateAndGet(t *testing.T) { smt := newSMT(hasher, nil, time.Minute) smt.atomicUpdate = false // Add data to empty trie keys := getFreshData(10)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashable.java
*/ package org.gradle.internal.hash; /** * A snapshot of the state of some thing. */ public interface Hashable { /** * Appends the snapshot to the given hasher. */ void appendToHasher(Hasher hasher);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:43:29 UTC 2023 - 837 bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/hashing/ConfigurableNormalizer.java
*/ package org.gradle.internal.fingerprint.hashing; import org.gradle.internal.hash.Hasher; /** * A resource normalizer which is configurable. * * Allows tracking changes to its configuration. */ public interface ConfigurableNormalizer { void appendConfigurationToHasher(Hasher hasher);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 913 bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/DefaultStreamHasher.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:43:29 UTC 2023 - 2.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/ClassTransform.java
import org.gradle.internal.classpath.ClasspathEntryVisitor; import org.gradle.internal.hash.Hasher; import org.objectweb.asm.ClassVisitor; import java.io.IOException; /** * Transform that modifies a class */ public interface ClassTransform { void applyConfigurationTo(Hasher hasher);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 07:56:59 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKey.kt
} private fun Hasher.putBuildScan() { putByte( startParameter.run { when { isNoBuildScan -> 0 isBuildScan -> 1 else -> 3 } } ) } private fun Hasher.appendRequestedTasks() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/ImplementationSnapshotTest.groovy
hash(actionLambdaSnapshot) != hash(consumerLambdaSnapshot) } private HashCode hash(Hashable hashable) { def hasher = Hashing.newHasher() hasher.put(hashable) return hasher.hash() } private ImplementationSnapshot createLambdaSnapshot(lambda) { ImplementationSnapshot.of(lambda.getClass().name, lambda, SHARED_CLASSLOADER_HASH) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 23:46:07 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/IgnoredPathFileSystemLocationFingerprint.java
return -1; } return normalizedContentHash.compareTo(o.getNormalizedContentHash()); } @Override public void appendToHasher(Hasher hasher) { hasher.putHash(normalizedContentHash); } @Override public boolean equals(Object o) { if (this == o) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 3.3K bytes - Viewed (0) -
pkg/ledger/ledger_test.go
lastHash, err := l.Put("foo", "bar") assert.NoError(t, err) assert.Equal(t, firstHash, lastHash) } func MyHasher(data ...[]byte) (result []byte) { hasher := murmur3.New64() for i := 0; i < len(data); i++ { hasher.Write(data[i]) } result = hasher.Sum(nil) hasher.Reset() return } func TestCollision(t *testing.T) { hit := false HashCollider := func(data ...[]byte) []byte { if hit {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 12 16:12:59 UTC 2023 - 4K bytes - Viewed (0)