- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for HashString (0.2 sec)
-
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) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorFragments.kt
import kotlinx.metadata.flagsOf import kotlinx.metadata.jvm.JvmMethodSignature import org.gradle.api.reflect.TypeOf import org.gradle.internal.deprecation.ConfigurationDeprecationType import org.gradle.internal.hash.Hashing.hashString import org.gradle.kotlin.dsl.internal.sharedruntime.codegen.primitiveTypeStrings import org.gradle.kotlin.dsl.support.bytecode.ALOAD import org.gradle.kotlin.dsl.support.bytecode.ARETURN
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:46 UTC 2024 - 40.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java
import static org.gradle.integtests.fixtures.executer.OutputScrapingExecutionResult.normalizeLambdaIds; import static org.gradle.internal.hash.Hashing.hashString; import static org.gradle.util.Matchers.normalizedLineSeparators; import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.hasItem;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 37.1K bytes - Viewed (0) -
guava/src/com/google/common/hash/Hashing.java
* have the bug. * * @deprecated This implementation produces incorrect hash values from the {@link * HashFunction#hashString} method if the string contains non-BMP characters. Use {@link * #murmur3_32_fixed(int)} instead. */ @Deprecated public static HashFunction murmur3_32(int seed) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 09 00:37:15 UTC 2024 - 32.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* have the bug. * * @deprecated This implementation produces incorrect hash values from the {@link * HashFunction#hashString} method if the string contains non-BMP characters. Use {@link * #murmur3_32_fixed(int)} instead. */ @Deprecated public static HashFunction murmur3_32(int seed) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 09 00:37:15 UTC 2024 - 29.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt
} private fun implicitImportFileFor(scriptPlugin: PrecompiledScriptPlugin): File = metadataOutputDir.get().asFile.resolve(scriptPlugin.hashString) } internal data class HashedProjectSchema( val schema: TypedProjectSchema, val hash: HashCode = hashCodeFor(schema) ) { val packageName by lazy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:10:49 UTC 2024 - 24.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompiler.kt
secondStageScriptText.length >= 16 * 1024 private fun storeStringToResource(secondStageScriptText: String): String { val hash = Hashing.hashString(secondStageScriptText) val resourcePath = "scripts/$hash.gradle.kts" writeResourceFile(resourcePath, secondStageScriptText) return resourcePath } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 27.1K bytes - Viewed (0) -
cmd/admin-handlers.go
// We XOR, so order doesn't matter. for _, v := range c.DNSNames { check ^= xxh3.HashString(v) } for _, v := range c.EmailAddresses { check ^= xxh3.HashString(v) } for _, v := range c.IPAddresses { check ^= xxh3.HashString(v.String()) } for _, v := range c.URIs { check ^= xxh3.HashString(v.String()) } tlsInfo.Certs = append(tlsInfo.Certs, madmin.TLSCert{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0) -
internal/grid/connection.go
// It should be 50% chance of any host initiating the connection. func (c *Connection) shouldConnect() bool { // The remote should have the opposite result. h0 := xxh3.HashString(c.Local + c.Remote) h1 := xxh3.HashString(c.Remote + c.Local) if h0 == h1 { return c.Local < c.Remote } return h0 < h1 } func (c *Connection) send(ctx context.Context, msg []byte) error { select {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 44.8K bytes - Viewed (0) -
cmd/bucket-replication.go
// Must be able to grab read lock from p. func (p *ReplicationPool) getWorkerCh(bucket, object string, sz int64) chan<- ReplicationWorkerOperation { h := xxh3.HashString(bucket + object) p.mu.RLock() defer p.mu.RUnlock() if len(p.workers) == 0 { return nil } return p.workers[h%uint64(len(p.workers))] }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 114.4K bytes - Viewed (0)