- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for hashPtr (0.83 sec)
-
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go
// Map.Lookup require updates to the hasher, so a full Mutex lock (not a // read-lock) is require around all Map operations if a shared // hasher is accessed from multiple threads. // // If SetHasher is not called, the Map will create a private hasher at // the first call to Insert. func (m *Map) SetHasher(hasher Hasher) { m.hasher = hasher } // Delete removes the entry with the given key, if any.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13.9K bytes - Viewed (0) -
src/internal/bytealg/bytealg.go
// If MaxLen is not 0, make sure MaxLen >= 4. var MaxLen int // PrimeRK is the prime base used in Rabin-Karp algorithm. const PrimeRK = 16777619 // HashStr returns the hash and the appropriate multiplicative // factor for use in Rabin-Karp algorithm. func HashStr[T string | []byte](sep T) (uint32, uint32) { hash := uint32(0) for i := 0; i < len(sep); i++ { hash = hash*PrimeRK + uint32(sep[i]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 19:51:15 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:30 UTC 2024 - 12.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java
transform.applyConfigurationTo(hasher); return hasher.hash(); } private static ClasspathFileHasher createFileHasherWithConfig(HashCode configHash, ClasspathFileHasher fileHasher) { return sourceSnapshot -> { Hasher hasher = Hashing.newHasher(); hasher.putHash(configHash); hasher.putHash(fileHasher.hashOf(sourceSnapshot));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 27 13:36:38 UTC 2024 - 6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/GradleSerializedValueSnapshot.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:46:00 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc
} else { shardings_result.push_back(sharding_next); } } } bool IsValidShardingTupleForArity(Operation* op) { if (!op->hasAttr(kXLAShardingAttr) && !op->hasAttr(kShardingAttr)) { return true; } std::string shard_string; if (op->hasAttr(kXLAShardingAttr)) { shard_string = op->getAttrOfType<StringAttr>(kXLAShardingAttr).strref().str(); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 06:51:01 UTC 2024 - 21.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/JavaSerializedValueSnapshot.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 12:37:11 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/EnumValueSnapshot.java
} return false; } @Override public void appendToHasher(Hasher hasher) { hasher.putString(className); hasher.putString(name); } @Override public boolean equals(Object obj) { if (obj == this) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:30:43 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultFileSystemLocationFingerprint.java
default: throw new IllegalStateException("Unknown file type: " + fileType); } } @Override public final void appendToHasher(Hasher hasher) { hasher.putString(getNormalizedPath()); hasher.putHash(getNormalizedContentHash()); } @Override public FileType getType() { if (normalizedContentHash.equals(DIR_SIGNATURE)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:35 UTC 2024 - 3.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/ClasspathElementTransformFactoryForAgent.java
this.classpathBuilder = classpathBuilder; this.classpathWalker = classpathWalker; } @Override public void applyConfigurationTo(Hasher hasher) { hasher.putInt(AGENT_INSTRUMENTATION_VERSION); } @Override public ClasspathElementTransform createTransformer(File file, ClassTransform classTransform, InstrumentationTypeRegistry typeRegistry) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 08:02:27 UTC 2024 - 2K bytes - Viewed (0)