Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 81 for Wilfred (0.21 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

    import java.util.Queue;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Synchronized#queue} and {@link Queues#synchronizedQueue}.
     *
     * @author Kurt Alfred Kluever
     */
    public class SynchronizedQueueTest extends TestCase {
    
      protected Queue<String> create() {
        TestQueue<String> inner = new TestQueue<>();
        Queue<String> outer = Synchronized.queue(inner, null);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

     * equals implementation is *not* short-circuiting to prevent timing-based attacks. Being fast is
     * only a secondary goal.
     *
     * @author Kurt Alfred Kluever
     */
    public class HashCodeBenchmark {
    
      // Use a statically configured random instance for all of the benchmarks
      private static final Random random = new Random(42);
    
      @Param({"1000", "100000"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.9K bytes
    - Viewed (0)
  3. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/SipHashFunction.java

    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import javax.annotation.CheckForNull;
    
    /**
     * {@link HashFunction} implementation of SipHash-c-d.
     *
     * @author Kurt Alfred Kluever
     * @author Jean-Philippe Aumasson
     * @author Daniel J. Bernstein
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class SipHashFunction extends AbstractHashFunction implements Serializable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

    import java.util.Iterator;
    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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  6. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  7. 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)
  8. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top