Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for prec (0.04 sec)

  1. guava/src/com/google/common/collect/Ordering.java

        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (compare(prev, next) > 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (compare(prev, next) > 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Optional.java

       * {@code Optional} class. However, this common usage:
       *
       * <pre>{@code
       * for (Foo foo : possibleFoo.asSet()) {
       *   doSomethingWith(foo);
       * }
       * }</pre>
       *
       * ... can be replaced with:
       *
       * <pre>{@code
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Streams.java

       * respective source streams. For example:
       *
       * <pre>{@code
       * Streams.forEachPair(
       *   Stream.of("foo1", "foo2", "foo3"),
       *   Stream.of("bar1", "bar2"),
       *   (arg1, arg2) -> System.out.println(arg1 + ":" + arg2)
       * }</pre>
       *
       * <p>will print:
       *
       * <pre>{@code
       * foo1:bar1
       * foo2:bar2
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Stopwatch.java

     * accuracy, use {@code System.nanoTime()} directly instead.
     *
     * <p>Basic usage:
     *
     * <pre>{@code
     * Stopwatch stopwatch = Stopwatch.createStarted();
     * doSomething();
     * stopwatch.stop(); // optional
     *
     * Duration duration = stopwatch.elapsed();
     *
     * log.info("time: " + stopwatch); // formatted string like "12.3 ms"
     * }</pre>
     *
     * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. requirements.txt

    -e .[all]
    -r requirements-tests.txt
    -r requirements-docs.txt
    pre-commit >=2.17.0,<5.0.0
    # For generating screenshots
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:17:36 UTC 2024
    - 128 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
        checkElementsNotNull(contents, n);
        sort(contents, 0, n, comparator);
        int uniques = 1;
        for (int i = 1; i < n; i++) {
          E cur = contents[i];
          E prev = contents[uniques - 1];
          if (comparator.compare(cur, prev) != 0) {
            contents[uniques++] = cur;
          }
        }
        Arrays.fill(contents, uniques, n, null);
        if (uniques < contents.length / 2) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
        checkElementsNotNull(contents, n);
        sort(contents, 0, n, comparator);
        int uniques = 1;
        for (int i = 1; i < n; i++) {
          E cur = contents[i];
          E prev = contents[uniques - 1];
          if (comparator.compare(cur, prev) != 0) {
            contents[uniques++] = cur;
          }
        }
        Arrays.fill(contents, uniques, n, null);
        return new RegularImmutableSortedSet<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       *
       * <p>Note: This means that a test like the following will fail if {@code collection} is a {@code
       * Set}:
       *
       * <pre>
       * collection.add(existingElement);
       * expectAdded(existingElement);</pre>
       *
       * <p>In this case, {@code collection} was not modified as a result of the {@code add()} call, and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * ⬆ [pre-commit.ci] pre-commit autoupdate. PR [#12331](https://github.com/fastapi/fastapi/pull/12331) by [@pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
    * 🔧 Update sponsors, remove Fine.dev. PR [#12271](https://github.com/fastapi/fastapi/pull/12271) by [@tiangolo](https://github.com/tiangolo).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top