Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for 1L (0.14 sec)

  1. android/guava/src/com/google/common/math/LongMath.java

      static final long[] factorials = {
        1L,
        1L,
        1L * 2,
        1L * 2 * 3,
        1L * 2 * 3 * 4,
        1L * 2 * 3 * 4 * 5,
        1L * 2 * 3 * 4 * 5 * 6,
        1L * 2 * 3 * 4 * 5 * 6 * 7,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      public static class SampleLongs extends SampleElements<Long> {
        public SampleLongs() {
          super(1L << 31, 1L << 33, 1L << 36, 1L << 40, 1L << 45);
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

            Arrays.asList(
                new int[] {},
                new int[] {LEAST},
                new int[] {LEAST, LEAST},
                new int[] {LEAST, (int) 1L},
                new int[] {(int) 1L},
                new int[] {(int) 1L, LEAST},
                new int[] {GREATEST, (GREATEST - (int) 1L)},
                new int[] {GREATEST, GREATEST},
                new int[] {GREATEST, GREATEST, GREATEST});
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

       */
      public void assertSuccess(Object expectedData) throws Throwable {
        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    
        try {
          Assert.assertEquals(expectedData, future.get());
        } catch (ExecutionException e) {
          throw e.getCause();
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_maxPreciselyRepresentable() {
        new RoundToDoubleTester(BigInteger.valueOf(1L << 53))
            .setExpectation(Math.pow(2, 53), values())
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_maxPreciselyRepresentablePlusOne() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_maxPreciselyRepresentable() {
        new RoundToDoubleTester(BigInteger.valueOf(1L << 53))
            .setExpectation(Math.pow(2, 53), values())
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_maxPreciselyRepresentablePlusOne() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        assertEquals(3L, countDownLatch.getCount());
    
        list.execute();
    
        // Verify that all of the runnables execute in a reasonable amount of time.
        assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS));
      }
    
      public void testExecute_idempotent() {
        final AtomicInteger runCalled = new AtomicInteger();
        list.add(
            new Runnable() {
              @Override
              public void run() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertEquals(0L, map.get(key));
        assertFalse(map.containsKey(key));
    
        assertEquals(1L, map.incrementAndGet(key));
        assertEquals(1L, map.get(key));
    
        assertEquals(0L, map.decrementAndGet(key));
        assertEquals(0L, map.get(key));
        assertTrue(map.containsKey(key));
    
        assertEquals(1L, map.incrementAndGet(key));
        assertEquals(1L, map.get(key));
      }
    
      public void testGetAndIncrement() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

            Arrays.asList(
                new int[] {},
                new int[] {LEAST},
                new int[] {LEAST, LEAST},
                new int[] {LEAST, (int) 1L},
                new int[] {(int) 1L},
                new int[] {(int) 1L, LEAST},
                new int[] {GREATEST, (GREATEST - (int) 1L)},
                new int[] {GREATEST, GREATEST},
                new int[] {GREATEST, GREATEST, GREATEST});
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      public static class SampleLongs extends SampleElements<Long> {
        public SampleLongs() {
          super(1L << 31, 1L << 33, 1L << 36, 1L << 40, 1L << 45);
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
Back to top