Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 781 for Fong (0.18 sec)

  1. android/guava-tests/test/com/google/common/math/LongMathTest.java

        assertMean(0, 0, 0);
        assertMean(-1, -1, -1);
        assertMean(Long.MIN_VALUE, Long.MIN_VALUE, Long.MIN_VALUE);
        assertMean(Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE);
    
        // Exhaustive checks
        for (long x : ALL_LONG_CANDIDATES) {
          for (long y : ALL_LONG_CANDIDATES) {
            assertMean(x, y);
          }
        }
      }
    
      /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //             TreeSubSetTest.suite());
      //     }
    
      public static long SHORT_DELAY_MS;
      public static long SMALL_DELAY_MS;
      public static long MEDIUM_DELAY_MS;
      public static long LONG_DELAY_MS;
    
      /**
       * Returns the shortest timed delay. This could be reimplemented to use for example a Property.
       */
      protected long getShortDelay() {
        return 50;
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

                _dst.enc_ndr_long(this.elapsedt);
                _dst.enc_ndr_long(this.msecs);
                _dst.enc_ndr_long(this.hours);
                _dst.enc_ndr_long(this.mins);
                _dst.enc_ndr_long(this.secs);
                _dst.enc_ndr_long(this.hunds);
                _dst.enc_ndr_long(this.timezone);
                _dst.enc_ndr_long(this.tinterval);
                _dst.enc_ndr_long(this.day);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 19.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                _dst.enc_ndr_long(elapsedt);
                _dst.enc_ndr_long(msecs);
                _dst.enc_ndr_long(hours);
                _dst.enc_ndr_long(mins);
                _dst.enc_ndr_long(secs);
                _dst.enc_ndr_long(hunds);
                _dst.enc_ndr_long(timezone);
                _dst.enc_ndr_long(tinterval);
                _dst.enc_ndr_long(day);
                _dst.enc_ndr_long(month);
                _dst.enc_ndr_long(year);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 18.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        // slightly nearer.
        long floatConversionTest = 0xfffffe8000000002L;
        long doubleConversionTest = 0xfffffffffffff402L;
    
        for (long i = -3; i <= 3; i++) {
          testLongsBuilder
              .add(i)
              .add(Long.MAX_VALUE + i)
              .add(Long.MIN_VALUE + i)
              .add(Integer.MIN_VALUE + i)
              .add(Integer.MAX_VALUE + i)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

         */
        public static long[] toPlainArray(AtomicLongArray atomicLongArray) {
          long[] array = new long[atomicLongArray.length()];
          for (int i = 0; i < array.length; ++i) {
            array[i] = atomicLongArray.get(i);
          }
          return array;
        }
    
        /** Number of bits */
        long bitSize() {
          return (long) data.length() * Long.SIZE;
        }
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray of(long e0, long e1, long e2, long e3, long e4) {
        return new ImmutableLongArray(new long[] {e0, e1, e2, e3, e4});
      }
    
      /** Returns an immutable array containing the given values, in order. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

    public class UninterruptiblesTest extends TestCase {
      private static final String EXPECTED_TAKE = "expectedTake";
    
      /** Timeout to use when we don't expect the timeout to expire. */
      private static final long LONG_DELAY_MS = 2500;
    
      private static final long SLEEP_SLACK = 2;
    
      private final TearDownStack tearDownStack = new TearDownStack();
    
      // NOTE: All durations in these tests are expressed in milliseconds
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 30.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
          long nanos = unit.toNanos(timeout);
          synchronized (lock) {
            while (true) {
              if (shutdown && runningTasks == 0) {
                return true;
              } else if (nanos <= 0) {
                return false;
              } else {
                long now = System.nanoTime();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/MathTesting.java

      /* Helper function to make a Long value from an Integer. */
      private static final Function<Integer, Long> TO_LONG =
          new Function<Integer, Long>() {
            @Override
            public Long apply(Integer n) {
              return Long.valueOf(n);
            }
          };
    
      /* Helper function to make a BigInteger value from a Long. */
      private static final Function<Long, BigInteger> TO_BIGINTEGER =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
Back to top