Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 515 for Input (0.13 sec)

  1. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        List<List<Integer>> input = newArrayList(list1, list2);
    
        FluentIterable<Integer> result = FluentIterable.concat(input);
        assertEquals(asList(1, 4), newArrayList(result));
    
        // Now change the inputs and see result dynamically change as well
    
        list1.add(2);
        List<Integer> list3 = newArrayList(3);
        input.add(1, list3);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

      private static final class RoundToDoubleTester {
        private final BigDecimal input;
        private final Map<RoundingMode, Double> expectedValues = new EnumMap<>(RoundingMode.class);
        private boolean unnecessaryShouldThrow = false;
    
        RoundToDoubleTester(BigDecimal input) {
          this.input = input;
        }
    
        RoundToDoubleTester setExpectation(double expectedValue, RoundingMode... modes) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      private static void testReverse(float[] input, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          float[] input, int fromIndex, int toIndex, float[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Floats.reverse(input, fromIndex, toIndex);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental_test.cc

          const std::vector<TF_Tensor*>& input_tensors,
          const absl::optional<std::vector<int64_t>>& expected_shape) {
        // Create input_shapes.
        TF_ShapeAndTypeList* input_shapes =
            TF_NewShapeAndTypeList(input_shapes_vec.size());
        for (size_t i = 0; i < input_shapes_vec.size(); ++i) {
          const auto& input_shape = input_shapes_vec[i];
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  7. tensorflow/c/experimental/gradients/math_grad.cc

    namespace gradients {
    namespace {
    
    static Status SafeConj(AbstractContext* ctx, AbstractTensorHandle* const input,
                           AbstractTensorHandle** output, const char* name) {
      auto dtype = input->DataType();
      if (DataTypeIsFloating(BaseType(dtype)) ||
          DataTypeIsInteger(BaseType(dtype))) {
        return tensorflow::ops::Identity(ctx, input, output, name);
      } else if (!DataTypeIsComplex(BaseType(dtype)) &&
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CollectCollectors.java

        checkNotNull(keyFunction);
        checkNotNull(valuesFunction);
        return collectingAndThen(
            flatteningToMultimap(
                input -> checkNotNull(keyFunction.apply(input)),
                input -> valuesFunction.apply(input).peek(Preconditions::checkNotNull),
                MultimapBuilder.linkedHashKeys().arrayListValues()::<K, V>build),
            ImmutableListMultimap::copyOf);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      private static void testReverse(long[] input, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Longs.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(long[] input, int fromIndex, int toIndex, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Longs.reverse(input, fromIndex, toIndex);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      private static void testReverse(long[] input, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Longs.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(long[] input, int fromIndex, int toIndex, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Longs.reverse(input, fromIndex, toIndex);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
Back to top