Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 155 for devel (0.16 sec)

  1. android/guava/src/com/google/common/reflect/ParametricNullness.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/xml/ParametricNullness.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // shouldn't break in cases where reflection is missing/broken.
        if (thrownAtomicReferenceFieldUpdaterFailure != null) {
          log.get().log(Level.SEVERE, "UnsafeAtomicHelper is broken!", thrownUnsafeFailure);
          log.get()
              .log(
                  Level.SEVERE,
                  "SafeAtomicHelper is broken!",
                  thrownAtomicReferenceFieldUpdaterFailure);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          lastItem = tmp;
        }
        assertEquals((Integer) 30, lastItem);
      }
    
      /**
       * This tests a special case where removeAt has to trickle an element first down one level from a
       * min to a max level, then up one level above the index of the removed element. It also tests
       * that skipMe in the iterator plays nicely with forgetMeNot.
       */
      public void testIteratorInvalidatingIteratorRemove2() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Stopwatch.java

     *
     * <pre>{@code
     * Stopwatch.createStarted(
     *      new Ticker() {
     *        public long read() {
     *          return android.os.SystemClock.elapsedRealtimeNanos(); // requires API Level 17
     *        }
     *      });
     * }</pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("GoodTime") // lots of violations
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

    import java.util.concurrent.CopyOnWriteArrayList;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Tests the package level *impl methods directly using various types of lists. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ListsImplTest extends TestCase {
    
      /** Describes how a list is modifiable */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Converter.java

       * documented as being for use with type parameters that have parametric nullness. But Converter's
       * type parameters do not. Still, we use it here so that we can suppress a warning at a smaller
       * level than the whole method but without performing a runtime null check. That way, we can still
       * pass null inputs to LegacyConverter, and it can violate the contract of Converter.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Strings.java

     * the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.logging.Level.WARNING;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.util.logging.Logger;
    import javax.annotation.CheckForNull;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

    import java.util.concurrent.locks.ReentrantLock;
    import java.util.function.BiFunction;
    import java.util.function.BiPredicate;
    import java.util.function.Function;
    import java.util.function.Predicate;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * The concurrent hash map implementation built by {@link CacheBuilder}.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(DISCARDING_QUEUE, map.removalNotificationQueue);
        assertSame(NULL_TICKER, map.ticker);
    
        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
    
        assertFalse(map.evictsBySize());
        assertFalse(map.expires());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
Back to top