Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for flatMap (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            return stream().toList().iterator();
        }
    
        @Override
        public Stream<Lifecycle> stream() {
            return providers.stream().map(ExtensibleEnumProvider::provides).flatMap(Collection::stream);
        }
    
        @Override
        public Optional<Lifecycle> lookup(String id) {
            return stream().filter(lf -> Objects.equals(id, lf.id())).findAny();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

                return phases;
            }
    
            @Override
            public Stream<Lifecycle.Phase> allPhases() {
                return Stream.concat(Stream.of(this), phases().stream().flatMap(Lifecycle.Phase::allPhases));
            }
        }
    
        static class DefaultAlias implements Lifecycle.Alias {
            private final String v3Phase;
            private final String v4Phase;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                // TODO: destinationDirectory should be part of Javadoc
                javadocs.getRenderedDocumentation().from(javadocAll.flatMap(task -> (DirectoryProperty) task.getExtensions().getExtraProperties().get("destinationDirectory")));
            });
    
            CheckstyleExtension checkstyle = project.getExtensions().getByType(CheckstyleExtension.class);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

            .orEmpty()
    
        private
        fun TestFilesCleanupProjectState.prepareReportsForCiPublishing(executedTaskPaths: List<String>, tmpTestFiles: Collection<File>) {
            val reports = executedTaskPaths
                .flatMap { taskPathReports.getOrDefault(it, emptyList()) }
            if (isAnyTestTaskFailed(projectPath.get())) {
                prepareReportForCiPublishing(tmpTestFiles + reports)
            } else {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

        private const val SOCKET_BUFFER_SIZE = 256 * 1024
      }
    }
    
    class CancelModelParamProvider : SimpleProvider() {
      override fun arguments() =
        CancelTest.CancelMode.values().flatMap { c ->
          CancelTest.ConnectionType.values().map { x ->
            Pair(
              c,
              x,
            )
          }
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_internal.h

      //   sessions.size() == 0 && delete_requested == true
      //
      // TODO(b/74949947): mutations currently trigger a warning instead of a bad
      // status, this should be reverted when possible.
      tensorflow::gtl::FlatMap<TF_Session*, tensorflow::string> sessions
          TF_GUARDED_BY(mu);
      bool delete_requested TF_GUARDED_BY(mu);  // set true by TF_DeleteGraph
    
      // Used to link graphs contained in TF_WhileParams to the parent graph that
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Optional.java

     * relevant methods below.
     *
     * <ul>
     *   <li>This class is serializable; {@code java.util.Optional} is not.
     *   <li>{@code java.util.Optional} has the additional methods {@code ifPresent}, {@code filter},
     *       {@code flatMap}, and {@code orElseThrow}.
     *   <li>{@code java.util} offers the primitive-specialized versions {@code OptionalInt}, {@code
     *       OptionalLong} and {@code OptionalDouble}, the use of which is recommended; Guava does not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

       * Iterables.concat(Collections.nCopies(n, iterable))}
       *
       * <p><b>Java 8+ users:</b> The {@code Stream} equivalent of this method is {@code
       * Stream.generate(() -> iterable).flatMap(Streams::stream)}.
       */
      public static <T extends @Nullable Object> Iterable<T> cycle(final Iterable<T> iterable) {
        checkNotNull(iterable);
        return new FluentIterable<T>() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

        private
        val collectors: List<VersionsToIncubatingCollector>
    
    ) : VersionsToIncubatingCollector {
    
        override fun collectFrom(sourceFile: File): VersionsToIncubating =
            collectors
                .flatMap { it.collectFrom(sourceFile).entries }
                .associate { it.key to it.value }
    }
    
    
    private
    const val VERSION_NOT_FOUND = "Not found"
    
    
    private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * Returns a {@link Stream} containing the elements of the first stream, followed by the elements
       * of the second stream, and so on.
       *
       * <p>This is equivalent to {@code Stream.of(streams).flatMap(stream -> stream)}, but the returned
       * stream may perform better.
       *
       * @see Stream#concat(Stream, Stream)
       */
      @SuppressWarnings("unchecked") // could probably be avoided with a forwarding Spliterator
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top