Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 103 for mucho (1.39 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

          this.expectedCompletionWaitMillis = expectedCompletionWaitMillis;
          stopwatch = Stopwatch.createStarted();
        }
    
        /**
         * Asserts that the expected completion time has passed (and not "too much" time beyond that).
         */
        void assertCompletionExpected() {
          assertAtLeastTimePassed(stopwatch, expectedCompletionWaitMillis);
          assertTimeNotPassed(stopwatch, expectedCompletionWaitMillis + LONG_DELAY_MS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        boolean[][] arrays = new boolean[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        boolean[] sharedArray = new boolean[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Booleans.concat(arrays);
          fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteStreams.java

       *
       * @throws IllegalArgumentException if {@code size} is negative
       */
      @J2ktIncompatible
      public static ByteArrayDataOutput newDataOutput(int size) {
        // When called at high frequency, boxing size generates too much garbage,
        // so avoid doing that if we can.
        if (size < 0) {
          throw new IllegalArgumentException(String.format("Invalid size: %s", size));
        }
        return newDataOutput(new ByteArrayOutputStream(size));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        double[][] arrays = new double[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        double[] sharedArray = new double[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Doubles.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        long[][] arrays = new long[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        long[] sharedArray = new long[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Longs.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        short[][] arrays = new short[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        short[] sharedArray = new short[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Shorts.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

       * This test attempts to cause a future to wait for longer than it was requested to from a timed
       * get() call. As measurements of time are prone to flakiness, it tries to assert based on ranges
       * derived from observing how much time actually passed for various operations.
       */
      @SuppressWarnings("ThreadPriorityCheck")
      @AndroidIncompatible // Thread.suspend
      public void testToString_delayedTimeout() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/Quantiles.java

     *
     * <p>The time taken to compute multiple quantiles on the same dataset using {@link Scale#indexes
     * indexes} is generally less than the total time taken to compute each of them separately, and
     * sometimes much less. For example, on a large enough dataset, computing the 90th and 99th
     * percentiles together takes about 55% as long as computing them separately.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        float[][] arrays = new float[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        float[] sharedArray = new float[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Floats.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        int[][] arrays = new int[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        int[] sharedArray = new int[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Ints.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
Back to top