Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for corners (0.28 sec)

  1. guava-tests/test/com/google/common/net/HostSpecifierTest.java

    /**
     * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier
     * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for
     * those classes explore numerous corner cases. The intent here is to confirm that everything is
     * wired up properly.
     *
     * @author Craig Berry
     */
    public final class HostSpecifierTest extends TestCase {
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 18 15:33:20 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  2. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 19:24:25 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/AbstractCache.java

        private static long negativeToMaxValue(long value) {
          return (value >= 0) ? value : Long.MAX_VALUE;
        }
    
        /** Increments all counters by the values in {@code other}. */
        public void incrementBy(StatsCounter other) {
          CacheStats otherStats = other.snapshot();
          hitCount.add(otherStats.hitCount());
          missCount.add(otherStats.missCount());
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  4. 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 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/LinkedHashMultiset.java

    import com.google.common.annotations.GwtCompatible;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements
     * according to when the first occurrence of the element was added. When the multiset contains
     * multiple instances of an element, those instances are consecutive in the iteration order. If all
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/EvictingQueue.java

    import java.util.Collection;
    import java.util.Queue;
    
    /**
     * A non-blocking queue which automatically evicts elements from the head of the queue when
     * attempting to add new elements onto the queue and it is full. This queue orders elements FIFO
     * (first-in-first-out). This data structure is logically equivalent to a circular buffer (i.e.,
     * cyclic buffer or ring buffer).
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  7. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/AbstractCache.java

        private static long negativeToMaxValue(long value) {
          return (value >= 0) ? value : Long.MAX_VALUE;
        }
    
        /** Increments all counters by the values in {@code other}. */
        public void incrementBy(StatsCounter other) {
          CacheStats otherStats = other.snapshot();
          hitCount.add(otherStats.hitCount());
          missCount.add(otherStats.missCount());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
Back to top