Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for Jain (0.14 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

    public class MonitorBasedArrayBlockingQueue<E> extends AbstractQueue<E>
        implements BlockingQueue<E> {
    
      // Based on revision 1.58 of ArrayBlockingQueue by Doug Lea, from
      // http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/
    
      /** The queued items */
      final E[] items;
      /** items index for next take, poll or remove */
      int takeIndex;
      /** items index for next put, offer, or add. */
      int putIndex;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Ascii.java

      /**
       * Transmission On: Although originally defined as DC1, this ASCII control character is now better
       * known as the XON code used for software flow control in serial communications. The main use is
       * restarting the transmission after the communication has been stopped by the XOFF control code.
       *
       * @since 8.0
       */
      public static final byte XON = 17; // aka DC1
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/internal/Finalizer.java

     * unloading an OSGi bundle.
     *
     * <p>{@code com.google.common.base.FinalizableReferenceQueue} loads this class in its own class
     * loader. That way, this class doesn't prevent the main class loader from getting garbage
     * collected, and this class can detect when the main class loader has been garbage collected and
     * stop itself.
     */
    // no @ElementTypesAreNonNullByDefault for the reasons discussed above
    public class Finalizer implements Runnable {
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

                return murmur3_32(seed).hashBytes(input).asBytes();
              }
            };
        // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
        // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
        HashTestUtils.verifyHashFunction(hf, 32, 0xB0F57EE3);
      }
    
      public void testParanoid() {
        HashFn hf =
            new HashFn() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

      /*
       * Ideally, this class would have exposed only constructors that require a non-null cause. See
       * https://github.com/jspecify/jspecify-reference-checker/blob/61aafa4ae52594830cfc2d61c8b113009dbdb045/src/main/java/com/google/jspecify/nullness/NullSpecTransfer.java#L789
       * and https://github.com/jspecify/jspecify/issues/490.
       *
       * (Perhaps it should also have required that its cause was a RuntimeException. However, that
    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)
  6. android/guava/src/com/google/common/base/Equivalence.java

     *
     * <p><b>For users targeting Android API level 24 or higher:</b> This class will eventually
     * implement {@code BiPredicate<T, T>} (as it does in the main Guava artifact), but we currently
     * target a lower API level. In the meantime, if you have support for method references you can use
     * an equivalence as a bi-predicate like this: {@code myEquivalence::equivalent}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        implements BlockingQueue<E> {
    
      // Based on revision 1.55 of PriorityBlockingQueue by Doug Lea, from
      // http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/
    
      private static final long serialVersionUID = 5595510919245408276L;
    
      final PriorityQueue<E> q;
      final Monitor monitor = new Monitor(true);
      private final Monitor.Guard notEmpty =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HttpHeaders.java

       * The HTTP {@code Keep-Alive} header field name.
       *
       * @since 31.0
       */
      public static final String KEEP_ALIVE = "Keep-Alive";
      /**
       * The HTTP <a href="https://github.com/WICG/nav-speculation/blob/main/no-vary-search.md">{@code
       * No-Vary-Seearch}</a> header field name.
       *
       * @since 32.0.0
       */
      public static final String NO_VARY_SEARCH = "No-Vary-Search";
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
Back to top