- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for Def (0.04 sec)
-
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy
given: def file1 = new File("1") def file2 = new File("2") def file3 = new File("3") def file4 = new File("4") def file5 = new File("5") def src1 = containing(file1) def src2 = containing(file2) def src3 = containing(file3) def src4 = containing(file4) def src5 = containing(file5) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 17:09:50 UTC 2024 - 53K bytes - Viewed (0) -
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) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy
} def "build dependencies are calculated from the artifacts visited during graph resolution"() { def configuration = conf() def targetTask = Mock(Task) def task1 = Mock(Task) def task2 = Mock(Task) def requiredTasks = [task1, task2] as Set def artifactTaskDependencies = Mock(TaskDependency) def visitedArtifactSet = Mock(VisitedArtifactSet)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:30:13 UTC 2024 - 64.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy
when: def result = registry.get(BigDecimal) then: result == value and: 1 * parent.get(BigDecimal) >> value } def delegatesToParentsForUnknownService() { def value = BigDecimal.TEN def parent1 = Mock(ParentServices) def parent2 = Mock(ParentServices)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:53:25 UTC 2024 - 59.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy
then: _ * provider2.elementType >> type 0 * _ } def "can execute action to configure element when element is realized"() { containerAllowsExternalProviders() def action = Mock(Action) def provider1 = Mock(ProviderInternal) def provider2 = Mock(ProviderInternal) def provider3 = Mock(CollectionProviderInternal) given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 52.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
property.get() == toImmutable(["2"]) } def "can set string property from provider that returns collection containing GString"() { def provider = Stub(Provider) def value = ["${'321'.substring(2)}"] provider.get() >>> value expect: property.set(value) assertValueIs(["1"]) } def "queries initial value for every call to get()"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
def GetNumElementsOrOne: NativeCodeCall<"GetNumElementsOrOne($0.getType())">; def ReshapeValueDroppingLastDim : NativeCodeCall< "ReshapeValueDroppingLastDim($_builder, $0)">; def IsOneHotIndexAttribute : Constraint<CPred< "TFL::IsOneHotIndexAttribute($0)">>; // Checks if the shape has static shape with last dimension equals 1.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
value.getChangingValue().get() == [a: '1b', c: '3'] } def "has union of producer task from providers unless producer task attached"() { given: def task1 = Stub(Task) def task2 = Stub(Task) def task3 = Stub(Task) def producer = Stub(Task) property.set(supplierWithProducer(task1)) property.putAll(supplierWithProducer(task2))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 58.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy
class DefaultModelRegistryTest extends Specification { def registry = new ModelRegistryHelper() def "can maybe get non existing"() { when: registry.realize("foo") then: thrown IllegalStateException when: def modelElement = registry.find("foo", ModelType.untyped()) then: noExceptionThrown()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 56K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy
assertAllWorkComplete() } def "one non-async task per project is allowed"() { given: //2 projects, 2 non parallelizable tasks each def projectA = project(project, "a") def projectB = project(project, "b") def fooA = task("foo", project: projectA) def barA = task("bar", project: projectA) def fooB = task("foo", project: projectB)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 22:18:26 UTC 2024 - 93.5K bytes - Viewed (0)