Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getFactor (0.92 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

    template <typename T>
    inline std::vector<T> GetVector(DenseElementsAttr elements);
    
    // TODO(zichuanwei@): for each type, we need to make sure the element type
    // matches the expected type otherwise an error should be thrown, but for now
    // we're just returning empty vector
    template <>
    inline std::vector<bool> GetVector(DenseElementsAttr elements) {
      auto type = elements.getType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ServiceLocatorTest.groovy

        }
    
        def "getFactory() returns a factory which creates instances of implementation class"() {
            given:
            implementationDeclared(CharSequence, String)
    
            when:
            def factory = serviceLocator.getFactory(CharSequence)
            def obj1 = factory.create()
            def obj2 = factory.create()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                            final MethodRuleDefinition<?, ?> methodRuleDefinition = details.method;
                            final Factory<? extends T> factory = getFactory();
                            return new ContextualizedModelAction<T>(methodRuleDefinition, mappedSubject, inputs, action, factory);
                        }
                    }, target);
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/typeregistration/BaseInstanceFactory.java

                return source;
            }
    
            public ModelType<?> getImplementationType() {
                return implementationType;
            }
    
            public ImplementationFactory<? super PUBLIC, ?> getFactory() {
                return factory;
            }
        }
    
        private static class InternalViewRegistration<T> {
            private final ModelRuleDescriptor source;
            private final ModelType<T> internalView;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar

    LogConfigurationExce; public abstract Log getInstance(String) throws LogConfigurationExce; public abstract void release(); public abstract void removeAttribute(String); public abstract void setAttribute(String, Object); public static LogFactory getFactory() throws LogConfigurationExce; public static Log getLog(Class) throws LogConfigurationExce; public static Log getLog(String) throws LogConfigurationExce; public static void release(ClassLoader); public static void releaseAll(); protected static...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/DefaultCommandLineActionFactoryTest.groovy

            _ * loggingServices.get(OutputEventListener) >> Mock(OutputEventListener)
            Factory<LoggingManagerInternal> loggingManagerFactory = Mock()
            _ * loggingServices.getFactory(LoggingManagerInternal) >> loggingManagerFactory
            _ * loggingManagerFactory.create() >> loggingManager
            StyledTextOutputFactory textOutputFactory = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ProviderConnection.java

            if (standardInput == null) {
                standardInput = SafeStreams.emptyInput();
            }
            if (Boolean.TRUE.equals(operationParameters.isEmbedded())) {
                loggingManager = sharedServices.getFactory(LoggingManagerInternal.class).create();
                loggingManager.captureSystemSources();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

        public static final TestFile COMMON_TMP = new TestFile(new File("build/tmp"));
    
        static {
            LoggingManagerInternal loggingManager = GLOBAL_SERVICES.getFactory(LoggingManagerInternal.class).create();
            loggingManager.start();
    
            GLOBAL_SERVICES.get(AgentInitializer.class).maybeConfigureInstrumentationAgent();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy

            }
    
            return new ToolingApiConnector(connector, stdout, stderr)
        }
    
        private createConnector() {
            if (isolatedToolingClient != null) {
                return isolatedToolingClient.getFactory(DefaultGradleConnector).create()
            }
            return GradleConnector.newConnector() as DefaultGradleConnector
        }
    
        private void isolateFromGradleOwnBuild(DefaultGradleConnector connector) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:23 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/ProjectAccessorsSourceGeneratorTest.groovy

                int lineOfSubAccessor = lineOf("public ${baseName}ProjectDependency get${getterPath}() { return new ${baseName}ProjectDependency(getFactory(), create(\"${projectPath}\")); }")
                lineOfSubAccessor
            }
    
            void hasSubprojectAccessors(String... paths) {
                def expectedOrderOfAccessors = paths.sort()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top