Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for floor (0.2 sec)

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

        @CheckForNull
        private AvlNode<E> floor(Comparator<? super E> comparator, @ParametricNullness E e) {
          int cmp = comparator.compare(e, getElement());
          if (cmp > 0) {
            return (right == null) ? this : MoreObjects.firstNonNull(right.floor(comparator, e), this);
          } else if (cmp == 0) {
            return this;
          } else {
            return (left == null) ? null : left.floor(comparator, e);
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      @CheckForNull
      public E lower(E element) {
        int index = headIndex(element, false) - 1;
        return (index == -1) ? null : elements.get(index);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        int index = headIndex(element, true) - 1;
        return (index == -1) ? null : elements.get(index);
      }
    
      @Override
      @CheckForNull
      public E ceiling(E element) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

        @Override
        @CheckForNull
        public E lower(@ParametricNullness E e) {
          return delegate.lower(e);
        }
    
        @Override
        @CheckForNull
        public E floor(@ParametricNullness E e) {
          return delegate.floor(e);
        }
    
        @Override
        @CheckForNull
        public E ceiling(@ParametricNullness E e) {
          return delegate.ceiling(e);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 77.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * simultaneously adopted and removed.
       */
      private val connections = ConcurrentLinkedQueue<RealConnection>()
    
      init {
        // Put a floor on the keep alive duration, otherwise cleanup will spin loop.
        require(keepAliveDuration > 0L) { "keepAliveDuration <= 0: $keepAliveDuration" }
      }
    
      fun idleConnectionCount(): Int {
        return connections.count {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

              descendingSet = dS;
              return dS;
            }
            return descendingSet;
          }
        }
    
        @Override
        @CheckForNull
        public E floor(E e) {
          synchronized (mutex) {
            return delegate().floor(e);
          }
        }
    
        @Override
        public NavigableSet<E> headSet(E toElement, boolean inclusive) {
          synchronized (mutex) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

      @CheckForNull
      public E lower(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, false).descendingIterator(), null);
      }
    
      /** @since 12.0 */
      @Override
      @CheckForNull
      public E floor(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, true).descendingIterator(), null);
      }
    
      /** @since 12.0 */
      @Override
      @CheckForNull
      public E ceiling(E e) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      @CheckForNull
      public E lower(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, false).descendingIterator(), null);
      }
    
      /** @since 12.0 */
      @Override
      @CheckForNull
      public E floor(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, true).descendingIterator(), null);
      }
    
      /** @since 12.0 */
      @Override
      @CheckForNull
      public E ceiling(E e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 36.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        @CheckForNull
        public K lower(@ParametricNullness K e) {
          return map().lowerKey(e);
        }
    
        @Override
        @CheckForNull
        public K floor(@ParametricNullness K e) {
          return map().floorKey(e);
        }
    
        @Override
        @CheckForNull
        public K ceiling(@ParametricNullness K e) {
          return map().ceilingKey(e);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
  9. RELEASE.md

        *   Added int16x8 support for the built-in ops `space_to_batch_nd` and `batch_to_space_nd`
        *   Added 16-bit int type support for built-in op `less`, `greater_than`, `equal`
        *   Added 8-bit and 16-bit support for `floor_div` and `floor_mod`.
        *   Added 16-bit and 32-bit int support for the built-in op `bitcast`.
        *   Added 8-bit/16-bit/32-bit int/uint support for the built-in op `bitwise_xor`
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
  10. guava/src/com/google/common/collect/ImmutableSet.java

                // There are only maxRunBeforeFallback - 1 elements between here and there,
                // so even if they were all nonnull, we wouldn't detect a hash flood.  Therefore,
                // we can skip them all.
                knownRunStart += maxRunBeforeFallback;
              } else {
                knownRunStart++; // the only case in which maxRunEnd doesn't increase by mRBF
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top