Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,066 for Fong (0.18 sec)

  1. 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 Apr 12 12:43:09 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. 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)
  4. 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)
  5. android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

      int[] xInts;
      int[] yInts;
    
      long[] xLongs;
      long[] yLongs;
    
      int[] constant;
    
      private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL;
    
      @BeforeExperiment
      void setUp() {
        Random random = new Random(randomSeed);
        xInts = new int[SAMPLE_SIZE];
        yInts = new int[SAMPLE_SIZE];
        xLongs = new long[SAMPLE_SIZE];
        yLongs = new long[SAMPLE_SIZE];
        constant = new int[SAMPLE_SIZE];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

          public long getLongLittleEndian(byte[] array, int offset) {
            return theUnsafe.getLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET);
          }
    
          @Override
          public void putLongLittleEndian(byte[] array, int offset, long value) {
            theUnsafe.putLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET, value);
          }
        },
        UNSAFE_BIG_ENDIAN {
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsentity/BsKeyMatch.java

        protected String createdBy;
    
        /** createdTime */
        protected Long createdTime;
    
        /** maxSize */
        protected Integer maxSize;
    
        /** query */
        protected String query;
    
        /** term */
        protected String term;
    
        /** updatedBy */
        protected String updatedBy;
    
        /** updatedTime */
        protected Long updatedTime;
    
        /** virtualHost */
        protected String virtualHost;
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Longs.java

       * value).hashCode()}.
       *
       * <p>This method always return the value specified by {@link Long#hashCode()} in java, which
       * might be different from {@code ((Long) value).hashCode()} in GWT because {@link
       * Long#hashCode()} in GWT does not obey the JRE contract.
       *
       * <p><b>Java 8+ users:</b> use {@link Long#hashCode(long)} instead.
       *
       * @param value a primitive {@code long} value
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheStatsTest.java

            new CacheStats(
                Long.MAX_VALUE,
                Long.MAX_VALUE,
                Long.MAX_VALUE,
                Long.MAX_VALUE,
                Long.MAX_VALUE,
                Long.MAX_VALUE);
        CacheStats smallCacheStats = new CacheStats(1, 1, 1, 1, 1, 1);
    
        CacheStats sum = smallCacheStats.plus(maxCacheStats);
        assertEquals(Long.MAX_VALUE, sum.requestCount());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        SettableFuture<Long> future1 = SettableFuture.create();
        SettableFuture<Long> future2 = SettableFuture.create();
        SettableFuture<Long> future3 = SettableFuture.create();
        SettableFuture<Long> future4 = SettableFuture.create();
        SettableFuture<Long> future5 = SettableFuture.create();
    
        ImmutableList<ListenableFuture<Long>> futures =
            inCompletionOrder(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top