Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 485 for predict1 (0.14 sec)

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

          Multimap<K, V> filterFiltered(
              FilteredMultimap<K, V> multimap, Predicate<? super Entry<K, V>> entryPredicate) {
        Predicate<Entry<K, V>> predicate =
            Predicates.<Entry<K, V>>and(multimap.entryPredicate(), entryPredicate);
        return new FilteredEntryMultimap<>(multimap.unfiltered(), predicate);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/classpath/AbstractCallInterceptionTest.groovy

    import spock.lang.Specification
    
    import java.util.function.Predicate
    
    abstract class AbstractCallInterceptionTest extends Specification {
        protected BytecodeInterceptorFilter bytecodeInterceptorFilter = BytecodeInterceptorFilter.ALL
    
        protected abstract Predicate<String> shouldInstrumentAndReloadClassByName()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractTaskTest.groovy

        }
    
        def "can specify onlyIf predicate using closure"() {
            given:
            def task = getTask()
    
            expect:
            task.getOnlyIf().isSatisfiedBy(task)
    
            when:
            task.onlyIf({ false })
    
            then:
            !task.getOnlyIf().isSatisfiedBy(task)
        }
    
        def "can specify onlyIf predicate using spec"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. platforms/jvm/platform-jvm/src/main/java/org/gradle/jvm/internal/services/PlatformJvmServices.java

                        ConditionalInvalidation<JvmInstallationMetadata> checkedInvalidationFromDetector =
                            predicate -> ((ConditionalInvalidation<?>) globalJvmMetadataDetector).invalidateItemsMatching(item ->
                                item instanceof JvmInstallationMetadata && predicate.test((JvmInstallationMetadata) item)
                            );
                        serviceRegistration.add(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedForConfigurationCacheExtension.groovy

    import org.gradle.integtests.fixtures.executer.GradleContextualExecuter
    import org.spockframework.runtime.extension.IAnnotationDrivenExtension
    import org.spockframework.runtime.model.FeatureInfo
    
    import java.util.function.Predicate
    
    import static org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache.Skip.DO_NOT_SKIP
    
    class ToBeFixedForConfigurationCacheExtension implements IAnnotationDrivenExtension<ToBeFixedForConfigurationCache> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 08:57:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/versions/features.go

    )
    
    // Future is an invalid unknown Go version sometime in the future.
    // Do not use directly with Compare.
    const Future = ""
    
    // AtLeast reports whether the file version v comes after a Go release.
    //
    // Use this predicate to enable a behavior once a certain Go release
    // has happened (and stays enabled in the future).
    func AtLeast(v, release string) bool {
    	if v == Future {
    		return true // an unknown future version is always after y.
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/ide/eclipse/kotlin/build.gradle.kts

    // tag::wtp-with-xml[]
    
    eclipse.wtp.facet.file.withXml(Action<XmlProvider> {
        fun Element.firstElement(predicate: Element.() -> Boolean) =
            childNodes
                .run { (0 until length).map(::item) }
                .filterIsInstance<Element>()
                .first { it.predicate() }
    
        asElement()
            .firstElement { tagName === "fixed" && getAttribute("facet") == "jst.java" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/AstUtils.java

                return null;
            }
        }
    
        @Nullable
        public static ScriptBlock detectScriptBlock(Statement statement, Predicate<? super ScriptBlock> predicate) {
            ScriptBlock scriptBlock = detectScriptBlock(statement);
            if (scriptBlock != null && predicate.apply(scriptBlock)) {
                return scriptBlock;
            } else {
                return null;
            }
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBinder.java

                @Override
                public void execute(ModelBinding modelBinding) {
                    ModelNodeInternal node = modelBinding.getNode();
                    BindingPredicate predicate = modelBinding.getPredicate();
                    if (node.isAtLeast(predicate.getState())) {
                        throw new IllegalStateException(String.format("Cannot add rule %s for model element '%s' at state %s as this element is already at state %s.",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBindings.java

        private void addRule(RuleBinder rule, NodeAtStateIndex index, ModelBinding binding) {
            Reference reference = new Reference(rule, index, binding);
            BindingPredicate predicate = binding.getPredicate();
            if (predicate.getPath() != null) {
                if (predicate.getScope() != null) {
                    throw new UnsupportedOperationException("Currently not implemented");
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top