Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 150 for predict0 (0.08 sec)

  1. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    import com.google.common.base.Predicate;
    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 =
          new Predicate<Entry<String, Integer>>() {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        Map<String, Integer> unfiltered = createUnfiltered();
        unfiltered.put("cat", 3);
        unfiltered.put("dog", 2);
        unfiltered.put("horse", 5);
        Predicate<Object> predicate = Predicates.alwaysFalse();
        Map<String, Integer> filtered = Maps.filterEntries(unfiltered, predicate);
        assertTrue(filtered.isEmpty());
      }
    
      public void testFilteredEntriesWildCardEntryPredicate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

    import com.google.common.base.Predicate;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Tests for Multimaps.filterEntries().asMap().
     *
     * @author Jared Levy
     */
    @GwtIncompatible(value = "untested")
    public class MultimapsFilterEntriesAsMapTest extends AbstractMultimapAsMapImplementsMapTest {
      private static final Predicate<Entry<String, Integer>> PREDICATE =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  4. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_events/test_tutorial003.py

            assert response.json() == {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/predict": {
                        "get": {
                            "summary": "Predict",
                            "operationId": "predict_predict_get",
                            "parameters": [
                                {
                                    "required": True,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java

        return Lists.newArrayList(contents);
      }
    
      @Override
      Iterable<Integer> filter(Iterable<Integer> elements, Predicate<? super Integer> predicate) {
        return Iterables.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java

          protected SortedSet<Integer> delegate() {
            return result;
          }
        };
      }
    
      @Override
      SortedSet<Integer> filter(SortedSet<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
        checkNotNull(expectedThrowable);
        checkNotNull(supplier);
        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java

          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
        checkNotNull(expectedThrowable);
        checkNotNull(supplier);
        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
        checkNotNull(expectedThrowable);
        checkNotNull(supplier);
        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top