Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for factory (0.36 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. 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)
  3. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

            }
            def action2 = {
                thread.block()
                instant.completed2
            }
    
            when:
            async {
                factory.create("1").execute(action1)
                factory.create("2").execute(action2)
                factory.stop()
                instant.stopped
            }
    
            then:
            instant.stopped > instant.completed1
            instant.stopped > instant.completed2
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

      private val routePlanner = FakeRoutePlanner()
      private val factory = routePlanner.factory
      private val taskFaker = routePlanner.taskFaker
      private val peer = MockHttp2Peer()
    
      /** The fake task runner prevents the cleanup runnable from being started.  */
      private val addressA = factory.newAddress("a")
      private val routeA1 = factory.newRoute(addressA)
      private val addressB = factory.newAddress("b")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilder.java

        private final ProjectStateRegistry projectStateRegistry;
        private final LocalComponentGraphResolveStateFactory localResolveStateFactory;
        private final DefaultRootComponentMetadataBuilder.Factory factory;
    
        /**
         * Use {@link Factory#create} to create instances.
         */
        private DefaultRootComponentMetadataBuilder(
            DependencyMetaDataProvider metadataProvider,
            ComponentIdentifierFactory componentIdentifierFactory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                super(rules);
                this.factory = factory;
            }
    
            @Override
            public Factory<? extends T> getFactory() {
                return factory;
            }
        }
    
        private static class ParameterizedExtractedRuleSource<T> extends DefaultExtractedRuleSource<T> implements GeneratedViewState, Factory<T> {
            @Nullable
            private final ModelProperty<?> targetProperty;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationLogger.java

                }
            }
        }
    
        @Nullable
        public static <T> T whileDisabled(Factory<T> factory) {
            disable();
            try {
                return factory.create();
            } finally {
                maybeEnable();
            }
        }
    
        public static void whileDisabled(Runnable action) {
            disable();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. .idea/inspectionProfiles/Gradle.xml

          <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" description="Many no-argument Guava Collection factory methods are marked in their javadoc &quot;Should be treated as deprecated&quot;.  These should not be used." suppressId="guava-collection-factory" problemDescriptor="Treat some Guava Collection factory methods as Deprecated" text="com.google.common.collect.Lists.newArrayList()" recursive="false"...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:43 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

                }
            '''.stripIndent()
            file('src/test/java/org/gradle/factory/TestNGFactory.java') << '''
                package org.gradle.factory;
                import org.testng.annotations.Factory;
    
                public class TestNGFactory {
                    @Factory
                    public Object[] factory() {
                        return new Object[]{ new FactoryTest("First"), new FactoryTest("Second") };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top