- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,674 for factory (0.15 sec)
-
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultTargetMachineFactoryTest.groovy
expect: factory.windows == factory.windows factory.linux == factory.linux factory.macOS == factory.macOS factory.windows.x86 == factory.windows.x86 factory.linux.x86_64 == factory.linux.x86_64 factory.windows.architecture("arm") == factory.windows.architecture("arm") factory.os("fushia").architecture("arm") == factory.os("fushia").architecture("arm") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactoryTest.groovy
expect: def attributes = factory.of(FOO, "foo") factory.of(FOO, "foo").is(attributes) factory.of(FOO, "other") != attributes factory.of(BAR, "foo") != attributes } def "can concatenate immutable attributes sets"() { when: def set1 = factory.of(FOO, "foo") def set2 = factory.of(BAR, "bar") def union = factory.concat(set1, set2) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 07 17:59:06 UTC 2022 - 8.9K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/ExtensiblePolymorphicDomainObjectContainer.java
* @param type the type of objects created by the factory * @param factory the factory to register * @param <U> the type of objects created by the factory * * @throws IllegalArgumentException if the specified type is not a subtype of the container element type */ @Override <U extends T> void registerFactory(Class<U> type, NamedDomainObjectFactory<? extends U> factory); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 03 14:28:15 UTC 2020 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/progress/DefaultProgressLoggerFactoryTest.groovy
} } def "attaches current running operation as parent when operation is started"() { given: def completed = factory.newOperation("category").setDescription("ignore-me") def child = factory.newOperation("category").setDescription("child") def parent = factory.newOperation("category").setDescription("parent") def parentId completed.started() completed.completed()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 10.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java
@Override public <T> T whileDisallowingProjectLockChanges(Factory<T> action) { return registries.get().getProjectLockRegistry().whileDisallowingLockChanges(action); } @Override public <T> T allowUncontrolledAccessToAnyProject(Factory<T> factory) { return registries.get().getProjectLockRegistry().allowUncontrolledAccessToAnyResource(factory); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 04:43:28 UTC 2024 - 20.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/CachingDependencyResultFactoryTest.groovy
def same = factory.createResolvedDependency(selector('requested'), fromModule, selectedModule, variant, false) def differentRequested = factory.createResolvedDependency(selector('xxx'), fromModule, selectedModule, variant, false) def differentFrom = factory.createResolvedDependency(selector('requested'), newModule('xxx'), selectedModule, variant, false)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/DefaultModelRuleInvoker.java
this.method = method; this.factory = factory; } @Override public R invoke(Object... args) { I instance = Modifier.isStatic(method.getModifiers()) ? null : factory.create(); return method.invoke(instance, args); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Factories.java
return item; } }; } public static <T> Factory<T> softReferenceCache(Factory<T> factory) { return new CachingSoftReferenceFactory<T>(factory); } private static class CachingSoftReferenceFactory<T> implements Factory<T> { private final Factory<T> factory; private final AtomicReference<SoftReference<T>> cachedReference = new AtomicReference<SoftReference<T>>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/cli/kubectl_factory.go
"istio.io/istio/pkg/kube" ) type Factory struct { kube.PartialFactory full util.Factory } func (f Factory) NewBuilder() *resource.Builder { return f.full.NewBuilder() } func (f Factory) ClientForMapping(mapping *meta.RESTMapping) (resource.RESTClient, error) { return f.full.ClientForMapping(mapping) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 09 18:17:49 UTC 2023 - 2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/local/LazyLocallyAvailableResourceCandidatesTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.7K bytes - Viewed (0)