Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for factory (0.13 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

                @Provides
                Integer createInteger(Factory<String> factory) {
                    return factory.create().length()
                }
    
                @Provides
                Factory<String> createString(Callable<String> action) {
                    return { action.call() } as Factory
                }
    
                @Provides
                Callable<String> createAction() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K 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. 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: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

            this.eventListenerFactory = eventListener.asFactory()
          }
    
        /**
         * Configure a factory to provide per-call scoped listeners that will receive analytic events
         * for this client.
         *
         * @see EventListener for semantics and restrictions on listener implementations.
         */
        fun eventListenerFactory(eventListenerFactory: EventListener.Factory) =
          apply {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java

        }
    
        private <T> void registerFactoryOn(ModelRegistry modelRegistry, String path, ModelType<T> type, Factory<T> factory) {
            modelRegistry.register(ModelRegistrations
                .unmanagedInstance(ModelReference.of(path, type), factory)
                .descriptor(instanceDescriptorFor(path))
                .hidden(true)
                .build());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

        }
    
        @Override
        public <T> T callAndResetResolutionState(Factory<T> factory) {
            warnOnInvalidInternalAPIUsage("callAndResetResolutionState()", ProperMethodUsage.RESOLVABLE);
            try {
                // Prevent the state required for resolution from being discarded if anything in the
                // factory resolves this configuration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    	// Set factory for mock envelope service
    	factory := envelopeServiceFactory
    	factoryKMSv2 := EnvelopeKMSv2ServiceFactory
    	envelopeServiceFactory = newMockEnvelopeService
    	EnvelopeKMSv2ServiceFactory = newMockEnvelopeKMSv2Service
    	defer func() {
    		envelopeServiceFactory = factory
    		EnvelopeKMSv2ServiceFactory = factoryKMSv2
    	}()
    
    	ctx := testContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  9. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/OkHttp {
    	public static final field INSTANCE Lokhttp3/OkHttp;
    	public static final field VERSION Ljava/lang/String;
    }
    
    public class okhttp3/OkHttpClient : okhttp3/Call$Factory, okhttp3/WebSocket$Factory {
    	public static final field Companion Lokhttp3/OkHttpClient$Companion;
    	public final fun -deprecated_authenticator ()Lokhttp3/Authenticator;
    	public final fun -deprecated_cache ()Lokhttp3/Cache;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "fooobject",
    			objectTags:     "storeforever=false&factory=true",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top