Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for Towers (0.16 sec)

  1. android/guava/src/com/google/common/math/LongMath.java

      @VisibleForTesting static final long MAX_SIGNED_POWER_OF_TWO = 1L << (Long.SIZE - 2);
    
      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
       * {@code checkedPow(2, log2(x, CEILING))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException of the next-higher power of two is not representable as a {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertEquals("foo", LOWER_CAMEL.to(LOWER_UNDERSCORE, "foo"));
        assertEquals("foo_bar", LOWER_CAMEL.to(LOWER_UNDERSCORE, "fooBar"));
        assertEquals("h_t_t_p", LOWER_CAMEL.to(LOWER_UNDERSCORE, "hTTP"));
      }
    
      public void testLowerCamelToLowerCamel() {
        assertEquals("foo", LOWER_CAMEL.to(LOWER_CAMEL, "foo"));
        assertEquals("fooBar", LOWER_CAMEL.to(LOWER_CAMEL, "fooBar"));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/AsciiTest.java

      private static final String LOWER = "abcdefghijklmnopqrstuvwxyz";
      private static final String UPPER = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    
      public void testToLowerCase() {
        assertEquals(LOWER, Ascii.toLowerCase(UPPER));
        assertSame(LOWER, Ascii.toLowerCase(LOWER));
        assertEquals(IGNORED, Ascii.toLowerCase(IGNORED));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    
    /**
     * Covers basic sanity checks for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 10 21:41:58 GMT 2012
    - 1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/Quantiles.java

       * {@code upper}. Assumes that {@code lower <= upper}. Correctly handles infinities (but not
       * {@code NaN}).
       */
      private static double interpolate(double lower, double upper, double remainder, double scale) {
        if (lower == NEGATIVE_INFINITY) {
          if (upper == POSITIVE_INFINITY) {
            // Return NaN when lower == NEGATIVE_INFINITY and upper == POSITIVE_INFINITY:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/SmallCharMatcher.java

       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      public Iterator<E> iterator() {
        return delegate.iterator();
      }
    
      @Override
      public E last() {
        return delegate.last();
      }
    
      @Override
      public @Nullable E lower(E e) {
        return delegate.lower(checkValid(e));
      }
    
      @Override
      public @Nullable E pollFirst() {
        return delegate.pollFirst();
      }
    
      @Override
      public @Nullable E pollLast() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/PackageSanityTests.java

    import static com.google.common.truth.Truth.assertWithMessage;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    import junit.framework.AssertionFailedError;
    
    /**
     * Covers basic sanity checks for the entire package.
     *
     * @author Kurt Alfred Kluever
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
    
      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 19:24:25 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableRangeMap.java

        int index =
            SortedLists.binarySearch(
                ranges,
                Range::lowerBound,
                Cut.belowValue(key),
                KeyPresentBehavior.ANY_PRESENT,
                KeyAbsentBehavior.NEXT_LOWER);
        if (index == -1) {
          return null;
        } else {
          Range<K> range = ranges.get(index);
          return range.contains(key) ? values.get(index) : null;
        }
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

        }
    
        @Override
        public SortedSet<T> subSet(T fromElement, T toElement) {
          return standardSubSet(fromElement, toElement);
        }
    
        @Override
        public @Nullable T lower(T e) {
          return standardLower(e);
        }
    
        @Override
        public @Nullable T floor(T e) {
          return standardFloor(e);
        }
    
        @Override
        public @Nullable T ceiling(T e) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.9K bytes
    - Viewed (0)
Back to top