Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 768 for Hashing (0.71 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/local/LazyLocallyAvailableResourceCandidatesTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.resource.local
    
    import org.gradle.internal.Factory
    import org.gradle.internal.hash.Hashing
    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.gradle.util.TestUtil
    import org.junit.Rule
    import spock.lang.Specification
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java

    import org.gradle.internal.classpath.types.InstrumentationTypeRegistry;
    import org.gradle.internal.file.FileType;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hasher;
    import org.gradle.internal.hash.Hashing;
    import org.gradle.internal.snapshot.FileSystemLocationSnapshot;
    
    import java.io.File;
    import java.io.IOException;
    
    import static java.lang.String.format;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:36:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/CachedDependencyResolutionIntegrationTest.groovy

            server.sendLastModified = false
            byte[] jarBytes = [0, 0, 0, 5] // this should produce leading zeros
            module.jarFile.bytes = jarBytes
            sha1.text = Hashing.sha1().hashBytes(jarBytes).toZeroPaddedString(Hashing.sha1().hexDigits)
            initialResolve()
            expect:
            headThenSha1Requests()
            trimLeadingZerosFromSHA1(sha1)
            unchangedResolve()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/build.gradle.kts

    }
    
    moduleIdentity.createBuildReceipt()
    
    dependencies {
        api(projects.concurrent)
        api(projects.stdlibJavaExtensions)
        api(projects.fileTemp)
        api(projects.serviceProvider)
        api(project(":hashing"))
        api(project(":build-operations"))
        api(libs.inject)
        api(libs.jsr305)
        api(libs.guava)
    
        implementation(projects.io)
        implementation(projects.time)
    
        implementation(libs.asm)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/cache/internal/BuildScopeCacheDir.java

    import org.gradle.api.internal.SettingsInternal;
    import org.gradle.initialization.GradleUserHomeDirProvider;
    import org.gradle.initialization.layout.BuildLayout;
    import org.gradle.internal.hash.Hashing;
    
    import java.io.File;
    
    public class BuildScopeCacheDir {
        public static final String UNDEFINED_BUILD = "undefined-build/";
    
        private final File cacheDir;
    
        public BuildScopeCacheDir(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 18:02:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top