Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 139 for ends (0.26 sec)

  1. android/guava/src/com/google/common/base/Verify.java

     *
     * <p>Remember that parameter values for message construction must all be computed eagerly, and
     * autoboxing and varargs array creation may happen as well, even when the verification succeeds and
     * the message ends up unneeded. Performance-sensitive verification checks should continue to use
     * usual form:
     *
     * <pre>{@code
     * Bill bill = remoteService.getLastUnpaidBill();
     * if (bill.status() != Status.UNPAID) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // being resumed. To avoid a flake in this scenario, calculate how long that thread actually
        // waited and assert based on that time. Empirically, the race where the thread ends up waiting
        // for 5.5 seconds happens about 2% of the time.
        boolean longWait = TimeUnit.NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1}, 0, 0, 1, new byte[] {1});
        testRotate(new byte[] {1}, 1, 0, 1, new byte[] {1});
        testRotate(new byte[] {1}, 1, 1, 1, new byte[] {1});
    
        // Rotate the central 5 elements, leaving the ends as-is
        testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, -6, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6});
        testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, -1, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6});
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Chars.java

        final char[] array;
        final int start;
        final int end;
    
        CharArrayAsList(char[] array) {
          this(array, 0, array.length);
        }
    
        CharArrayAsList(char[] array, int start, int end) {
          this.array = array;
          this.start = start;
          this.end = end;
        }
    
        @Override
        public int size() {
          return end - start;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Doubles.java

        final double[] array;
        final int start;
        final int end;
    
        DoubleArrayAsList(double[] array) {
          this(array, 0, array.length);
        }
    
        DoubleArrayAsList(double[] array, int start, int end) {
          this.array = array;
          this.start = start;
          this.end = end;
        }
    
        @Override
        public int size() {
          return end - start;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ShortsTest.java

        testRotate(new short[] {1}, 0, 0, 1, new short[] {1});
        testRotate(new short[] {1}, 1, 0, 1, new short[] {1});
        testRotate(new short[] {1}, 1, 1, 1, new short[] {1});
    
        // Rotate the central 5 elements, leaving the ends as-is
        testRotate(new short[] {0, 1, 2, 3, 4, 5, 6}, -6, 1, 6, new short[] {0, 2, 3, 4, 5, 1, 6});
        testRotate(new short[] {0, 1, 2, 3, 4, 5, 6}, -1, 1, 6, new short[] {0, 2, 3, 4, 5, 1, 6});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

        for (int i = 0; i < IPV4_PART_COUNT; i++) {
          int end = ipString.indexOf(IPV4_DELIMITER, start);
          if (end == -1) {
            end = ipString.length();
          }
          try {
            bytes[i] = parseOctet(ipString, start, end);
          } catch (NumberFormatException ex) {
            return null;
          }
          start = end + 1;
        }
    
        return bytes;
      }
    
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  8. guava-tests/test/com/google/common/primitives/IntsTest.java

        testRotate(new int[] {1}, 0, 0, 1, new int[] {1});
        testRotate(new int[] {1}, 1, 0, 1, new int[] {1});
        testRotate(new int[] {1}, 1, 1, 1, new int[] {1});
    
        // Rotate the central 5 elements, leaving the ends as-is
        testRotate(new int[] {0, 1, 2, 3, 4, 5, 6}, -6, 1, 6, new int[] {0, 2, 3, 4, 5, 1, 6});
        testRotate(new int[] {0, 1, 2, 3, 4, 5, 6}, -1, 1, 6, new int[] {0, 2, 3, 4, 5, 1, 6});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/CharsTest.java

        testRotate(new char[] {'1'}, 1, 0, 1, new char[] {'1'});
        testRotate(new char[] {'1'}, 1, 1, 1, new char[] {'1'});
    
        // Rotate the central 5 elements, leaving the ends as-is
        testRotate(
            new char[] {'0', '1', '2', '3', '4', '5', '6'},
            -6,
            1,
            6,
            new char[] {'0', '2', '3', '4', '5', '1', '6'});
        testRotate(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
          throws Exception {
        assertEquals(expected, getResponse(methodName).getResult());
      }
    
      /**
       * Sends the given method call to this thread.
       *
       * @throws TimeoutException if this thread does not accept the request within a reasonable amount
       *     of time
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
Back to top