Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,289 for Fong (0.31 sec)

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

        testSort(new long[] {2}, 0, 1, new long[] {2});
        testSort(new long[] {2, 1, 0}, 0, 2, new long[] {1, 2, 0});
        testSort(new long[] {2, GREATEST, 1, LEAST}, 1, 4, new long[] {2, LEAST, 1, GREATEST});
      }
    
      public void testSortDescending() {
        testSortDescending(new long[] {}, new long[] {});
        testSortDescending(new long[] {1}, new long[] {1});
        testSortDescending(new long[] {1, 2}, new long[] {2, 1});
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteStreams.java

       * happens first. Returns the total number of bytes skipped.
       */
      static long skipUpTo(InputStream in, long n) throws IOException {
        long totalSkipped = 0;
        // A buffer is allocated if skipSafely does not skip any bytes.
        byte[] buf = null;
    
        while (totalSkipped < n) {
          long remaining = n - totalSkipped;
          long skipped = skipSafely(in, remaining);
    
          if (skipped == 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/Utf8Test.java

       * @param start the starting bytes encoded as a long as big-endian
       * @param lim the limit of bytes to process encoded as a long as big-endian, or -1 to mean the max
       *     limit for numBytes
       */
      @GwtIncompatible // java.nio.charset.Charset
      private static void testBytes(int numBytes, long expectedCount, long start, long lim) {
        byte[] bytes = new byte[numBytes];
        if (lim == -1) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import static com.google.common.math.StatsTesting.LONG_MANY_VALUES;
    import static com.google.common.math.StatsTesting.LONG_MANY_VALUES_COUNT;
    import static com.google.common.math.StatsTesting.LONG_MANY_VALUES_MAX;
    import static com.google.common.math.StatsTesting.LONG_MANY_VALUES_MEAN;
    import static com.google.common.math.StatsTesting.LONG_MANY_VALUES_MIN;
    import static com.google.common.math.StatsTesting.LONG_MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/util/DocList.java

    public class DocList extends ArrayList<Map<String, Object>> {
    
        private static final long serialVersionUID = 1L;
    
        private long contentSize = 0;
    
        private long processingTime = 0;
    
        @Override
        public void clear() {
            super.clear();
            contentSize = 0;
            processingTime = 0;
        }
    
        public long getContentSize() {
            return contentSize;
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. internal/lock/lock_windows_test.go

    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:\long\foo\\bar\.\baz\\`, `\\?\C:\long\foo\bar\baz`},
    		{`\\unc\path`, `\\unc\path`},
    		{`long.txt`, `long.txt`},
    		{`C:long.txt`, `C:long.txt`},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  8. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  9. 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)
  10. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
Back to top