Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 706 for checkdup (0.5 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoryContentFilteringIntegrationTest.groovy

            buildFile << """
                dependencies {
                    conf "org:foo:1.0"
                }
            """
    
            when:
            mod.ivy.expectGet()
            mod.artifact.expectGet()
    
            run 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', ':test:') {
                    module('org:foo:1.0')
                }
            }
    
            where:
            notation << [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MixedMavenAndIvyModulesIntegrationTest.groovy

                .dependsOn(ivyModule)
                .publish()
    
            buildFile << """
    dependencies {
        conf 'org.test:maven:1.0'
    }
    """
            expect:
            succeeds 'checkDep'
            resolve.expectGraph {
                root(':', ':testproject:') {
                    module('org.test:maven:1.0:runtime') {
                        module('org.test:ivy:1.0') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/KotlinDslVersionCatalogExtensionIntegrationTest.groovy

                    }
                }
    
                tasks.register<CheckDeps>("checkDeps") {
                    files.from(configurations.compileClasspath)
                    expected.set(listOf("lib-1.1.jar"))
                }
            """
    
            when:
            lib.pom.expectGet()
            lib.artifact.expectGet()
    
            then:
            succeeds ':checkDeps'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDynamicRevisionResolveIntegrationTest.groovy

                }
    """
    
            when:
            repositoryInteractions {
                'org.test:projectA' {
                    expectVersionListing()
                }
            }
            runAndFail 'checkDeps'
    
            then:
            failureHasCause 'Could not find any matches for org.test:projectA:latest.integration as no versions of org.test:projectA are available.'
    
            when:
            resetExpectations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy

                }
            """
    
            when:
            repositoryInteractions {
                'org:module:1.0' {
                    expectResolve()
                }
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module('org:module:1.0')
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/filestore/TwoStageArtifactIdentifierFileStoreTest.groovy

            1 * writeStore.whereIs(key, "checksum") >> { missing }
            1 * readStore.whereIs(key, "checksum") >> { found }
    
            expect:
            twoStageStore.whereIs(key, "checksum") == found
        }
    
        def "whereIs uses file found in write store"() {
            def found = Stub(File) {
                exists() >> true
            }
    
            1 * writeStore.whereIs(key, "checksum") >> { found }
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/tutorial/antLoadfileWithMethod/groovy/build.gradle

    tasks.register('checksum') {
        doLast {
            fileList('./antLoadfileResources').each { File file ->
                ant.checksum(file: file, property: "cs_$file.name")
                println "$file.name Checksum: ${ant.properties["cs_$file.name"]}"
            }
        }
    }
    
    tasks.register('loadfile') {
        doLast {
            fileList('./antLoadfileResources').each { File file ->
                ant.loadfile(srcFile: file, property: file.name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 599 bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

             */
            @Nonnull
            String getName();
    
            /**
             * Returns the file extension to be used for given checksum file (without leading dot), never {@code null}. The
             * extension should be file and URL path friendly, and may differ from algorithm name.
             * The checksum extension SHOULD NOT contain dot (".") character.
             * Example: "sha1".
             */
            @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 21 08:05:10 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/tutorial/antLoadfileWithMethod/kotlin/build.gradle.kts

    tasks.register("checksum") {
        doLast {
            fileList("./antLoadfileResources").forEach { file ->
                ant.withGroovyBuilder {
                    "checksum"("file" to file, "property" to "cs_${file.name}")
                }
                println("$file.name Checksum: ${ant.properties["cs_${file.name}"]}")
            }
        }
    }
    
    tasks.register("loadfile") {
        doLast {
            fileList("./antLoadfileResources").forEach { file ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 723 bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/checkpoint/checkpoint.go

    	cp.Checksum = checksum.New(cp.Data)
    	return json.Marshal(*cp)
    }
    
    // UnmarshalCheckpoint returns unmarshalled data
    func (cp *Data) UnmarshalCheckpoint(blob []byte) error {
    	return json.Unmarshal(blob, cp)
    }
    
    // VerifyChecksum verifies that passed checksum is same as calculated checksum
    func (cp *Data) VerifyChecksum() error {
    	return cp.Checksum.Verify(cp.Data)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top