Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for LOCAL (0.13 sec)

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

          }
        }
      }
    
      /** Unblocks all threads and runs all listeners. */
      private static void complete(AbstractFuture<?> param, boolean callInterruptTask) {
        // Declare a "true" local variable so that the Checker Framework will infer nullness.
        AbstractFuture<?> future = param;
    
        Listener next = null;
        outer:
        while (true) {
          future.releaseWaiters();
          /*
    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/cache/PopulatedCachesTest.java

          checkValidState(cache);
    
          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          checkValidState(cache);
        }
      }
    
      /* ---------------- Local utilities -------------- */
    
      /** Most of the tests in this class run against every one of these caches. */
      private Iterable<LoadingCache<Object, Object>> caches() {
        // lots of different ways to configure a LoadingCache
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * Pat Fisher, Mike Judd.
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/JSR166TestCase.java?revision=1.90
     * (We have made some trivial local modifications (commented out
     * uncompilable code).)
     */
    
    package com.google.common.util.concurrent;
    
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactHashSet<E extends @Nullable Object> extends AbstractSet<E> implements Serializable {
      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Striped64.java

    import com.google.common.annotations.GwtIncompatible;
    import java.util.Random;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A package-local class holding common representation and mechanics for classes supporting dynamic
     * striping on 64bit values. The class extends Number so that concrete subclasses must publicly do
     * so.
     */
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/pom.xml

        </snapshotRepository>
        <repository>
          <id>sonatype-nexus-staging</id>
          <name>Nexus Release Repository</name>
          <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
        <site>
          <id>guava-site</id>
          <name>Guava Documentation Site</name>
          <url>scp://dummy.server/dontinstall/usestaging</url>
        </site>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertEquals("Foo", new ClassInfo(FILE, "a/b/Bar$Foo.class", classLoader).getSimpleName());
        assertEquals("", new ClassInfo(FILE, "a/b/Bar$1.class", classLoader).getSimpleName());
        assertEquals("Local", new ClassInfo(FILE, "a/b/Bar$1Local.class", classLoader).getSimpleName());
      }
    
      public void testGetPackageName() {
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertEquals("Foo", new ClassInfo(FILE, "a/b/Bar$Foo.class", classLoader).getSimpleName());
        assertEquals("", new ClassInfo(FILE, "a/b/Bar$1.class", classLoader).getSimpleName());
        assertEquals("Local", new ClassInfo(FILE, "a/b/Bar$1Local.class", classLoader).getSimpleName());
      }
    
      public void testGetPackageName() {
        assertEquals(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/Platform.java

    @ElementTypesAreNonnullByDefault
    final class Platform {
      private Platform() {}
    
      /** Returns a thread-local 1024-char array. */
      static char[] charBufferFromThreadLocal() {
        // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get
        return requireNonNull(DEST_TL.get());
      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

       * initializer.
       */
      private static class LocalClassWithSeeminglyHiddenThisInStaticInitializer {
        static {
          class Local {
            @SuppressWarnings("unused") // through reflection
            Local(LocalClassWithSeeminglyHiddenThisInStaticInitializer outer) {}
          }
          Constructor<?> constructor = Local.class.getDeclaredConstructors()[0];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
Back to top