Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 89 for Kluever (0.25 sec)

  1. android/guava/src/com/google/common/collect/EvictingQueue.java

     * bounded queues, which either block or reject new elements when full.
     *
     * <p>This class is not thread-safe, and does not accept null elements.
     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class EvictingQueue<E> extends ForwardingQueue<E> implements Serializable {
    
      private final Queue<E> delegate;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Synchronized#deque} and {@link Queues#synchronizedDeque}.
     *
     * @author Kurt Alfred Kluever
     */
    public class SynchronizedDequeTest extends TestCase {
    
      protected Deque<String> create() {
        TestDeque<String> inner = new TestDeque<>();
        Deque<String> outer = Synchronized.deque(inner, inner.mutex);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

    import java.util.AbstractList;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link EvictingQueue}.
     *
     * @author Kurt Alfred Kluever
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class EvictingQueueTest extends TestCase {
    
      public void testCreateWithNegativeSize() throws Exception {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    import java.util.Locale;
    import java.util.concurrent.Executors;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    
    /**
     * Tests for ThreadFactoryBuilder.
     *
     * @author Kurt Alfred Kluever
     * @author Martin Buchholz
     */
    public class ThreadFactoryBuilderTest extends TestCase {
      private final Runnable monitoredRunnable =
          new Runnable() {
            @Override
            public void run() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

    import static com.google.common.base.Charsets.UTF_8;
    
    import com.google.common.collect.ImmutableSet;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link SipHashFunction}.
     *
     * @author Kurt Alfred Kluever
     */
    public class SipHashFunctionTest extends TestCase {
    
      // From https://131002.net/siphash/siphash24.c
      // k = 00 01 02 ...
      private static final long K0 = 0x0706050403020100L;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    import java.util.Locale;
    import java.util.concurrent.Executors;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    
    /**
     * Tests for ThreadFactoryBuilder.
     *
     * @author Kurt Alfred Kluever
     * @author Martin Buchholz
     */
    public class ThreadFactoryBuilderTest extends TestCase {
      private final Runnable monitoredRunnable =
          new Runnable() {
            @Override
            public void run() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/StandardSystemProperty.java

    import com.google.common.annotations.J2ktIncompatible;
    import javax.annotation.CheckForNull;
    
    /**
     * Represents a {@linkplain System#getProperties() standard system property}.
     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @J2ktIncompatible
    @GwtIncompatible // java.lang.System#getProperty
    @ElementTypesAreNonnullByDefault
    public enum StandardSystemProperty {
    
      /** Java Runtime Environment version. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/OptionalTest.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Optional}.
     *
     * @author Kurt Alfred Kluever
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public final class OptionalTest extends TestCase {
      public void testToJavaUtil_static() {
        assertNull(Optional.toJavaUtil(null));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Crc32c}. Known test values are from RFC 3720, Section B.4.
     *
     * @author Patrick Costello
     * @author Kurt Alfred Kluever
     */
    public class Crc32cHashFunctionTest extends TestCase {
      public void testEmpty() {
        assertCrc(0, new byte[0]);
      }
    
      public void testZeros() {
        // Test 32 byte array of 0x00.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

    import java.util.concurrent.TimeUnit;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link JdkFutureAdapters}.
     *
     * @author Sven Mawson
     * @author Kurt Alfred Kluever
     */
    public class JdkFutureAdaptersTest extends TestCase {
      private static final String DATA1 = "data";
    
      public void testListenInPoolThreadReturnsSameFuture() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
Back to top