Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 781 for Song (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

      val streamHandler: StreamHandler?
    
      val inTunnel: Boolean
      val informationalResponses: List<MockResponse>
    
      val throttleBytesPerPeriod: Long
      val throttlePeriodNanos: Long
    
      val socketPolicy: SocketPolicy
    
      val bodyDelayNanos: Long
      val headersDelayNanos: Long
    
      val pushPromises: List<PushPromise>
    
      val settings: Settings
    
      @JvmOverloads
      constructor(
        code: Int = 200,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  5. src/test/java/jcifs/tests/FileAttributesTest.java

            try ( SmbResource f = createTestFile() ) {
                try {
                    long orig = f.createTime();
                    long time = System.currentTimeMillis() - 60 * 60 * 12;
                    f.setCreateTime(time);
                    long newTime = f.createTime();
                    if ( newTime == orig ) {
                        Assume.assumeTrue("Create time was not changed", false);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  6. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

            new Callable<Long>() {
              @Override
              public Long call() {
                return runAddRemoveSingleThread(reps);
              }
            });
      }
    
      private long doMultithreadedLoop(Callable<Long> task)
          throws InterruptedException, ExecutionException {
    
        List<Future<Long>> futures = Lists.newArrayListWithCapacity(threads);
        for (int i = 0; i < threads; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSource.java

        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      private long countBySkipping(Reader reader) throws IOException {
        long count = 0;
        long read;
        while ((read = reader.skip(Long.MAX_VALUE)) != 0) {
          count += read;
        }
        return count;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K 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. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
Back to top