Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Sven (0.16 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          ATOMIC_HELPER.putNext(this, next);
        }
    
        void unpark() {
          // This is racy with removeWaiter. The consequence of the race is that we may spuriously call
          // unpark even though the thread has already removed itself from the list. But even if we did
          // use a CAS, that race would still exist (it would just be ever so slightly smaller).
          Thread w = thread;
          if (w != null) {
            thread = null;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenTest extends TestCase {
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeToken.java

     *
     * <p>Note to Guice users: {@code TypeToken} is similar to Guice's {@code TypeLiteral} class except
     * that it is serializable and offers numerous additional utility methods.
     *
     * @author Bob Lee
     * @author Sven Mawson
     * @author Ben Yu
     * @since 12.0
     */
    @SuppressWarnings("serial") // SimpleTypeToken is the serialized form.
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

     * </ul>
     *
     * <p>If you do chain your operations manually, you may want to use {@link FluentFuture}.
     *
     * @author Kevin Bourrillion
     * @author Nishant Thakkar
     * @author Sven Mawson
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Futures extends GwtFuturesCatchingSpecialization {
    
      // A note on memory visibility.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        if (comparator == null) {
          // If map has a null comparator, the keys should have a natural ordering,
          // even though K doesn't explicitly implement Comparable.
          comparator = (Comparator<? super K>) NATURAL_ORDER;
        }
        if (map instanceof ImmutableSortedMap) {
          // TODO(kevinb): Prove that this cast is safe, even though
          // Collections.unmodifiableSortedMap requires the same key type.
          @SuppressWarnings("unchecked")
    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)
  6. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
     * <p>Avoid passing message arguments that are expensive to compute; your code will always compute
     * them, even though they usually won't be needed. If you have such arguments, use the conventional
     * if/throw idiom instead.
     *
     * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

       * for any given call to {@code cache.get} or {@code cache.getUnchecked} is the value returned, or
       * the exception thrown.
       *
       * <p>As we iterate from {@code 0} to {@code nThreads}, threads with an even index will call
       * {@code getUnchecked}, and threads with an odd index will call {@code get}. If the cache throws
       * exceptions, this difference may be visible in the returned List.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

        if (comparator == null) {
          // If map has a null comparator, the keys should have a natural ordering,
          // even though K doesn't explicitly implement Comparable.
          comparator = (Comparator<? super K>) NATURAL_ORDER;
        }
        if (map instanceof ImmutableSortedMap) {
          // TODO(kevinb): Prove that this cast is safe, even though
          // Collections.unmodifiableSortedMap requires the same key type.
          @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

       * for any given call to {@code cache.get} or {@code cache.getUnchecked} is the value returned, or
       * the exception thrown.
       *
       * <p>As we iterate from {@code 0} to {@code nThreads}, threads with an even index will call
       * {@code getUnchecked}, and threads with an odd index will call {@code get}. If the cache throws
       * exceptions, this difference may be visible in the returned List.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * such as {@code removeAll()} and {@code clear()} are called on the filtered set, only elements
       * that satisfy the filter will be removed from the underlying set.
       *
       * <p>The returned set isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered set's methods, such as {@code size()}, iterate across every element in
       * the underlying set and determine which elements satisfy the filter. When a live view is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top