Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for FlatMap (0.33 sec)

  1. guava/src/com/google/common/collect/CollectSpliterators.java

          Spliterator<OutElementT> flatMap(
              Spliterator<InElementT> fromSpliterator,
              Function<? super InElementT, @Nullable Spliterator<OutElementT>> function,
              int topCharacteristics,
              long topSize) {
        checkArgument(
            (topCharacteristics & Spliterator.SUBSIZED) == 0,
            "flatMap does not support SUBSIZED characteristic");
        checkArgument(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AbstractInstrumentationProcessor.java

                .flatMap(it -> it.contributeClassLevelAnnotationTypes().stream())
                .collect(Collectors.toSet());
        }
    
        @Override
        public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
            Stream<? extends Element> annotatedTypes = getSupportedAnnotations().stream()
                .flatMap(annotation -> roundEnv.getElementsAnnotatedWith(annotation).stream())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                    )
                }
            }
    
            val firScopes = towerDataElementsIndexed.flatMap { (index, towerDataElement) ->
                val availableScopes = towerDataElement
                    .getAvailableScopes { coneType -> withSyntheticPropertiesScopeOrSelf(coneType) }
                    .flatMap { flattenFirScope(it) }
                availableScopes.map { IndexedValue(index, it) }
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/configurators/AnalysisApiBaseTestServiceRegistrar.kt

                mainBinaryModules.flatMap { it.getBinaryRoots() },
                testServices.environmentManager.getProjectEnvironment(),
            ).distinct()
    
            val sharedBinaryRoots = StandaloneProjectFactory.getVirtualFilesForLibraryRoots(
                sharedBinaryDependencies.flatMap { binary -> binary.getBinaryRoots() },
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/provider/Provider.java

         *     inputFile = producer.flatMap { it.outputFile }
         * }
         * </code></pre>
         *
         * <p>
         * An added benefit of connecting input and output properties like this is that Gradle can automatically
         * detect task dependencies based on such connections. To make this happen at code level, any task
         * details associated with this provider (the one on which {@code flatMap} is being called) are ignored.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 09:14:21 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

                is ErrorType -> return emptyList()
                is CapturedType -> return type.constructor.supertypes.flatMap { getUpperBounds(it) }
                is NewCapturedType -> return type.constructor.supertypes.flatMap { getUpperBounds(it) }
                is SimpleType -> {
                    val typeParameterDescriptor = TypeUtils.getTypeParameterDescriptorOrNull(type)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            val pairs = durations.flatMap { it ->
                val scenarioDurations = it as JSONObject
                val scenario = Scenario.fromTestId(scenarioDurations["scenario"] as String)
                (scenarioDurations["durations"] as JSONArray).flatMap {
                    val duration = it as JSONObject
                    val testProject = duration["testProject"] as String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

    // Maps from a FunctionDef's name to FunctionDef, for a given FunctionDefLibrary
    using FunctionDefMap = gtl::FlatMap<StringPiece, const tensorflow::FunctionDef*,
                                        StringPieceHasher>;
    
    // Maps from a functiondef's name to the corresponding "TFConcreteFunction"
    using FlatTensorFunctionMap =
        gtl::FlatMap<std::string, std::unique_ptr<FlatTensorFunction>>;
    
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Try.java

         * the {@code Try} representing the original failure.
         *
         * Exceptions thrown by the given function are propagated.
         */
        public abstract <U> Try<U> flatMap(Function<? super T, Try<U>> f);
    
        /**
         * If the represented operation was successful, returns the result of applying the given
         * mapping function to the value, otherwise returns
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/fromLanguageTree/LanguageTreeToDom.kt

                val values = blockElement.args.filterIsInstance<FunctionArgument.Positional>().map { exprToValue(it.expr) }
                errors += values.filterIsInstance<ExprConversion.Failed>().flatMap { it.errors }
    
                if (errors.isNotEmpty()) {
                    errorNode(blockElement, errors) // TODO: reason
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top