Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,606 for Hashing (0.12 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MerkleDirectorySnapshotBuilder.java

     */
    
    package org.gradle.internal.snapshot;
    
    import org.gradle.internal.file.FileMetadata.AccessType;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hasher;
    import org.gradle.internal.hash.Hashing;
    
    import javax.annotation.Nullable;
    import java.util.ArrayDeque;
    import java.util.ArrayList;
    import java.util.Deque;
    import java.util.List;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheServiceTest.groovy

    import org.gradle.internal.file.FileMetadata
    import org.gradle.internal.file.impl.DefaultFileMetadata
    import org.gradle.internal.fingerprint.hashing.ResourceHasher
    import org.gradle.internal.hash.HashCode
    import org.gradle.internal.hash.Hashing
    import org.gradle.internal.hash.TestHashCodes
    import org.gradle.internal.serialize.HashCodeSerializer
    import org.gradle.internal.snapshot.RegularFileSnapshot
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashCodeTest.groovy

            then:
            thrown Exception
        }
    
        def "can create compact string representation"() {
            expect:
            Hashing.md5().hashString("").toCompactString() == "ck2u8j60r58fu0sgyxrigm3cu"
            Hashing.md5().hashString("a").toCompactString() == "r6p51cluyxfm1x21kf967yw1"
            Hashing.md5().hashString("i").toCompactString() == "7ycx034q3zbhupl01mv32dx6p"
        }
    
        def "can create zero-padded hex representation"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasherTest.groovy

    import org.gradle.internal.file.FileType
    import org.gradle.internal.fingerprint.LineEndingSensitivity
    import org.gradle.internal.fingerprint.hashing.RegularFileSnapshotContext
    import org.gradle.internal.fingerprint.hashing.ResourceHasher
    import org.gradle.internal.fingerprint.hashing.ZipEntryContext
    import org.gradle.internal.hash.Hashing
    import org.gradle.internal.io.IoFunction
    import org.gradle.internal.snapshot.RegularFileSnapshot
    import spock.lang.Specification
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/smb1/util/HMACT64.java

    /* HMACT64 keyed hashing algorithm
     * Copyright (C) 2003 "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/HMACT64.java

    /* HMACT64 keyed hashing algorithm
     * Copyright (C) 2003 "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

            }
            if (!bits.get(combinedHash % bitSize)) {
              return false;
            }
          }
          return true;
        }
      },
      /**
       * This strategy uses all 128 bits of {@link Hashing#murmur3_128} when hashing. It looks different
       * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the
       * loop and doing a (much simpler) += hash2. We're also changing the index to a positive number by
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K 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