Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 394 for Song (0.17 sec)

  1. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

          Long[] suffix = {(long) 86, (long) 99};
          Long[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Long[] concat(Long[] left, Long[] right) {
        Long[] result = new Long[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

        public abstract long gcdLong(long a, long b);
    
        public abstract boolean noAddOverflow(int a, int b);
    
        public abstract boolean noAddOverflow(long a, long b);
    
        public abstract boolean noMulOverflow(int a, int b);
    
        public abstract boolean noMulOverflow(long a, long b);
      }
    
      private final int[] factorials = new int[ARRAY_SIZE];
      private final int[][] binomials = new int[ARRAY_SIZE][2];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.9K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      private static final int ARRAY_MASK = 0x0ffff;
      private static final Random RANDOM_SOURCE = new Random(314159265358979L);
      private static final long[] longs = new long[ARRAY_SIZE];
      private static final long[] divisors = new long[ARRAY_SIZE];
      private static final String[] decimalStrings = new String[ARRAY_SIZE];
      private static final String[] binaryStrings = new String[ARRAY_SIZE];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/SipHashFunction.java

        // was some asymmetry so that the initial v0 and v1 differ from v2 and v3.
        private long v0 = 0x736f6d6570736575L;
        private long v1 = 0x646f72616e646f6dL;
        private long v2 = 0x6c7967656e657261L;
        private long v3 = 0x7465646279746573L;
    
        // The number of bytes in the input.
        private long b = 0;
    
        // The final 64-bit chunk includes the last 0 through 7 bytes of m followed by null bytes
    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. guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        String lastMethodCalled = "";
        long lastInitialDelay;
        long lastDelay;
        TimeUnit lastUnit;
    
        void assertLastMethodCalled(String method, long delay, TimeUnit unit) {
          assertEquals(method, lastMethodCalled);
          assertEquals(delay, lastDelay);
          assertEquals(unit, lastUnit);
        }
    
        void assertLastMethodCalled(String method, long initialDelay, long delay, TimeUnit unit) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

        for (int value : TEST_INTS) {
          long expected = value & 0xffffffffL;
          assertWithMessage(UnsignedInts.toString(value))
              .that(UnsignedInteger.fromIntBits(value).longValue())
              .isEqualTo(expected);
        }
      }
    
      public void testValueOfLong() {
        long min = 0;
        long max = (1L << 32) - 1;
        for (long value : TEST_LONGS) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

        try {
          MathPreconditions.checkPositive("long", 0L);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testCheckPositive_maxLong() {
        MathPreconditions.checkPositive("long", Long.MAX_VALUE);
      }
    
      public void testCheckPositive_minLong() {
        try {
          MathPreconditions.checkPositive("long", Long.MIN_VALUE);
          fail();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java

    import junit.framework.TestCase;
    
    /** Tests for default methods of the interface. */
    public class ListeningScheduledExecutorServiceTest extends TestCase {
    
      private Runnable recordedCommand;
      private long recordedDelay;
      private long recordedInterval;
      private TimeUnit recordedTimeUnit;
    
      private final ListeningScheduledExecutorService executorService = new FakeExecutorService();
    
      public void testScheduleRunnable() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 17 20:45:59 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java

      private static final long[] positive = new long[ARRAY_SIZE];
      private static final long[] nonzero = new long[ARRAY_SIZE];
      private static final long[] longs = new long[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue();
          nonzero[i] = randomNonZeroBigInteger(Long.SIZE - 2).longValue();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

      private static final long[] positive = new long[ARRAY_SIZE];
      private static final long[] nonnegative = new long[ARRAY_SIZE];
      private static final long[] longs = new long[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          exponents[i] = randomExponent();
          positive[i] = randomPositiveBigInteger(Long.SIZE - 1).longValue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
Back to top