Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,280 for Def (0.14 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/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOperationsIntegrationTest.groovy

            buildIdentified()
    
            def loadBuildOp = operations.only(LoadBuildBuildOperationType)
    
            def evaluateSettingsOp = operations.only(EvaluateSettingsBuildOperationType)
            assert evaluateSettingsOp.parentId == loadBuildOp.id
    
            def configureBuildOp = operations.only(ConfigureBuildBuildOperationType)
    
            def loadProjectsOp = operations.only(LoadProjectsBuildOperationType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 23.4K 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. testing/internal-testing/src/test/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpecTest.groovy

        }
    
        def "can use test threads to define instants"() {
            def worker = new Worker(executor)
    
            given:
            def action = {
                instant.actionExecuted
            }
    
            when:
            worker.runLater(action)
            worker.stop()
    
            then:
            instant.actionExecuted
        }
    
        def "can use arbitrary thread to define an instant"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy

        }
    
        def "tasks have common output directories"() {
            def sourceFile1 = file('source1/source1.txt')
            sourceFile1 << 'a'
            def sourceFile2 = file('source2/source2.txt')
            sourceFile2 << 'b'
            def targetFile1 = file('target/source1.txt')
            def targetFile2 = file('target/source2.txt')
            def taskPath = ':copyAll'
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-state/src/test/java/org/gradle/internal/session/BuildSessionStateTest.groovy

        def listenerManager = new DefaultListenerManager(Scope.BuildSession)
        def actionExecutor = Mock(BuildSessionActionExecutor)
        def userHomeServiceRegistry = Mock(GradleUserHomeScopeServiceRegistry)
        def crossBuildState = Mock(CrossBuildSessionState)
        def startParameter = new StartParameterInternal()
        def buildRequestMetadata = Mock(BuildRequestMetaData)
        def clientMetadata = Mock(BuildClientMetaData)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. 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)
  8. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultPlanExecutorTest.groovy

        def workSource = Mock(WorkSource)
        def worker = Mock(Action)
        def executorFactory = Mock(ExecutorFactory)
        def cancellationHandler = Mock(BuildCancellationToken)
        def coordinationService = new DefaultResourceLockCoordinationService()
        def workerLeaseService = Mock(WorkerLeaseService)
        def workerLease = Mock(WorkerLeaseRegistry.WorkerLease)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. 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)
  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