Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1981 - 1990 of 2,502 for annotations (0.2 sec)

  1. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    @SuppressWarnings("unused") // Nested enums used reflectively in setUp.
    @NullUnmarked
    public class EnumsBenchmark {
    
      @Param({"Small", "Medium", "Large"})
      String enumSize;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            assertEquals(java.lang.annotation.RetentionPolicy.RUNTIME, retention.value());
        }
    
        // Test annotation is documented
        public void test_annotationDocumented() {
            java.lang.annotation.Documented documented = CronExpression.class.getAnnotation(java.lang.annotation.Documented.class);
            assertNotNull(documented);
        }
    
        // Test annotation has Constraint meta-annotation
        public void test_annotationConstraint() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit tests for {@link ClassSanityTester}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class ClassSanityTesterTest extends TestCase {
    
      private final ClassSanityTester tester = new ClassSanityTester();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

    package com.google.common.util.concurrent.testing;
    
    import static com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService;
    import static java.util.concurrent.Executors.callable;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Preconditions;
    import com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture;
    import com.google.common.util.concurrent.ListenableFuture;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

    package com.google.common.util.concurrent.testing;
    
    import static com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService;
    import static java.util.concurrent.Executors.callable;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Preconditions;
    import com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture;
    import com.google.common.util.concurrent.ListenableFuture;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.hash.HashTestUtils.HashFn;
    import java.nio.charset.Charset;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link Murmur3_32HashFunction}. */
    @NullUnmarked
    public class Murmur3Hash32Test extends TestCase {
      public void testKnownIntegerInputs() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    import java.util.concurrent.locks.ReadWriteLock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for Striped.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class StripedTest extends TestCase {
      private static List<Striped<?>> strongImplementations() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    import java.util.concurrent.locks.ReadWriteLock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for Striped.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class StripedTest extends TestCase {
      private static List<Striped<?>> strongImplementations() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/AbstractStreamingHasher.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    /**
     * A convenience base class for implementors of {@code Hasher}; handles accumulating data until an
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/Fingerprint2011.java

    import static com.google.common.hash.LittleEndianByteArray.load64;
    import static com.google.common.hash.LittleEndianByteArray.load64Safely;
    import static java.lang.Long.rotateRight;
    
    import com.google.common.annotations.VisibleForTesting;
    
    /**
     * Implementation of Geoff Pike's fingerprint2011 hash function. See {@link Hashing#fingerprint2011}
     * for information on the behaviour of the algorithm.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top