Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for MergeWith (0.13 sec)

  1. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/management/internal/autoapply/CompositeAutoAppliedPluginRegistry.java

                .reduce(PluginRequests.EMPTY, PluginRequests::mergeWith);
        }
    
        @Override
        public PluginRequests getAutoAppliedPlugins(Settings target) {
            return registries.stream().map(r -> r.getAutoAppliedPlugins(target))
                .reduce(PluginRequests.EMPTY, PluginRequests::mergeWith);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/plugin/management/internal/PluginRequests.java

                return true;
            }
    
            @Override
            public PluginRequests mergeWith(PluginRequests requests) {
                return requests;
            }
    
            @Override
            public Iterator<PluginRequestInternal> iterator() {
                return Collections.emptyIterator();
            }
        }
    
        default PluginRequests mergeWith(PluginRequests requests) {
            if (isEmpty()) {
                return requests;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 17 01:56:21 UTC 2019
    - 2K bytes
    - Viewed (0)
  3. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/utils/SublistMerger.kt

            f()
            finish()
        }
    }
    
    public fun <A : Any> List<A>.mergeWith(f: SublistMerger<A>.() -> Unit): List<A> =
        mutableListOf<A>().also { destination -> mergeInto(destination, f) }
    
    public inline fun <A : Any, reified R : A> List<A>.mergeOnly(crossinline create: (List<R>) -> A?): List<A> =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/PluginRequestsHandlerTest.kt

            subject.handle(initialRequests, scriptHandler, target, targetScope)
    
            // then:
            verify(pluginRequestApplicator).applyPlugins(initialRequests.mergeWith(autoAppliedPlugins), scriptHandler, pluginManager, targetScope)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/PluginRequestsHandler.kt

            val autoAppliedPlugins = autoAppliedPluginHandler.getAutoAppliedPlugins(initialRequests, target)
            pluginRequestApplicator.applyPlugins(
                initialRequests.mergeWith(autoAppliedPlugins),
                scriptHandler,
                target.pluginManager,
                targetScope
            )
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/shape_inference.cc

    }
    
    absl::StatusOr<InferredShape> MergeInferredShapes(const InferredShape& a,
                                                      const InferredShape& b) {
      InferredShape result;
      TF_RETURN_IF_ERROR(a.shape.MergeWith(b.shape, &result.shape));
    
      if (a.handle_type == DT_INVALID) {
        result.handle_type = b.handle_type;
      } else if (b.handle_type == DT_INVALID) {
        result.handle_type = a.handle_type;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/configuration/DefaultScriptPluginFactory.java

                PluginRequests autoAppliedPlugins = autoAppliedPluginHandler.getAutoAppliedPlugins(initialPluginRequests, target);
                PluginRequests allPlugins = initialPluginRequests.mergeWith(autoAppliedPlugins);
                pluginRequestApplicator.applyPlugins(allPlugins, scriptHandler, pluginManager, targetScope);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 15:37:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top