Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 149 for toList (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

      private val requestCookies: Deque<List<Cookie>> = ArrayDeque()
      private val responseCookies: Deque<List<Cookie>> = ArrayDeque()
    
      fun enqueueRequestCookies(vararg cookies: Cookie) {
        requestCookies.add(cookies.toList())
      }
    
      fun takeResponseCookies(): List<Cookie> = responseCookies.removeFirst()
    
      fun assertResponseCookies(vararg cookies: String?) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

            try (Stream<String> lines = Files.lines(atFile, StandardCharsets.UTF_8)) {
                List<String> args =
                        lines.filter(arg -> !arg.isEmpty() && !arg.startsWith("#")).toList();
                return parseArgs("atFile", args);
            } catch (ParseException e) {
                throw new IllegalArgumentException(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 14 12:35:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            for (Element pluginElement : pluginElements) {
                Element executionsElement = pluginElement.child(EXECUTIONS).orElse(null);
                if (executionsElement != null) {
                    var executionElements = executionsElement
                            .children(MavenPomElements.Elements.EXECUTION)
                            .toList();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java

            }
            return clazz.cast(o);
        }
    
        public static <U, V> List<V> map(Collection<U> list, Function<U, V> mapper) {
            return list.stream().map(mapper).filter(Objects::nonNull).collect(Collectors.toList());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

          client
            .newBuilder()
            .protocols(protocols.toList())
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            ).hostnameVerifier(RecordingHostnameVerifier())
            .build()
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.protocols = protocols.toList()
      }
    
      private fun upgradeRequest() =
        Request(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            numberOfBuckets,
            MAX_TEST_PROJECTS_PER_BUCKET,
            { numEmptyBuckets -> (0 until numEmptyBuckets).map { EmptyTestProjectBucket(it) }.toList() },
            { tests1, tests2 -> tests1 != tests2 },
        )
    }
    
    fun determineScenarioTestDurations(
        os: Os,
        performanceTestDurations: OperatingSystemToTestProjectPerformanceTestDurations,
    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)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                        }
                    })
                    .map(Method::getName)
                    .toList();
    
            List<String> overriddenMethods = Stream.of(FileToRawModelMerger.class.getDeclaredMethods())
                    .map(Method::getName)
                    .filter(m -> m.startsWith("merge"))
                    .collect(Collectors.toList());
    
            assertTrue(
                    overriddenMethods.containsAll(methodNames),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                    }
    
                    BuildPlan buildPlan = plan;
                    for (BuildStep step :
                            planSteps.stream().flatMap(p -> plan.steps(p.project)).toList()) {
                        for (MojoExecution execution : step.executions().toList()) {
                            buildPlan = computeForkPlan(step, execution, buildPlan);
                        }
                    }
    
                    for (BuildStep step : planSteps) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                            .flatMap(Lifecycle::allPhases)
                            .map(Lifecycle.Phase::name)
                            .toList();
                    // TODO: add goals dynamically
                    List<String> goals = List.of("wrapper:wrapper");
                    names = Stream.concat(phases.stream(), goals.stream()).toList();
                } catch (LookupException e) {
                    names = List.of(
                            "clean",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt

        @JvmField
        val SYSTEM: Dns = DnsSystem()
    
        private class DnsSystem : Dns {
          override fun lookup(hostname: String): List<InetAddress> {
            try {
              return InetAddress.getAllByName(hostname).toList()
            } catch (e: NullPointerException) {
              throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply {
                initCause(e)
              }
            }
          }
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.2K bytes
    - Click Count (0)
Back to Top