Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 312 for Roeder (0.4 sec)

  1. android/guava/src/com/google/common/eventbus/Dispatcher.java

        //    were added to the queue. It's easily possible for one thread to take the head of the
        //    queue, immediately followed by another thread taking the next element in the queue. That
        //    second thread can then dispatch to the subscriber it took before the first thread does.
        //
        // All this makes me really wonder if there's any value in queueing here at all. A dispatcher
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/CountTest.java

      }
    
      public void testGetAndAdd() {
        Count holder = new Count(20);
        assertEquals(20, holder.get());
        holder.add(1);
        assertEquals(21, holder.get());
      }
    
      public void testAddAndGet() {
        Count holder = new Count(20);
        assertEquals(21, holder.addAndGet(1));
      }
    
      public void testGetAndSet() {
        Count holder = new Count(10);
        assertEquals(10, holder.getAndSet(20));
        assertEquals(20, holder.get());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       *
       * If the library is loaded in an application class loader, we try to break the cycle by loading
       * Finalizer in its own independent class loader:
       *
       * System class loader -> Application class loader -> ReferenceMap -> FinalizableReferenceQueue ->
       * etc. -> Decoupled class loader -> Finalizer
       *
       * Now, Finalizer no longer keeps an indirect strong reference to the static
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

       *
       * If the library is loaded in an application class loader, we try to break the cycle by loading
       * Finalizer in its own independent class loader:
       *
       * System class loader -> Application class loader -> ReferenceMap -> FinalizableReferenceQueue ->
       * etc. -> Decoupled class loader -> Finalizer
       *
       * Now, Finalizer no longer keeps an indirect strong reference to the static
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Longs.java

      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(long[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
       * exclusive in descending order.
       *
       * @since 23.1
       */
    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)
  7. guava/src/com/google/common/base/internal/Finalizer.java

     *
     * <p>This class can't depend on other Guava code. If we were to load this class in the same class
     * loader as the rest of Guava, this thread would keep an indirect strong reference to the class
     * loader and prevent it from being garbage collected. This poses a problem for environments where
     * you want to throw away the class loader. For example, dynamically reloading a web application or
     * unloading an OSGi bundle.
     *
    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)
  8. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

       * {@link CacheLoader#load} calls to {@code loader}.
       */
      static <K, V> CacheLoader<K, V> bulkLoader(final CacheLoader<K, V> loader) {
        checkNotNull(loader);
        return new CacheLoader<K, V>() {
          @Override
          public V load(K key) throws Exception {
            return loader.load(key);
          }
    
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertSame(loader, cache.localCache.defaultLoader);
      }
    
      // null parameters test
    
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        CacheLoader<Object, Object> loader = identityLoader();
        tester.testAllPublicInstanceMethods(makeCache(createCacheBuilder(), loader));
      }
    
      // stats tests
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        ImmutableMultimap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
                return 1;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top