Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for nums (0.04 sec)

  1. guava/src/com/google/common/math/BigIntegerMath.java

      }
    
      static BigInteger listProduct(List<BigInteger> nums) {
        return listProduct(nums, 0, nums.size());
      }
    
      static BigInteger listProduct(List<BigInteger> nums, int start, int end) {
        switch (end - start) {
          case 0:
            return BigInteger.ONE;
          case 1:
            return nums.get(start);
          case 2:
            return nums.get(start).multiply(nums.get(start + 1));
          case 3:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

              }
            };
        assertEquals(2, FluentIterable.from(iterable).size());
      }
    
      public void testSize_collectionDoesntIterate() {
        List<Integer> nums = asList(1, 2, 3, 4, 5);
        List<Integer> collection =
            new ArrayList<Integer>(nums) {
              @Override
              public Iterator<Integer> iterator() {
                throw new AssertionFailedError("Don't iterate me!");
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

            };
        assertEquals(2, Iterables.size(iterable));
      }
    
      @SuppressWarnings("serial")
      public void testSize_collection_doesntIterate() {
        List<Integer> nums = asList(1, 2, 3, 4, 5);
        List<Integer> collection =
            new ArrayList<Integer>(nums) {
              @Override
              public Iterator<Integer> iterator() {
                throw new AssertionFailedError("Don't iterate me!");
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Enums;
    import java.util.List;
    import java.util.Set;
    
    /**
     * An abstract TestSetGenerator for generating sets containing enum values.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Enums;
    import java.util.List;
    import java.util.Set;
    
    /**
     * An abstract TestSetGenerator for generating sets containing enum values.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

    import com.google.common.collect.Multiset;
    import com.google.common.collect.testing.AnEnum;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.SampleElements.Enums;
    import java.util.List;
    
    /**
     * An abstract {@code TestMultisetGenerator} for generating multisets containing enum values.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java

    public class SearchBody extends ListForm {
    
        // `size` is an alias of `num`.
        // `size` is prepared to be compatible with other Admin APIs
        @ValidateTypeFailure
        public Integer size;
    
        @Override
        public void initialize() {
            if (size != null) {
                num = num == null || num < size ? size : num;
            }
            super.initialize();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/path-params.md

    ```
    
    /// info
    
    <a href="https://docs.python.org/3/library/enum.html" class="external-link" target="_blank">Les énumérations (ou enums) sont disponibles en Python</a> depuis la version 3.4.
    
    ///
    
    /// tip | "Astuce"
    
    Pour ceux qui se demandent, "AlexNet", "ResNet", et "LeNet" sont juste des noms de <abbr title="Techniquement, des architectures de modèles">modèles</abbr> de Machine Learning.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image03.png">
    
    ### Mit Python-*<abbr title="Enumeration – Aufzählung">Enums</abbr>* arbeiten
    
    Der *Pfad-Parameter* wird ein *<abbr title="Member – Mitglied: Einer der möglichen Werte einer Enumeration">Member</abbr> eines Enums* sein.
    
    #### *Enum-Member* vergleichen
    
    Sie können ihn mit einem Member Ihres Enums `ModelName` vergleichen:
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top