Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 256 for foreach (0.18 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        fun toText() =
            StringBuilder("Binary compatibility\n").apply {
                listOf("Errors" to errors, "Warnings" to warnings, "Information" to information, "Accepted" to accepted).forEach { (name, list) ->
                    if (list.isNotEmpty()) {
                        append("  $name (").append(list.size).append(")\n")
                        append(list.joinToString(separator = "\n    ", prefix = "    ", postfix = "\n"))
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/configurations/DocsTest.kt

            name = "Docs Test - ${testJava.version.toCapitalized()} ${os.asName()}"
        }) {
        val docsTests = testTypes.map { DocsTest(model, stage, os, testJava, it) }
    
        init {
            docsTests.forEach(this::buildType)
        }
    }
    
    class DocsTestTrigger(
        model: CIBuildModel,
        docsTestProject: DocsTestProject,
    ) : OsAwareBaseGradleBuildType(os = docsTestProject.os, init = {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 18 02:29:43 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        return elements.reverse().iterator();
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return asList().spliterator();
      }
    
      @Override
      public void forEach(Consumer<? super E> action) {
        elements.forEach(action);
      }
    
      @Override
      public int size() {
        return elements.size();
      }
    
      @Override
      public boolean contains(@Nullable Object o) {
        try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java

                    }
                }
            }
            if (!exceptions.isEmpty()) {
                IllegalStateException ex = new IllegalStateException("Could not close commandRegistries");
                exceptions.forEach(ex::addSuppressed);
                throw ex;
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensionsFacade.kt

            writer.appendReproducibleNewLine(fileHeader)
            pluginIdExtensionDeclarationsFor(
                gradleJars,
                pluginDependenciesSpecQualifiedName,
                pluginDependencySpecQualifiedName
            ).forEach { extension ->
                writer.write("\n")
                writer.appendReproducibleNewLine(extension)
            }
        }
    }
    
    
    private
    fun pluginIdExtensionDeclarationsFor(
        jars: Iterable<File>,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

            val rootDirFiles = projectDir.resolve("build").walk().toList()
    
            archiveFileNames.forEach { fileName ->
                assertTrue(rootDirFiles.any { it.name == fileName })
            }
        }
    
        private
        fun assertLeftoverFilesCleanedUpEventually(vararg leftoverFiles: String) {
            leftoverFiles.forEach {
                assertTrue(projectDir.resolve(it).walk().filter { it.isFile }.toList().isEmpty())
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 18 10:36:40 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/ReadOnlyPluginParametersValidator.java

            if (mojoDescriptor.getParameters() == null) {
                return;
            }
    
            mojoDescriptor.getParameters().stream()
                    .filter(parameter -> !parameter.isEditable())
                    .forEach(parameter -> checkParameter(
                            mavenSession, mojoDescriptor, mojoClass, parameter, pomConfiguration, expressionEvaluator));
        }
    
        private void checkParameter(
                MavenSession mavenSession,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

        private
        val prefixes: MutableSet<String> = hashSetOf()
    
        private
        val names: MutableSet<String> = hashSetOf()
    
        init {
            givenPrefixes.map { it.replace('.', '/') }.forEach { internalName ->
                names.add(internalName)
                prefixes.add("$internalName/")
            }
        }
    
        fun matches(packageName: String): Boolean {
            if (names.contains(packageName)) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 2.6K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateSmokeTestedPluginsVersions.kt

                    TestedVersion(pluginId, latest)
                }
    
        private
        fun updateProperties(fetchedVersions: List<TestedVersion>) = updateProperties {
            fetchedVersions.forEach { (pluginId, version) ->
                setProperty(pluginId, version)
            }
        }
    
        private data class TestedVersion(
            val pluginId: String,
            val version: String
        )
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Sep 18 16:06:17 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedPluginValidator.java

                mojoDescriptor.getParameters().stream()
                        .filter(parameter -> parameter.getDeprecated() != null)
                        .filter(Parameter::isEditable)
                        .forEach(parameter -> checkParameter(
                                mavenSession, mojoDescriptor, mojoClass, parameter, pomConfiguration, expressionEvaluator));
            }
        }
    
        private void checkParameter(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
Back to Top