Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for maintainers (0.21 sec)

  1. android/guava/src/com/google/common/base/Utf8.java

       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
       */
      public static int encodedLength(CharSequence sequence) {
        // Warning to maintainers: this implementation is highly optimized.
        int utf16Length = sequence.length();
        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Fingerprint2011.java

     *
     * <p>On Intel Core2 2.66, on 1000 bytes, fingerprint2011 takes 0.9 microseconds compared to
     * fingerprint at 4.0 microseconds and md5 at 4.5 microseconds.
     *
     * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent
     * to unsigned arithmetic in all cases except:
     *
     * <ul>
     *   <li>comparisons (signed values can be negative)
     *   <li>division (avoided here)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Utf8.java

       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
       */
      public static int encodedLength(CharSequence sequence) {
        // Warning to maintainers: this implementation is highly optimized.
        int utf16Length = sequence.length();
        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/StandardNetwork.java

    import java.util.Set;
    import java.util.TreeMap;
    
    /**
     * Standard implementation of {@link Network} that supports the options supplied by {@link
     * NetworkBuilder}.
     *
     * <p>This class maintains a map of nodes to {@link NetworkConnections}. This class also maintains a
     * map of edges to reference nodes. The reference node is defined to be the edge's source node on
     * directed graphs, and an arbitrary endpoint of the edge on undirected graphs.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactLinkedHashMap.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * CompactLinkedHashMap is an implementation of a Map with insertion or LRU iteration order,
     * maintained with a doubly linked list through the entries. All optional operations (put and
     * remove) are supported. Null keys and values are supported.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      /**
       * Returns an array containing all of the elements in this queue. The returned array elements are
       * in no particular order.
       *
       * <p>The returned array will be "safe" in that no references to it are maintained by this queue.
       * (In other words, this method must allocate a new array). The caller is thus free to modify the
       * returned array.
       *
       * <p>This method acts as bridge between array-based and collection-based APIs.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

       * Arrays#asList(Object[])}. The list supports {@link List#set(int, Object)}, but any attempt to
       * set a value to {@code null} will result in a {@link NullPointerException}.
       *
       * <p>The returned list maintains the values, but not the identities, of {@code Short} objects
       * written to or read from it. For example, whether {@code list.get(0) == list.get(0)} is true for
       * the returned list is unspecified.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Longs.java

       * Arrays#asList(Object[])}. The list supports {@link List#set(int, Object)}, but any attempt to
       * set a value to {@code null} will result in a {@link NullPointerException}.
       *
       * <p>The returned list maintains the values, but not the identities, of {@code Long} objects
       * written to or read from it. For example, whether {@code list.get(0) == list.get(0)} is true for
       * the returned list is unspecified.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

    /**
     * Implementation of FarmHash Fingerprint64, an open-source fingerprinting algorithm for strings.
     *
     * <p>Its speed is comparable to CityHash64, and its quality of hashing is at least as good.
     *
     * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent
     * to unsigned arithmetic in all cases except:
     *
     * <ul>
     *   <li>comparisons (signed values can be negative)
     *   <li>division (avoided here)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 01 22:39:48 GMT 2022
    - 7.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SortedMultiset.java

    import java.util.Iterator;
    import java.util.NavigableSet;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link Multiset} which maintains the ordering of its elements, according to either their
     * natural order or an explicit {@link Comparator}. This order is reflected when iterating over the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
Back to top