Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for casa (0.12 sec)

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

          return 0;
        }
        // The cast is safe because we call this method only if hasLowerBound().
        int cmp =
            comparator()
                .compare(uncheckedCastNullableTToT(range.getLowerEndpoint()), node.getElement());
        if (cmp < 0) {
          return aggregateBelowRange(aggr, node.left);
        } else if (cmp == 0) {
          switch (range.getLowerBoundType()) {
            case OPEN:
    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/math/Quantiles.java

     * dataset contains no finite values).
     *
     * <h3>Performance</h3>
     *
     * <p>The average time complexity of the computation is O(N) in the size of the dataset. There is a
     * worst case time complexity of O(N^2). You are extremely unlikely to hit this quadratic case on
     * randomly ordered data (the probability decreases faster than exponentially in N), but if you are
    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)
  3. android/guava/src/com/google/common/math/LongMath.java

        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(x == floorPow);
            // fall through
          case FLOOR:
          case DOWN:
            return logFloor;
          case CEILING:
          case UP:
            return logFloor + lessThanBranchFree(floorPow, x);
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
    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)
  4. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

       *
       * <p><b>Warning:</b> using a bounded executor may be counterproductive! If the thread pool fills
       * up, any time callers spend waiting for a thread may count toward their time limit, and in this
       * case the call may even time out before the target method is ever invoked.
       *
       * @param executor the ExecutorService that will execute the method calls on the target objects;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      private static void assertCastFails(long value) {
        try {
          UnsignedInts.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertThat(ex).hasMessageThat().contains(String.valueOf(value));
        }
      }
    
      public void testSaturatedCast() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

     * the {@code E} type variable declared by class {@code List} naturally maps to {@code String} in
     * the context of {@code class MyStringList implements List<String>}). In such case, prefer to use
     * {@link TypeToken#resolveType} since it's simpler and more type safe. This class should only be
     * used when the type mapping isn't implied by the static type hierarchy, but provided through other
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Closeables.java

       * Closes the given {@link InputStream}, logging any {@code IOException} that's thrown rather than
       * propagating it.
       *
       * <p>While it's not safe in the general case to ignore exceptions that are thrown when closing an
       * I/O resource, it should generally be safe in the case of a resource that's being used only for
       * reading, such as an {@code InputStream}. Unlike with writable resources, there's no chance that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Cut.java

          return BoundType.OPEN;
        }
    
        @Override
        Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
              return this;
            case OPEN:
              C previous = domain.previous(endpoint);
              return (previous == null) ? Cut.<C>belowAll() : new AboveValue<C>(previous);
            default:
              throw new AssertionError();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMultiset.java

          if (!result.isPartialView()) {
            return result;
          }
        }
    
        Multiset<? extends E> multiset =
            (elements instanceof Multiset)
                ? Multisets.cast(elements)
                : LinkedHashMultiset.create(elements);
    
        return copyFromEntries(multiset.entrySet());
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

          switch (input) {
            case VALID_INPUT_DATA:
              outputFuture.set(RESULT_DATA);
              break;
            case SLOW_OUTPUT_VALID_INPUT_DATA:
              break; // do nothing to the result
            case SLOW_FUNC_VALID_INPUT_DATA:
              funcIsWaitingLatch.countDown();
              awaitUninterruptibly(funcCompletionLatch);
              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top