Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 4,411 for def2 (0.06 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

        def "can set untyped using provider"() {
            def provider = supplierWithValues(someValue(), someValue())
    
            given:
            def property = propertyWithNoValue()
            property.setFromAnyValue(provider)
    
            expect:
            property.present
            property.get() == someValue()
        }
    
        def "convention value is used before value has been set"() {
            def property = propertyWithNoValue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultAttributeMatcherTest.groovy

        def "selects candidate with subset of attributes and whose values match"() {
            given:
            def matcher = new DefaultAttributeMatcher(schema)
    
            def usage = Attribute.of('usage', String)
            schema.attribute(usage)
            def other = Attribute.of('other', String)
            schema.attribute(other)
    
            def candidate1 = attributes(usage: "match")
            def candidate2 = attributes(usage: "no match")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

        def classpathWalker = new ClasspathWalker(TestFiles.fileSystem())
        def classpathBuilder = new DefaultClasspathBuilder(TestFiles.tmpDirTemporaryFileProvider(testDirectoryProvider.createDir("tmp")))
        def fileSystemAccess = TestFiles.fileSystemAccess()
        def globalCacheLocations = Stub(GlobalCacheLocations)
        def fileLockManager = Stub(FileLockManager)
        def agentStatus = Stub(AgentStatus) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionTest.groovy

            0 * _
        }
    
        def "file tree is live"() {
            def source1 = Mock(FileCollectionInternal)
            def source2 = Mock(FileCollectionInternal)
            def dir1 = new File("dir1")
            def dir2 = new File("dir1")
            def dir3 = new File("dir1")
            def source3 = Mock(FileCollectionInternal)
            def collection = new TestCompositeFileCollection(source1, source2)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy

            def p = container.get(spec)
            p.present
            p.get() == binary2
        }
    
        def "fires finalize event for element by spec after configuration has completed"() {
            def spec = Stub(Spec)
            def binary1 = Stub(SwiftBinary)
            def binary2 = Stub(SwiftBinary)
            def action1 = Mock(Action)
            def action2 = Mock(Action)
            def finalizeAction = Mock(Action)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/configuration/internal/DefaultListenerBuildOperationDecoratorTest.groovy

        }
    
        def 'decorates listeners that are a combination of listener interfaces'() {
            given:
            def settingsEvaluatedArg = Mock(Settings)
            def projectsLoadedArg = Mock(Gradle)
            def beforeEvaluateArg = Mock(Project)
            def graphPopulatedArg = Mock(TaskExecutionGraph)
            def listener = Mock(ComboListener)
            def id
            def decoratedListener
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/initialization/exception/DefaultExceptionAnalyserTest.groovy

        def 'wraps original exception when it is not a contextual exception'() {
            given:
            def failure = new RuntimeException()
            def analyser = analyser()
            def result = []
    
            when:
            analyser.collectFailures(failure, result)
    
            then:
            result.size() == 1
            def transformedFailure = result[0]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

                        $num_bits, $narrow_range)))>;
    
    def LegalizeFill : Pat<(TF_FillOp $arg, $value), (TFL_FillOp $arg, $value)>;
    
    def LegalizeFloor : Pat<(TF_FloorOp $arg), (TFL_FloorOp $arg)>;
    
    def LegalizeLeakyRelu : Pat<(TF_LeakyReluOp $arg, F32Attr:$a),
                                (TFL_LeakyReluOp $arg, $a)>;
    
    def LegalizeLog : Pat<(TF_LogOp $arg), (TFL_LogOp $arg)>;
    
    def LegalizeLog1p : Pat<
      (TF_Log1pOp F32Tensor:$arg),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionSpec.groovy

            then:
            visited == 2
            deps as List == [dependency]
        }
    
        def "collection dependencies are live"() {
            def task = Stub(Task)
            def dependency1 = Stub(Task)
            def dependency2 = Stub(Task)
            def dependencySource = Mock(TaskDependencyContainer)
    
            def collection = new TestCollection() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy

        }
    
        def "ignores external module jar from runtime ClassLoader"() {
            def classesDir = tmpDir.createDir("some-module/build/classes/java/main")
            def staticResourcesDir = tmpDir.createDir("some-module/src/main/resources")
            def cl = classLoaderFor([externalDependency, classesDir, resourcesDir, staticResourcesDir, externalRuntimeDep])
            def registry = new DefaultModuleRegistry(cl, ClassPath.EMPTY, null)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top