Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 545 for predict1 (0.18 sec)

  1. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      private static void assertEvalsToTrue(Predicate<? super @Nullable Integer> predicate) {
        assertTrue(predicate.apply(0));
        assertTrue(predicate.apply(1));
        assertTrue(predicate.apply(null));
      }
    
      private static void assertEvalsToFalse(Predicate<? super @Nullable Integer> predicate) {
        assertFalse(predicate.apply(0));
        assertFalse(predicate.apply(1));
        assertFalse(predicate.apply(null));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Predicates.java

        <T extends @Nullable Object> Predicate<T> withNarrowedType() {
          return (Predicate<T>) this;
        }
      }
    
      /** @see Predicates#not(Predicate) */
      private static class NotPredicate<T extends @Nullable Object>
          implements Predicate<T>, Serializable {
        final Predicate<T> predicate;
    
        NotPredicate(Predicate<T> predicate) {
          this.predicate = checkNotNull(predicate);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

        val kmClass = kmClassSupplier.get()
        return when (memberType) {
            MemberType.TYPE -> hasTypeFlags(kmClass, jvmSignature, predicate)
            MemberType.FIELD -> hasPropertyFlags(kmClass::properties, jvmSignature, predicate)
            MemberType.CONSTRUCTOR -> hasConstructorFlags(kmClass::constructors, jvmSignature, predicate)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 07 08:14:15 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodePredicate.java

        }
    
        protected abstract ModelSpec scope(ModelPath scope, Predicate<? super MutableModelNode> matcher);
    
        public static NodePredicate allLinks() {
            return allLinks(Predicates.<MutableModelNode>alwaysTrue());
        }
    
        public static NodePredicate allLinks(Predicate<? super MutableModelNode> predicate) {
            return new NodePredicate(predicate) {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. docs_src/events/tutorial003.py

        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
        result = ml_models["answer_to_everything"](x)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 07 15:46:00 UTC 2023
    - 569 bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelNodes.java

        public static Predicate<MutableModelNode> withType(final ModelType<?> type) {
            return withType(type, Predicates.<MutableModelNode>alwaysTrue());
        }
    
        public static Predicate<MutableModelNode> withType(Class<?> type, Predicate<? super MutableModelNode> predicate) {
            return withType(ModelType.of(type), predicate);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

        }
    
        @Override
        public int getLinkCount(Predicate<? super MutableModelNode> predicate) {
            return links == null ? 0 : Iterables.size(Iterables.filter(links.values(), predicate));
        }
    
        @Override
        public Set<String> getLinkNames(Predicate<? super MutableModelNode> predicate) {
            if (links == null) {
                return ImmutableSet.of();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    import com.google.common.base.Predicate;
    import java.util.Arrays;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Multimaps} filtering methods.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // nottested
    public class FilteredMultimapTest extends TestCase {
    
      private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        this.unfiltered = checkNotNull(unfiltered);
        this.predicate = checkNotNull(predicate);
      }
    
      @Override
      public Multimap<K, V> unfiltered() {
        return unfiltered;
      }
    
      @Override
      public Predicate<? super Entry<K, V>> entryPredicate() {
        return predicate;
      }
    
      @Override
      public int size() {
        return entries().size();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        this.unfiltered = checkNotNull(unfiltered);
        this.predicate = checkNotNull(predicate);
      }
    
      @Override
      public Multimap<K, V> unfiltered() {
        return unfiltered;
      }
    
      @Override
      public Predicate<? super Entry<K, V>> entryPredicate() {
        return predicate;
      }
    
      @Override
      public int size() {
        return entries().size();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top