Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 485 for predict1 (0.18 sec)

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

       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch} (same).
       */
      public final boolean anyMatch(Predicate<? super E> predicate) {
        return Iterables.any(getDelegate(), predicate);
      }
    
      /**
       * Returns {@code true} if every element in this fluent iterable satisfies the predicate. If this
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/util/workloadinstances/util.go

    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/slices"
    )
    
    // FindInstance returns the first workload instance matching given predicate.
    func FindInstance(instances []*model.WorkloadInstance, predicate func(*model.WorkloadInstance) bool) *model.WorkloadInstance {
    	for _, instance := range instances {
    		if predicate(instance) {
    			return instance
    		}
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 17:36:41 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/deadness_analysis.h

    // of PRED0 and PRED1.
    //
    // It is tempting to call this a liveness analysis but I avoided that because
    // "liveness" already has other connotations.
    class DeadnessAnalysis {
     public:
      // An opaque representation of a predicate.  DeadnessPredicate
      // instances that compare equal via operator== represent predicates
      // that always evaluate to the same value.
      struct DeadnessPredicate {
       public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/asm/ClassRelevancyFilter.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.compile.incremental.asm;
    
    import java.util.function.Predicate;
    import com.google.common.collect.ImmutableSet;
    
    import java.util.Set;
    
    class ClassRelevancyFilter implements Predicate<String> {
    
        private static final Set<String> PRIMITIVES = ImmutableSet.<String>builder()
            .add("void")
            .add("boolean")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/ide/idea/kotlin/build.gradle.kts

    // tag::project-with-xml[]
    
    idea.project.ipr {
        withXml(Action<XmlProvider> {
            fun Element.firstElement(predicate: (Element.() -> Boolean)) =
                childNodes
                    .run { (0 until length).map(::item) }
                    .filterIsInstance<Element>()
                    .first { it.predicate() }
    
            asElement()
                .firstElement { tagName == "component" && getAttribute("name") == "VcsDirectoryMappings" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/AntJacocoCheck.java

    public class AntJacocoCheck extends AbstractAntJacocoReport<JacocoViolationRulesContainer> {
    
        private static final String VIOLATIONS_ANT_PROPERTY = "jacocoViolations";
        private static final Predicate<JacocoViolationRule> RULE_ENABLED_PREDICATE = new Predicate<JacocoViolationRule>() {
            @Override
            public boolean apply(JacocoViolationRule rule) {
                return rule.isEnabled();
            }
        };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		{opts: storage.ListOptions{ResourceVersion: "", Predicate: storage.SelectionPredicate{Continue: "a"}}, expectBypass: true},
    		{opts: storage.ListOptions{ResourceVersion: "0", Predicate: storage.SelectionPredicate{Continue: "a"}}, expectBypass: true},
    		{opts: storage.ListOptions{ResourceVersion: "1", Predicate: storage.SelectionPredicate{Continue: "a"}}, expectBypass: true},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  8. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/CachingJvmMetadataDetectorTest.groovy

            when: "cache gets invalidated by predicate, and some calls are made that match it and some that don't"
            metadataDetector.invalidateItemsMatching(it -> it == metadata1)
            metadataDetector.getMetadata(location1)
            metadataDetector.getMetadata(location2)
            then: "only the calls that don't match the predicate get executed again"
            1 * delegate.getMetadata(location1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/OneOfTypeBinderCreationListener.java

        private final Action<ModelBinding> bindAction;
    
        public OneOfTypeBinderCreationListener(ModelRuleDescriptor descriptor, BindingPredicate predicate, boolean writable, Action<ModelBinding> bindAction) {
            super(descriptor, predicate, writable);
            this.bindAction = bindAction;
        }
    
        @Override
        public boolean canBindInState(ModelNode.State state) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/ConflictContainer.java

        }
    
        public boolean isEmpty() {
            return conflicts.isEmpty();
        }
    
        boolean hasMatchingConflict(Predicate<T> predicate) {
            if (isEmpty()) {
                return false;
            }
            return conflicts.stream().flatMap(conflict -> conflict.candidates.stream()).anyMatch(predicate);
        }
    
        class Conflict {
            final Set<K> participants;
            Collection<? extends T> candidates;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top