Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for corners (0.18 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        queue.addListener(listener, directExecutor());
    
        Multiset<Object> counters = ConcurrentHashMultiset.create();
        queue.enqueue(incrementingEvent(counters, listener, 1));
        queue.enqueue(incrementingEvent(counters, listener, 2));
        queue.enqueue(incrementingEvent(counters, listener, 3));
        queue.enqueue(incrementingEvent(counters, listener, 4));
        assertEquals(0, counters.size());
        queue.dispatch();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    
    /**
     * Covers basic sanity checks for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 10 21:41:58 GMT 2012
    - 1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/PackageSanityTests.java

    import static com.google.common.truth.Truth.assertWithMessage;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    import junit.framework.AssertionFailedError;
    
    /**
     * Covers basic sanity checks for the entire package.
     *
     * @author Kurt Alfred Kluever
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
    
      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 19:24:25 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SortedMultiset.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public interface SortedMultiset<E extends @Nullable Object>
        extends SortedMultisetBridge<E>, SortedIterable<E> {
      /**
       * Returns the comparator that orders this multiset, or {@link Ordering#natural()} if the natural
       * ordering of the elements is used.
       */
      @Override
      Comparator<? super E> comparator();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *
       * <p>Usage example:
       *
       * <pre>{@code
       * // Falling back to a zero counter in case an exception happens when processing the RPC to fetch
       * // counters.
       * ListenableFuture<Integer> faultTolerantFuture =
       *     fetchCounters().catching(FetchException.class, x -> 0, directExecutor());
       * }</pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

                  ++counts;
                }
              }
            }
            if (done) {
              break;
            }
          }
        }
      }
    
      /**
       * Multiple threads using same array of counters successfully update a number of times equal to
       * total count
       */
      public void testCountingInMultipleThreads() throws InterruptedException {
        final AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/NetworkBuilder.java

     * user-defined properties.
     *
     * <p>A {@code Network} built by this class has the following default properties:
     *
     * <ul>
     *   <li>does not allow parallel edges
     *   <li>does not allow self-loops
     *   <li>orders {@link Network#nodes()} and {@link Network#edges()} in the order in which the
     *       elements were added (insertion order)
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                // iteration
                if (!hasSetRunning) {
                  if (workerRunningState == RUNNING) {
                    // Don't want to have two workers pulling from the queue.
                    return;
                  } else {
                    // Increment the run counter to avoid the ABA problem of a submitter marking the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

                  ++counts;
                }
              }
            }
            if (done) {
              break;
            }
          }
        }
      }
    
      /**
       * Multiple threads using same array of counters successfully update a number of times equal to
       * total count
       */
      public void testCountingInMultipleThreads() throws InterruptedException {
        final AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Joiner.java

     * useForNull} has no effect on the instance it is invoked on! You must store and use the new joiner
     * instance returned by the method. This makes joiners thread-safe, and safe to store as {@code
     * static final} constants.
     *
     * <pre>{@code
     * // Bad! Do not do this!
     * Joiner joiner = Joiner.on(',');
     * joiner.skipNulls(); // does nothing!
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
Back to top