- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for HashString (0.17 sec)
-
cmd/xl-storage-format-utils.go
for k, v := range m { // Separate key and value with an individual xor with a random number. // Add values of each, so they cannot be trivially collided. crc ^= (xxh3.HashString(k) ^ 0x4ee3bbaf7ab2506b) + (xxh3.HashString(v) ^ 0x8da4c8da66194257) } return crc } // hashDeterministicBytes will return a deterministic (weak) hash for the map values.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 22:18:44 UTC 2024 - 5.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/vcs/internal/SourceDependencies.groovy
import org.gradle.test.fixtures.file.TestFile import static org.gradle.internal.hash.Hashing.hashString @SelfType(AbstractIntegrationSpec) trait SourceDependencies { TestFile checkoutDir(String repoName, String versionId, String repoId, TestFile baseDir=testDirectory) { def prefix = repoName.take(9) def hashedCommit = hashString("${repoId}-${versionId}").toCompactString()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.2K bytes - Viewed (0) -
internal/logger/logger.go
Source: trace, Variables: tags, } } else { entry.Message = message } if anonFlag { entry.API.Args.Bucket = HashString(entry.API.Args.Bucket) entry.API.Args.Object = HashString(entry.API.Args.Object) entry.RemoteHost = HashString(entry.RemoteHost) if entry.Trace != nil { entry.Trace.Variables = make(map[string]interface{}) } } return entry }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.4K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java
return DEFAULT.hashBytes(bytes); } /** * Hash the given string with the default hash function. */ public static HashCode hashString(CharSequence string) { return DEFAULT.hashString(string); } /** * Hash the contents of the given {@link java.io.InputStream} with the default hash function. */
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/software/version-control/src/main/java/org/gradle/vcs/internal/services/DefaultVersionControlRepositoryFactory.java
import java.util.Set; import java.util.function.Supplier; import static org.gradle.api.internal.cache.CacheConfigurationsInternal.DEFAULT_MAX_AGE_IN_DAYS_FOR_CREATED_CACHE_ENTRIES; import static org.gradle.internal.hash.Hashing.hashString; import static org.gradle.internal.time.TimestampSuppliers.daysAgo; public class DefaultVersionControlRepositoryFactory implements VersionControlRepositoryConnectionFactory, Stoppable {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 18:35:55 UTC 2024 - 6.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go
func (h Hasher) Hash(t types.Type) uint32 { hash, ok := h.memo[t] if !ok { hash = h.hashFor(t) h.memo[t] = hash } return hash } // hashString computes the Fowler–Noll–Vo hash of s. func hashString(s string) uint32 { var h uint32 for i := 0; i < len(s); i++ { h ^= uint32(s[i]) h *= 16777619 } return h } // hashFor computes the hash of t.
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/coverage/cfile/testsupport.go
// hash (just in case there are multiple instrumented executables // in play). See issue #57924 for more on this. hashstring := fmt.Sprintf("%x", finalHash) importpaths := make(map[string]struct{}) for _, p := range podlist { if !strings.Contains(p.MetaFile, hashstring) { continue } if err := ts.processPod(p, importpaths); err != nil { return err } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 8.7K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
return xxh3.HashString(f.TransitionedObject.Tier + f.TransitionedObject.Name) } func (n newerNoncurrentTask) OpHash() uint64 { return xxh3.HashString(n.bucket + n.versions[0].ObjectV.ObjectName) } func (j jentry) OpHash() uint64 { return xxh3.HashString(j.TierName + j.ObjName) } func (e expiryTask) OpHash() uint64 { return xxh3.HashString(e.objInfo.Bucket + e.objInfo.Name) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 33.3K bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
// differently on each nodes, update skipEnvs() // map if there are such environment values if _, ok := skipEnvs[envK]; ok { continue } envValues[envK] = logger.HashString(env.Get(envK, "")) } scfg := &ServerSystemConfig{NEndpoints: globalEndpoints.NEndpoints(), MinioEnv: envValues} var cmdLines []string for _, ep := range globalEndpoints { cmdLines = append(cmdLines, ep.CmdLine)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 7.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/CachingModuleComponentRepositoryTest.groovy
def file = new File("local") def result = Stub(BuildableArtifactFileResolveResult) { getFile() >> file getFailure() >> null } def descriptorHash = Hashing.sha1().hashString("Hello") def moduleSource = Stub(ModuleDescriptorHashModuleSource) { getDescriptorHash() >> descriptorHash }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 11.6K bytes - Viewed (0)