Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 471 for defn (0.07 sec)

  1. platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerializationTest.groovy

        def "can serialize and deserialize a validation problem"() {
            given:
            def problem = problemReporter.create {
                it.id("id", "label", GradleCoreProblemGroup.validation())
            }
    
            when:
            def json = gson.toJson([problem])
            def deserialized = ValidationProblemSerialization.parseMessageList(json)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    def ComplexTensor : TensorOf<[AnyComplex]>;
    def RealTensor : TensorOf<[AnySignlessInteger, AnyFloat]>;
    
    def LowerSquareOp : Pat<(TF_SquareOp $val), (TF_MulOp $val, $val)>;
    
    def LowerSquaredDifferenceOpOnRealTensors : Pat<
      (TF_SquaredDifferenceOp RealTensor: $lhs, RealTensor:$rhs),
      (TF_SquareOp (TF_SubOp $lhs, $rhs))>;
    
    def LowerSquaredDifferenceOpOneComplexTensors : Pat<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultMutableMavenModuleResolveMetadataTest.groovy

        }
    
        def "can override values from descriptor"() {
            def id = DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId("group", "module"), "version")
            def newId = DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId("group", "module"), "1.2")
            def sources = ImmutableModuleSources.of(Stub(ModuleSource))
    
            def metadata = mavenMetadataFactory.create(id, [])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentResultSerializerTest.groovy

            def extId = DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId('group', 'external'), '1.0')
            def attributes = AttributeTestUtil.attributesFactory().mutable()
            attributes.attribute(Attribute.of('type', String), 'custom')
            attributes.attribute(Attribute.of('format', String), 'jar')
            def v1Result = Mock(ResolvedVariantResult)
            def v1State = Mock(VariantGraphResolveState) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/IntQuestionPromptEventTest.groovy

    class IntQuestionPromptEventTest extends Specification {
        def "formats prompt"() {
            def event = new IntQuestionPromptEvent(123, "question?", 2, 4)
            assert event.prompt == "enter value (min: 2, default: 4): "
        }
    
        def "accepts valid input"() {
            def event = new IntQuestionPromptEvent(123, "question?", 2, 4)
    
            expect:
            def result = event.convert(input)
            result.response == expected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/CachingToolingImplementationLoaderTest.groovy

            0 * _._
        }
    
        def "creates a new implementation when classpath has not been seen before"() {
            def connection1 = Mock(ConsumerConnection)
            def connection2 = Mock(ConsumerConnection)
            def distribution1 = Mock(Distribution)
            def distribution2 = Mock(Distribution)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 09:39:07 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy

            configurationCache.assertStateLoaded()
        }
    
        def "can publish ivy publication metadata to remote repository"() {
            def username = "someuser"
            def password = "somepassword"
            def projectConfig = configureProject(username, password, "ivyRepo", false)
            def configurationCache = newConfigurationCacheFixture()
            def metadataFile = file('build/publications/ivy/module.json')
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/CaptureTestOutputTestResultProcessorTest.groovy

            1 * redirector.setOutputOwner("2")
            0 * _
        }
    
        def "when test completes its parent will be the owner of output"() {
            def test = new DefaultTestDescriptor("2", "Bar", "Baz")
            def testEvent = new TestStartEvent(2, "99")
            def complete = new TestCompleteEvent(1)
    
            processor.started(new DefaultTestSuiteDescriptor("1", "Foo"), new TestStartEvent(1))
            processor.started(test, testEvent)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. platforms/software/version-control/src/test/groovy/org/gradle/vcs/git/internal/GitVersionControlSystemSpec.groovy

        def 'reset a cloned repository with local commits'() {
            given:
            def target = tmpDir.file('versionDir')
            gitVcs.populate(target, repoHead, repoSpec)
    
            def removed = target.file("source.txt")
            removed.delete()
            def changed = target.file("dir/another.txt")
            changed << "changed!"
    
            def targetRepo = GitFileRepository.init(target)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 13:11:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

            def fromFirstExtraction = extractor.extract(AbstractPropertyRules)
            def fromSecondExtraction = extractor.extract(AbstractPropertyRules)
    
            then:
            !fromFirstExtraction.is(fromSecondExtraction)
        }
    
        def "cache does not hold strong references"() {
            given:
            def cl = new GroovyClassLoader(getClass().classLoader)
            def source = cl.parseClass('''
                import org.gradle.model.*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top