Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 351 for Input (0.18 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

       * traverses the elements of each iterable in {@code inputs}. The input iterators are not polled
       * until necessary.
       *
       * <p>The returned iterable's iterator supports {@code remove()} when the corresponding input
       * iterator supports it. The methods of the returned iterable may throw {@code
       * NullPointerException} if any of the input iterators is null.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/LineBufferTest.java

          chunk = Math.max(1, Math.min(chunk, input.length()));
          assertEquals(expectProcess, bufferHelper(input, chunk));
          assertEquals(expectRead, readUsingJava(input, chunk));
          assertEquals(expectRead, readUsingReader(input, chunk, true));
          assertEquals(expectRead, readUsingReader(input, chunk, false));
        }
      }
    
      private static List<String> bufferHelper(String input, int chunk) throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

      }
    
      static void testSort(long[] input, long[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedLongs.sort(input);
        assertThat(input).isEqualTo(expected);
      }
    
      static void testSort(long[] input, int from, int to, long[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedLongs.sort(input, from, to);
        assertThat(input).isEqualTo(expected);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

      }
    
      static void testSort(int[] input, int[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedInts.sort(input);
        assertThat(input).isEqualTo(expected);
      }
    
      static void testSort(int[] input, int from, int to, int[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedInts.sort(input, from, to);
        assertThat(input).isEqualTo(expected);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/DoublesTest.java

      private static void testReverse(double[] input, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          double[] input, int fromIndex, int toIndex, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.reverse(input, fromIndex, toIndex);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      private static void testReverse(double[] input, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          double[] input, int fromIndex, int toIndex, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.reverse(input, fromIndex, toIndex);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashFunction.java

       */
      HashCode hashBytes(byte[] input, int off, int len);
    
      /**
       * Shortcut for {@code newHasher().putBytes(input).hash()}. The implementation <i>might</i>
       * perform better than its longhand equivalent, but should not perform worse.
       *
       * @since 23.0
       */
      HashCode hashBytes(ByteBuffer input);
    
      /**
       * Shortcut for {@code newHasher().putUnencodedChars(input).hash()}. The implementation
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        @Override
        public ListenableFuture<String> apply(Integer input) throws Exception {
          switch (input) {
            case VALID_INPUT_DATA:
              outputFuture.set(RESULT_DATA);
              break;
            case SLOW_OUTPUT_VALID_INPUT_DATA:
              break; // do nothing to the result
            case SLOW_FUNC_VALID_INPUT_DATA:
              funcIsWaitingLatch.countDown();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          @Override
          public Object apply(Object input) {
            output.cancel(false);
            throw new MyError();
          }
        }
        Transformer transformer = new Transformer();
        SettableFuture<Object> input = SettableFuture.create();
    
        ListenableFuture<Object> output = transform(input, transformer, directExecutor());
        transformer.output = output;
    
        input.set("foo");
        assertTrue(output.isCancelled());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      }
    
      private static void testSortDescending(byte[] input, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        SignedBytes.sortDescending(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testSortDescending(
          byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7K bytes
    - Viewed (0)
Back to top