Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for Number (0.05 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. 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)
  7. 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)
  8. 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)
  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. android/guava/src/com/google/common/hash/HashCode.java

       * hexadecimal number in lower case.
       *
       * <p>Note that if the output is considered to be a single hexadecimal number, whether this string
       * is big-endian or little-endian depends on the byte order of {@link #asBytes}. This may be
       * surprising for implementations of {@code HashCode} that represent the number in big-endian
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top