Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for HashString (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top