Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for saturatedCast (0.05 sec)

  1. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      public int size() {
        Segment<K, V, E, S>[] segments = this.segments;
        long sum = 0;
        for (int i = 0; i < segments.length; ++i) {
          sum += segments[i].count;
        }
        return Ints.saturatedCast(sum);
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

        long sum = 0;
        for (Segment<K, V> segment : segments) {
          sum += segment.count;
        }
        return sum;
      }
    
      @Override
      public int size() {
        return Ints.saturatedCast(longSize());
      }
    
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      @Override
      public @Nullable V get(@Nullable Object key) {
        if (key == null) {
          return null;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  3. RELEASE.md

        of the data type of the input image.
    *   The image processing ops do not take `min` and `max` inputs any more,
        casting safety is handled by `saturate_cast`, which makes sure over- and
        underflows are handled before casting to data types with smaller ranges.
    *   For C++ API users: `IsLegacyScalar` and `IsLegacyVector` are now gone from
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Oct 28 22:27:41 UTC 2025
    - 740.4K bytes
    - Viewed (3)
Back to top