Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for number (0.1 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public <N1 extends Number, N2 extends Number, N11 extends N1>
          void testisSupertypeOf_equalWildcardTypes() {
        assertAssignable(
            new TypeToken<List<? extends N1>>() {}, new TypeToken<List<? extends N1>>() {});
        assertAssignable(new TypeToken<List<? super N1>>() {}, new TypeToken<List<? super N1>>() {});
        assertAssignable(
            new TypeToken<List<? extends Number>>() {}, new TypeToken<List<? extends Number>>() {});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Optional.java

       * Optional<Number>} (where {@code Number} is the desired output type) solves the problem:
       *
       * <pre>{@code
       * Optional<Number> optionalInt = (Optional) getSomeOptionalInt();
       * Number value = optionalInt.or(0.5); // fine
       *
       * FluentIterable<? extends Number> numbers = getSomeNumbers();
       * Optional<Number> first = (Optional) numbers.first();
       * Number value = first.or(0.5); // fine
       * }</pre>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public <N1 extends Number, N2 extends Number, N11 extends N1>
          void testisSupertypeOf_equalWildcardTypes() {
        assertAssignable(
            new TypeToken<List<? extends N1>>() {}, new TypeToken<List<? extends N1>>() {});
        assertAssignable(new TypeToken<List<? super N1>>() {}, new TypeToken<List<? super N1>>() {});
        assertAssignable(
            new TypeToken<List<? extends Number>>() {}, new TypeToken<List<? extends Number>>() {});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

      /**
       * Computes the optimal k (number of hashes per element inserted in Bloom filter), given the
       * expected insertions and total number of bits in the Bloom filter.
       *
       * <p>See http://en.wikipedia.org/wiki/File:Bloom_filter_fp_probability.svg for the formula.
       *
       * @param n expected insertions (must be positive)
       * @param m total number of bits in Bloom filter (must be positive)
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. .github/workflows/sigbuild-docker-presubmit.yml

                
                - `gcr.io/tensorflow-sigs/build:${{ github.event.number }}-python3.12`
                - `gcr.io/tensorflow-sigs/build:${{ github.event.number }}-python3.11`
                - `gcr.io/tensorflow-sigs/build:${{ github.event.number }}-python3.10`
                - `gcr.io/tensorflow-sigs/build:${{ github.event.number }}-python3.9`
                
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Number> numbers = Ordering.explicit((Number) 1);
        Ordering<Integer> integers = Ordering.explicit(1);
    
        // Like by like equals like
        Ordering<Number> unusedA = numbers.compound(numbers);
    
        // The compound takes the more specific type of the two, regardless of order
    
        Ordering<Number> unusedB = numbers.compound(objects);
        Ordering<Number> unusedC = objects.compound(numbers);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

        Ordering<Number> numbers = Ordering.explicit((Number) 1);
        Ordering<Integer> integers = Ordering.explicit(1);
    
        // Like by like equals like
        Ordering<Number> unusedA = numbers.compound(numbers);
    
        // The compound takes the more specific type of the two, regardless of order
    
        Ordering<Number> unusedB = numbers.compound(objects);
        Ordering<Number> unusedC = objects.compound(numbers);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. manifests/charts/base/files/crd-all.gen.yaml

                              number:
                                maximum: 65535
                                minimum: 1
                                type: integer
                            required:
                            - number
                            type: object
                          type: array
                          x-kubernetes-list-map-keys:
                          - number
                          x-kubernetes-list-type: map
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        }
      }
    
      /**
       * Removes a number of occurrences of the specified element from this multiset. If the multiset
       * contains fewer than this number of occurrences to begin with, all occurrences will be removed.
       *
       * @param element the element whose occurrences should be removed
       * @param occurrences the number of occurrences of the element to remove
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. fastapi/param_functions.py

            Doc(
                """
                Maximum number of allow digits for strings.
                """
            ),
        ] = _Unset,
        decimal_places: Annotated[
            Union[int, None],
            Doc(
                """
                Maximum number of decimal places allowed for numbers.
                """
            ),
        ] = _Unset,
        examples: Annotated[
            Optional[List[Any]],
            Doc(
                """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
Back to top