Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,389 for anchor (0.13 sec)

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

    package com.google.common.base;
    
    import com.google.caliper.Benchmark;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Some microbenchmarks for the {@link com.google.common.base.Objects} class.
     *
     * @author Ben L. Titzer
     */
    @NullUnmarked
    public class ObjectsBenchmark {
    
      private static final Integer I0 = -45;
      private static final Integer I1 = -1;
      private static final Integer I2 = 3;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmark for various ways to create an {@code ImmutableList}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ImmutableListCreationBenchmark {
    
      @Param({"10", "1000", "1000000"})
      int size;
    
      private static final Object OBJECT = new Object();
    
      @Benchmark
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

    import com.google.common.base.Preconditions;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests the speed of iteration of different iteration methods for collections.
     *
     * @author David Richter
     */
    @NullUnmarked
    public class MultisetIteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      LinkedHashMultiset<Object> linkedHashMultiset;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.RoundingMode;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for the rounding methods of {@code DoubleMath}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class DoubleMathRoundingBenchmark {
      private static final double[] doubleInIntRange = new double[ARRAY_SIZE];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

    import com.google.caliper.Param;
    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Microbenchmark for {@link UnsignedBytes}.
     *
     * @author Hiroshi Yamauchi
     */
    @NullUnmarked
    public class UnsignedBytesBenchmark {
    
      private byte[] ba1;
      private byte[] ba2;
      private byte[] ba3;
      private byte[] ba4;
      private Comparator<byte[]> javaImpl;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for collection testers.
     *
     * @param <E> the element type of the collection to be tested.
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Map}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *
     *   public void test() {
     *     SomeClass.foo();
     *     LogRecord firstRecord = handler.getStoredLogRecords().get(0);
     *     assertEquals("some message", firstRecord.getMessage());
     *   }
     * </pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public class TestLogHandler extends Handler {
      private final Object lock = new Object();
    
      /** We will keep a private list of all logged records */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for collection testers.
     *
     * @param <E> the element type of the collection to be tested.
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/SMBSigningDigest.java

     * Provides cryptographic signing capabilities for SMB protocol messages to ensure
     * message integrity and authenticity using MAC (Message Authentication Code) algorithms.
     *
     * @author mbechler
     */
    public interface SMBSigningDigest {
    
        /**
         * Performs MAC signing of the SMB. This is done as follows.
         * The signature field of the SMB is overwritten with the sequence number;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top