Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,079 for tolist (0.43 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleSourceDetectorTest.groovy

            static class B extends RuleSource {}
    
            static class A extends RuleSource {}
        }
    
        def "find model rule sources - #clazz"() {
            expect:
            detector.getDeclaredSources(clazz).toList() == expected
    
            where:
            clazz         | expected
            String        | []
            HasOneSource  | [HasOneSource.Source]
            HasTwoSources | [HasTwoSources.SourceOne, HasTwoSources.SourceTwo]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/execution/DryRunBuildExecutionActionTest.groovy

    import org.gradle.internal.SystemProperties
    import org.gradle.internal.logging.text.TestStyledTextOutputFactory
    import org.gradle.util.Path
    import spock.lang.Specification
    
    import static org.gradle.util.internal.WrapUtil.toList
    
    class DryRunBuildExecutionActionTest extends Specification {
        private static final String EOL = SystemProperties.instance.lineSeparator
        def delegate = Mock(BuildWorkExecutor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 26 20:13:45 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/model/ConfigurationReportModel.java

        }
    
        public List<ReportConfiguration> getPurelyConsumableConfigs() {
            return allConfigs.stream().filter(ReportConfiguration::isPurelyConsumable).collect(Collectors.toList());
        }
    
        public Optional<ReportConfiguration> getConfigNamed(String configName) {
            return allConfigs.stream().filter(config -> config.getName().equals(configName)).findFirst();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 28 20:38:11 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. operator/pkg/compare/compare.go

    						" length != 3: %v", name)
    				}
    				toList := strings.Split(toPat, ":")
    				if len(toList) != 3 {
    					return nil, fmt.Errorf("failed to split the rename-to string,"+
    						" length != 3: %v", toPat)
    				}
    
    				// Use the old name if toList has "*" or ""
    				// Otherwise, use the name in toList
    				newList := make([]string, 3)
    				for i := range toList {
    					if toList[i] == "" || toList[i] == "*" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/InstrumentedPropertiesResourceGenerator.java

            return containingType + "#" + propertyName;
        }
    
        private static List<UpgradedProperty> toPropertyEntries(Map<String, List<CallInterceptionRequest>> requests) {
            return requests.entrySet().stream()
                .sorted(Map.Entry.comparingByKey())
                .map(e -> toPropertyEntry(e.getValue()))
                .collect(Collectors.toList());
        }
    
        @SuppressWarnings("OptionalGetWithoutIsPresent")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. testing/architecture-test/src/test/java/org/gradle/architecture/library/freeze/LineNumberIgnoringViolationStore.java

        }
    
        @Override
        public void save(ArchRule rule, List<String> violations) {
            List<String> violationsWithoutLineNumbers = violations.stream()
                .map(it -> it.replaceAll("\\.(java|kt):\\d+", ".$1:0"))
                .collect(toList());
            delegate.save(rule, violationsWithoutLineNumbers);
        }
    
        @Override
        public List<String> getViolations(ArchRule rule) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/DefaultJvmBytecodeInterceptorFactorySet.java

            List<JvmBytecodeCallInterceptor.Factory> factories = provider.getInterceptorFactories().stream()
                .filter(filter::matches)
                .collect(Collectors.toList());
            return new JvmBytecodeInterceptorSet() {
                @Override
                public List<JvmBytecodeCallInterceptor> getInterceptors(MethodVisitor methodVisitor, ClassData classData) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java

            Class<?> cls = key.getRawType();
    
            List<Constructor<?>> constructors = Arrays.asList(cls.getDeclaredConstructors());
            List<Constructor<?>> injectConstructors = constructors.stream()
                    .filter(c -> c.isAnnotationPresent(Inject.class))
                    .collect(toList());
    
            List<Method> factoryMethods = Arrays.stream(cls.getDeclaredMethods())
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/building/FileToRawModelMerger.java

            builder.dependencies(target.getDependencies().stream()
                    .map(d -> mergeDependency(d, sourceIterator.next(), sourceDominant, context))
                    .collect(Collectors.toList()));
        }
    
        @Override
        protected void mergeDependency_Exclusions(
                Dependency.Builder builder,
                Dependency target,
                Dependency source,
                boolean sourceDominant,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainFixture.groovy

         *     withInstallations(jvm1, jvm2).run(":task")
         * </pre>
         */
        AbstractIntegrationSpec withInstallations(Jvm jvm, Jvm... rest) {
            return withInstallations([jvm] + rest.toList())
        }
    
        AbstractIntegrationSpec withInstallations(List<Jvm> jvms) {
            def installationPaths = jvms.collect { it.javaHome.absolutePath }.join(",")
            executer
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top