Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 256 for foreach (0.04 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          }
    
        fun rethrowIfNotExpected(e: Throwable) {
          versionChecks.forEach { (versionMatcher, failureMatcher) ->
            if (versionMatcher.matches(PlatformVersion) && failureMatcher.matches(e)) {
              return
            }
          }
    
          throw e
        }
    
        fun failIfExpected() {
          versionChecks.forEach { (versionMatcher, failureMatcher) ->
            if (versionMatcher.matches(PlatformVersion)) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 15.4K bytes
    - Click Count (1)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

                }
                is ModuleComponentIdentifier -> externallyAccessible.add(to.owner)
            }
    
            if (seen.add(to)) {
                dependency.selected.getDependenciesForVariant(to).forEach {
                    queue.add(it)
                }
            }
        }
    
        val rootModuleComponents = rootDependencies.map { (it as ResolvedDependencyResult).selected.id }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri May 16 18:26:52 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        val durationsPerTestProject = projectDurations.groupBy({ it.testProject }, { it.scenarioDurations })
        durationsPerTestProject.forEach { (key, value) ->
            if (value.size !=
                1
            ) {
                throw IllegalArgumentException("More than one scenario split for test project $key: $projectDurations")
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 10 02:18:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Multiset.java

       * efficient than iterating over the {@link #entrySet()} either explicitly or with {@code
       * entrySet().forEach(action)}.
       *
       * @since 21.0
       */
      default void forEachEntry(ObjIntConsumer<? super E> action) {
        checkNotNull(action);
        entrySet().forEach(entry -> action.accept(entry.getElement(), entry.getCount()));
      }
    
      // Comparison and hashing
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

         */
        protected static String buildMessage(String message, ProblemCollector<BuilderProblem> problems) {
            StringBuilder msg = new StringBuilder(message);
            problems.problems().forEach(problem -> msg.append("\n * ")
                    .append(problem.getSeverity().name())
                    .append(": ")
                    .append(problem.getMessage()));
            return msg.toString();
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java

            processBuilder.environment().putAll(add);
            ALL.stream()
                    .filter(s -> !add.containsKey(s))
                    .forEach(k -> processBuilder.environment().remove(k));
            Process process = processBuilder.start();
            process.waitFor();
            return new String(process.getInputStream().readAllBytes());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                            && !"clean".equals(getLifecycles(project).peekLast())
                    || hasBeenPackagedDuringThisSession(project)) {
                getProjectArtifacts(project).filter(this::isRegularFile).forEach(this::installIntoProjectLocalRepository);
            }
        }
    
        private void cleanProjectLocalRepository(MavenProject project) {
            try {
                Path artifactPath = getProjectLocalRepo()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  8. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

            val properties = Properties()
            val ret = mutableMapOf<String, MutableList<String>>()
            properties.load(StringReader(content))
            properties.forEach { key, value ->
                val list = ret.getOrDefault(value, mutableListOf())
                list.add(key!!.toString())
                ret[value!!.toString()] = list
            }
            return ret
        }
    
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

                        functionalTestParameters(os, arch)
                ).joinToString(separator = " ")
    
            killProcessStep(KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS, os, arch)
    
            (1..10).forEach { idx ->
                steps {
                    gradleWrapper {
                        name = "GRADLE_RUNNER_$idx"
                        tasks =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 19 08:02:04 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

                }
                logger.lifecycle("Cleaning up caches...")
                val homeDir = parameters.homeDir.get()
    
                homeDir.asFile.listFiles()?.filter { it.name.startsWith("distributions-") }?.forEach {
                    val workerDir = homeDir.dir(it.name)
                    cleanupDistributionCaches(workerDir, GradleVersion.version(parameters.gradleVersion.get()))
                }
                hasCleaned = true
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.2K bytes
    - Click Count (1)
Back to Top