Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 215 for tolist (0.19 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AvailableJavaHomes.java

        }
    
        /**
         * Returns a JDK for each of the given java versions, if available.
         */
        public static List<Jvm> getJdks(final String... versions) {
            List<JavaVersion> javaVersions = Arrays.stream(versions).map(JavaVersion::toVersion).collect(Collectors.toList());
            return getJdks(Iterables.toArray(javaVersions, JavaVersion.class));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java

            String className,
            List<CallInterceptionRequest> requestsClassGroup,
            Consumer<? super CallInterceptionRequest> onProcessedRequest,
            Consumer<? super HasFailures.FailureInfo> onFailure
        ) {
            List<MethodSpec> methods = requestsClassGroup.stream()
                .map(request -> mapToMethodSpec(request, onProcessedRequest, onFailure))
                .collect(Collectors.toList());
    
            return builder -> builder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:11:23 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

                        break
                    }
                }
                javaDir?.let { result += it }
            }
            return result.toList()
        }
    
        fun getAllBinaryRoots(
            modules: List<KtModule>,
            environment: KotlinCoreProjectEnvironment,
        ): List<JavaRoot> = withAllTransitiveDependencies(modules)
            .filterIsInstance<KtBinaryModule>()
            .flatMap { it.getJavaRoots(environment) }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  4. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

                if (res2 != null) {
                    List<Supplier<Object>> list = res2.stream().map(this::compile).collect(Collectors.toList());
                    //noinspection unchecked
                    return () -> (Q) list(list);
                }
            }
            if (key.getRawType() == Map.class) {
                Key<?> k = key.getTypeParameter(0);
                Key<Object> v = key.getTypeParameter(1);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy

            where:
            // make sure that multi-byte unicode characters get split in different chunks
            [chunkSize, preUseBuffer] << [(1..(TEST_STRING_BYTES.length * 3)).toList() + [100, 1000], [false, true]].combinations()
        }
    
        def "empty buffer to String returns empty String"() {
            given:
            def byteBuffer = new StreamByteBuffer()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 13:06:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsFixture.groovy

            final projects = new HashSet<String>()
            final List<ModelRequestExpectation> models = []
            int buildModelQueries
    
            void projectConfigured(String path) {
                projects.add(path)
            }
    
            void projectsConfigured(String... paths) {
                projects.addAll(paths.toList())
            }
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.setDependencies(original.getDependencies());
            this.setDependencyNode(original.getDependencyNode());
        }
    
        private static List<ComponentDescriptor<?>> clone(List<MojoDescriptor> mojos, PluginDescriptor pluginDescriptor) {
            List<ComponentDescriptor<?>> clones = null;
            if (mojos != null) {
                clones = new ArrayList<>(mojos.size());
                for (MojoDescriptor mojo : mojos) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Apr 14 17:14:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                class DynamicThing {
                    def methods = [:]
                    def props = [:]
    
                    def methodMissing(String name, args) {
                        methods[name] = args.toList()
                    }
    
                    def propertyMissing(String name) {
                        props[name]
                    }
    
                    def propertyMissing(String name, value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

                }
                return list;
            }
        }
    
        public static <T> List<T> toList(Iterable<? extends T> things) {
            if (things instanceof List) {
                @SuppressWarnings("unchecked") List<T> castThings = (List<T>) things;
                return castThings;
            }
            return toMutableList(things);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

                    .collect(Collectors.toList());
            } catch (AnnotationReadFailure failure) {
                return Collections.singletonList(new InvalidRequest(failure.reason));
            }
        }
    
        @SuppressWarnings("unchecked")
        private List<AccessorSpec> readAccessorSpecsFromReplacesEagerProperty(ExecutableElement method, AnnotationMirror annotationMirror) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top