Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 355 for inverse (0.04 seconds)

  1. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

     * @author Chris Povirk
     */
    @GwtIncompatible // TreeRangeSet
    @NullUnmarked
    public class TreeRangeSetTest extends AbstractRangeSetTest {
      // TODO(cpovirk): test all of these with the ranges added in the reverse order
    
      private static final ImmutableList<Range<Integer>> QUERY_RANGES;
    
      private static final int MIN_BOUND = -1;
      private static final int MAX_BOUND = 1;
    
      static {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        return new Builder<K, V>(comparator);
      }
    
      public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() {
        return new Builder<K, V>(Ordering.natural().reverse());
      }
    
      public static final class Builder<K, V> extends ImmutableMap.Builder<K, V> {
        private final Comparator<? super K> comparator;
    
        public Builder(Comparator<? super K> comparator) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/TypeToken.java

       * Returns the set of interfaces and classes that this type is or is a subtype of. The returned
       * types are parameterized with proper type arguments.
       *
       * <p>Subtypes are always listed before supertypes. But the reverse is not true. A type isn't
       * necessarily a subtype of all the types following. Order between types without subtype
       * relationship is arbitrary and not guaranteed.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        Iterators.addAll(ascending, sortedMultiset.entrySet().iterator());
        List<Entry<E>> descending = new ArrayList<>();
        Iterators.addAll(descending, sortedMultiset.descendingMultiset().entrySet().iterator());
        Collections.reverse(descending);
        assertEquals(ascending, descending);
      }
    
      void expectAddFailure(SortedMultiset<E> multiset, Entry<E> entry) {
        try {
          multiset.add(entry.getElement(), entry.getCount());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Collections2.java

           * method.
           */
          requireNonNull(nextPermutation);
    
          int l = findNextL(j);
          Collections.swap(nextPermutation, j, l);
          int n = nextPermutation.size();
          Collections.reverse(nextPermutation.subList(j + 1, n));
        }
    
        int findNextJ() {
          /*
           * requireNonNull is safe because we don't clear nextPermutation until we're done calling this
           * method.
           */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/math/IntMath.java

         * an int.
         */
        checkNonNegative("a", a);
        checkNonNegative("b", b);
        if (a == 0) {
          // 0 % b == 0, so b divides a, but the converse doesn't hold.
          // BigInteger.gcd is consistent with this decision.
          return b;
        } else if (b == 0) {
          return a; // similar logic
        }
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  7. scripts/docs.py

            py_file.unlink()
            removed += 1
        # Clean up directories that are empty or only contain __init__.py / __pycache__
        for dir_path in sorted(docs_src_path.rglob("*"), reverse=True):
            if not dir_path.is_dir():
                continue
            remaining = [
                f
                for f in dir_path.iterdir()
                if f.name != "__pycache__" and f.name != "__init__.py"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  8. docs/changelogs/changelog_2x.md

        This fixes a bug in resumed TLS sessions where the wrong protocol could be
        selected.
     *  Fix: Don't crash in SPDY and HTTP/2 when disconnecting before connecting.
     *  Fix: Avoid a reverse DNS-lookup for a numeric proxy address
     *  Fix: Resurrect http/2 frame logging.
     *  Fix: Limit to 20 authorization attempts.
    
    ## Version 2.1.0
    
    _2014-11-11_
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Range.java

       *       contained by the latter range)
       * </ul>
       *
       * <p>Note that if {@code a.encloses(b)}, then {@code b.contains(v)} implies {@code
       * a.contains(v)}, but as the last two examples illustrate, the converse is not always true.
       *
       * <p>Being reflexive, antisymmetric and transitive, the {@code encloses} relation defines a
       * <i>partial order</i> over ranges. There exists a unique {@linkplain Range#all maximal} range
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28.3K bytes
    - Click Count (0)
  10. src/bytes/bytes.go

    func LastIndexFunc(s []byte, f func(r rune) bool) int {
    	return lastIndexFunc(s, f, true)
    }
    
    // indexFunc is the same as IndexFunc except that if
    // truth==false, the sense of the predicate function is
    // inverted.
    func indexFunc(s []byte, f func(r rune) bool, truth bool) int {
    	start := 0
    	for start < len(s) {
    		r, wid := utf8.DecodeRune(s[start:])
    		if f(r) == truth {
    			return start
    		}
    		start += wid
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
Back to Top