Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 472 for factory (0.14 sec)

  1. platforms/core-runtime/file-temp/src/main/java/org/gradle/api/internal/file/temp/DefaultTemporaryFileProvider.java

    import org.gradle.api.UncheckedIOException;
    import org.gradle.internal.Factory;
    
    import javax.annotation.Nullable;
    import java.io.File;
    import java.io.IOException;
    
    public class DefaultTemporaryFileProvider implements TemporaryFileProvider {
        private final Factory<File> baseDirFactory;
    
        public DefaultTemporaryFileProvider(final Factory<File> fileFactory) {
            this.baseDirFactory = fileFactory;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 19 21:16:13 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

        }
    
        @Override
        public <T> Factory<T> getFactory(Class<T> type) {
            assertValidServiceType(type);
            Service provider = getFactoryService(type);
            Factory<T> factory = provider == null ? null : Cast.<Factory<T>>uncheckedCast(provider.get());
            if (factory == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

        return new CustomMultimap<>(map, factory);
      }
    
      private static class CustomMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends AbstractMapBasedMultimap<K, V> {
        transient Supplier<? extends Collection<V>> factory;
    
        CustomMultimap(Map<K, Collection<V>> map, Supplier<? extends Collection<V>> factory) {
          super(map);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerLoggingSerializer.java

            DefaultSerializerRegistry registry = new DefaultSerializerRegistry(false);
    
            BaseSerializerFactory factory = new BaseSerializerFactory();
            Serializer<LogLevel> logLevelSerializer = factory.getSerializerFor(LogLevel.class);
            Serializer<Throwable> throwableSerializer = factory.getSerializerFor(Throwable.class);
    
            // Log events
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementProjectScopeServices.java

    class DependencyManagementProjectScopeServices implements ServiceRegistrationProvider {
        void configure(ServiceRegistration registration) {
            registration.add(DefaultExternalResourceFileStore.Factory.class);
            registration.add(DefaultArtifactIdentifierFileStore.Factory.class);
            registration.add(TransformStepNodeDependencyResolver.class);
        }
    
        /** This is needed in order to get the {@code taskDependencyFactory} from the current project. */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/typeregistration/BaseInstanceFactory.java

                ImplementationFactory<S, ?> factory = findFactory(implementationClass);
                if (factory == null) {
                    throw new IllegalArgumentException(String.format("No factory registered to create an instance of implementation class '%s'.", implementationType));
                }
                this.implementationRegistration = new ImplementationRegistration<S>(source, implementationType, factory);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinCompositeProviderFactory.kt

                }
            }
    }
    
    /**
     * Uses the given [factory] to merge all providers of type [T] with the given [mergeTargets] strategy. Other providers (not of type [T]) are
     * added to the resulting composite provider unmerged.
     */
    public inline fun <P : KotlinComposableProvider, reified T : P> List<P>.mergeSpecificProviders(
        factory: KotlinCompositeProviderFactory<P>,
        crossinline mergeTargets: (List<T>) -> P,
    ): P {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/ClassLoaderCache.java

            lock.lock();
            try {
                ClassLoader classLoader = classLoaderIds.getIfPresent(details.uuid);
                if (classLoader != null) {
                    return classLoader;
                }
    
                classLoader = factory.transform(details);
                classLoaderIds.put(details.uuid, classLoader);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       {@link NullPointerException}.
       *   <li>If there is any visible constructor or visible static factory method declared by the
       *       class, all visible instance methods will be checked too using the instance created by
       *       invoking the constructor or static factory method.
       *   <li>If the constructor or factory method used to construct instance takes a parameter that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       {@link NullPointerException}.
       *   <li>If there is any visible constructor or visible static factory method declared by the
       *       class, all visible instance methods will be checked too using the instance created by
       *       invoking the constructor or static factory method.
       *   <li>If the constructor or factory method used to construct instance takes a parameter that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top