Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for Mathew (0.24 sec)

  1. android/guava/src/com/google/common/hash/Hashing.java

       * by RFC 3720, Section 12.1.
       *
       * <p>This function is best understood as a <a
       * href="https://en.wikipedia.org/wiki/Checksum">checksum</a> rather than a true <a
       * href="https://en.wikipedia.org/wiki/Hash_function">hash function</a>.
       *
       * @since 18.0
       */
      public static HashFunction crc32c() {
        return Crc32cHashFunction.CRC_32_C;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
       * harmless, rather than just 99.99% harmless.
       */
      @CheckForNull @LazyInit private List<@Nullable Present<V>> values;
    
      CollectionFuture(
          ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        assertEquals(4, list.lastIndexOf("b"));
      }
    
      public void testCopyOfDefensiveCopy() {
        // Depending on JDK version, either toArray() or toArray(T[]) may be called... use this class
        // rather than mocking to ensure that one of those methods is called.
        class TestArrayList<E> extends ArrayList<E> {
          boolean toArrayCalled = false;
    
          @Override
          public Object[] toArray() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Joiner.java

         * and Joiner.on(...).useForNull(...) both declare the same return type: plain Joiner. To ensure
         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
         * inputs, rather than as if it never tolerates them.
         *
         * We rely on checkers to implement special cases to catch dangerous calls to join(), etc. based
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

      /**
       * {@inheritDoc}
       *
       * <p>Because an inverse of a set multimap cannot contain multiple pairs with the same key and
       * value, this method returns an {@code ImmutableSetMultimap} rather than the {@code
       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       */
      @Override
      public ImmutableSetMultimap<V, K> inverse() {
        ImmutableSetMultimap<V, K> result = inverse;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

        return result[0] == oldCount;
      }
    
      @Override
      public void clear() {
        if (!range.hasLowerBound() && !range.hasUpperBound()) {
          // We can do this in O(n) rather than removing one by one, which could force rebalancing.
          for (AvlNode<E> current = header.succ(); current != header; ) {
            AvlNode<E> next = current.succ();
    
            current.elemCount = 0;
    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)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

       */
      public Monitor() {
        this(false);
      }
    
      /**
       * Creates a monitor with the given ordering policy.
       *
       * @param fair whether this monitor should use a fair ordering policy rather than a non-fair (but
       *     fast) one
       */
      public Monitor(boolean fair) {
        this.fair = fair;
        this.lock = new ReentrantLock(fair);
      }
    
      /** Enters this monitor. Blocks indefinitely. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

                keys[i] = key;
                values[i] = value;
              }
            } else {
              // Need to sort and check for nulls and dupes.
              // Inline the Comparator implementation rather than transforming with a Function
              // to save code size.
              Arrays.sort(
                  entryArray,
                  0,
                  size,
                  (e1, e2) -> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

      }
    
      /**
       * Creates a suite whose map has some elements filtered out of view.
       *
       * <p>Because the map may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubmapSuite(
          FeatureSpecificTestSuiteBuilder<
                  ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Converter.java

     * }</pre>
     *
     * @author Mike Ward
     * @author Kurt Alfred Kluever
     * @author Gregory Kick
     * @since 16.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    /*
     * 1. The type parameter is <T> rather than <T extends @Nullable> so that we can use T in the
     * doForward and doBackward methods to indicate that the parameter cannot be null. (We also take
     * advantage of that for convertAll, as discussed on that method.)
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top