Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 627 for Hashing (0.12 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/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)
  6. 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)
  7. 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)
  8. platforms/core-execution/build-cache/build.gradle.kts

        api(project(":build-cache-packaging"))
        api(project(":build-cache-spi"))
        api(project(":build-operations"))
        api(project(":enterprise-operations"))
        api(project(":files"))
        api(project(":hashing"))
        api(project(":snapshots"))
    
        api(libs.jsr305)
    
        api(projects.stdlibJavaExtensions)
        implementation(libs.commonsIo)
        api(libs.guava)
        implementation(libs.slf4jApi)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. subprojects/core/src/testFixtures/groovy/org/gradle/util/TestUtil.groovy

                            @Override
                            HashCode md5(File file) {
                                Hashing.md5().hashBytes(file.bytes)
                            }
    
                            @Override
                            HashCode sha1(File file) {
                                Hashing.sha1().hashBytes(file.bytes)
                            }
    
                            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/core-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/core/FileSystemExtensions.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.extensions.core
    
    import org.gradle.internal.file.FileType
    import org.gradle.internal.hash.HashCode
    import org.gradle.internal.hash.Hashing
    import java.io.File
    import java.util.Arrays
    
    
    fun fileSystemEntryType(file: File): FileType =
        when {
            !file.exists() -> FileType.Missing
            file.isDirectory -> FileType.Directory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 16:55:36 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top