Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Gomes (0.15 sec)

  1. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          }
          if (lhs == null) {
            // lhs (null) comes just before justAfterNull.
            // If rhs is b, lhs comes first.
            if (rhs.equals(justAfterNull)) {
              return -1;
            }
            return justAfterNull.compareTo(rhs);
          }
          if (rhs == null) {
            // rhs (null) comes just before justAfterNull.
            // If lhs is b, rhs comes first.
            if (lhs.equals(justAfterNull)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                  sneakyThrow(new SomeCheckedException());
                  throw new AssertionError(); // unreachable
                }
              }
            };
    
        // The first time, the sneakily-thrown exception comes out
        try {
          iter.hasNext();
          fail("No exception thrown");
        } catch (Exception e) {
          if (!(e instanceof SomeCheckedException)) {
            throw e;
          }
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

            return first.length() - second.length();
          } else {
            return first.compareTo(second);
          }
        }
      }
    
      /** Decreasing integer values. A {@code null} comes before any non-null value. */
      private static final Comparator<@Nullable Integer> DECREASING_INT_COMPARATOR =
          Ordering.<Integer>natural().reverse().<Integer>nullsFirst();
    
      private SetMultimap<String, Integer> create() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Cut.java

        }
        if (that == aboveAll()) {
          return -1;
        }
        int result = Range.compareOrThrow(endpoint, that.endpoint);
        if (result != 0) {
          return result;
        }
        // same value. below comes before above
        return Booleans.compare(this instanceof AboveValue, that instanceof AboveValue);
      }
    
      C endpoint() {
        return endpoint;
      }
    
      @SuppressWarnings("unchecked") // catching CCE
      @Override
    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)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * <p>In order to allow proper garbage collection of unused locks, the edges of the lock graph are
     * weak references.
     *
     * <p><strong>Performance</strong>
     *
     * <p>The extra bookkeeping done by cycle detecting locks comes at some cost to performance.
     * Benchmarks (as of December 2011) show that:
     *
     * <ul>
     *   <li>for an unnested {@code lock()} and {@code unlock()}, a cycle detecting lock takes 38ns as
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CharMatcher.java

        int pos = indexIn(string);
        if (pos == -1) {
          return string;
        }
    
        char[] chars = string.toCharArray();
        int spread = 1;
    
        // This unusual loop comes from extensive benchmarking
        OUT:
        while (true) {
          pos++;
          while (true) {
            if (pos == chars.length) {
              break OUT;
            }
            if (matches(chars[pos])) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          }
          if (lhs == null) {
            // lhs (null) comes just before justAfterNull.
            // If rhs is b, lhs comes first.
            if (rhs.equals(justAfterNull)) {
              return -1;
            }
            return justAfterNull.compareTo(rhs);
          }
          if (rhs == null) {
            // rhs (null) comes just before justAfterNull.
            // If lhs is b, rhs comes first.
            if (lhs.equals(justAfterNull)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

    import javax.annotation.CheckForNull;
    
    /**
     * Unchecked variant of {@link java.util.concurrent.ExecutionException}. As with {@code
     * ExecutionException}, the exception's {@linkplain #getCause() cause} comes from a failed task,
     * possibly run in another thread.
     *
     * <p>{@code UncheckedExecutionException} is intended as an alternative to {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Graphs.java

        }
        for (N node : subgraph.nodes()) {
          for (N successorNode : graph.successors(node)) {
            if (subgraph.nodes().contains(successorNode)) {
              // requireNonNull is safe because the endpoint pair comes from the graph.
              subgraph.putEdgeValue(
                  node,
                  successorNode,
                  requireNonNull(graph.edgeValueOrDefault(node, successorNode, null)));
            }
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

      }
    
      /**
       * Calls {@code next()} on {@code iterator}, either {@code numberToAdvance} times or until {@code
       * hasNext()} returns {@code false}, whichever comes first.
       *
       * @return the number of elements the iterator was advanced
       * @since 13.0 (since 3.0 as {@code Iterators.skip})
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top