Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 883 for Hashing (0.15 sec)

  1. guava/src/com/google/common/hash/Hashing.java

       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
       * functions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.
       *
       * @since 19.0
       */
      public static HashFunction concatenating(
          HashFunction first, HashFunction second, HashFunction... rest) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

    import static org.gradle.internal.hash.HashCode.Usage.SAFE_TO_REUSE_BYTES;
    
    /**
     * Some popular hash functions. Replacement for Guava's hashing utilities.
     * Inspired by the Google Guava project – https://github.com/google/guava.
     */
    public class Hashing {
        private Hashing() {
        }
    
        private static final HashFunction MD5 = MessageDigestHashFunction.of("MD5");
    
    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. android/guava/src/com/google/common/hash/Hashing.java

       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
       * functions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.
       *
       * @since 19.0
       */
      public static HashFunction concatenating(
          HashFunction first, HashFunction second, HashFunction... rest) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy

        TestFile getSha1File(TestFile file) {
            getHashFile(file, Hashing.sha1())
        }
    
        TestFile sha1File(TestFile file) {
            hashFile(file, Hashing.sha1())
        }
    
        TestFile getSha256File(TestFile file) {
            getHashFile(file, Hashing.sha256())
        }
    
        TestFile sha256File(TestFile file) {
            hashFile(file, Hashing.sha256())
        }
    
        TestFile getSha512File(TestFile file) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultCachingStateFactory.java

     * limitations under the License.
     */
    
    package org.gradle.internal.execution.caching.impl;
    
    import com.google.common.collect.ImmutableList;
    import org.gradle.internal.execution.caching.CachingDisabledReason;
    import org.gradle.internal.execution.caching.CachingState;
    import org.gradle.internal.execution.caching.CachingStateFactory;
    import org.gradle.internal.execution.history.BeforeExecutionState;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/build.gradle.kts

    description = "Tools to take immutable, comparable snapshots of files and other things"
    
    dependencies {
        api(projects.stdlibJavaExtensions)
        api(project(":files"))
        api(project(":functional"))
        api(project(":hashing"))
    
        api(libs.guava)
        api(libs.jsr305)
    
        implementation(libs.slf4jApi)
    
        testImplementation(project(":process-services"))
        testImplementation(project(":resources"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-base/build.gradle.kts

    }
    
    description = "Common shared build cache classes"
    
    dependencies {
        implementation(projects.stdlibJavaExtensions)
    
        api(projects.files)
        api(projects.hashing)
    
        testImplementation(testFixtures(projects.hashing))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 329 bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/alg.go

    // license that can be found in the LICENSE file.
    
    package types
    
    import "cmd/compile/internal/base"
    
    // AlgKind describes the kind of algorithms used for comparing and
    // hashing a Type.
    type AlgKind int8
    
    //go:generate stringer -type AlgKind -trimprefix A alg.go
    
    const (
    	AUNK   AlgKind = iota
    	ANOEQ          // Types cannot be compared
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpArtifact.groovy

                sha1File.assertIsFile()
                assert HashCode.fromString(sha1File.text) == Hashing.sha1().hashFile(getFile())
            }
            if (server.supportsHash(HttpServer.SupportedHash.MD5)) {
                def md5File = getMd5File()
                md5File.assertIsFile()
                assert HashCode.fromString(md5File.text) == Hashing.md5().hashFile(getFile())
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/verification/DependencyVerificationFixture.groovy

                        function = Hashing.sha1()
                    } else if (algo == "md5") {
                        function = Hashing.md5()
                    }
                    break
                case "sha256":
                    function = Hashing.sha256()
                    break
                case "sha512":
                    function = Hashing.sha512()
                    break
                default:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top