Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,100 for ndarray (0.07 sec)

  1. android/guava/src/com/google/common/primitives/Floats.java

        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Floats.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(float[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Floats.java

        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Floats.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(float[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Ints.java

      public static int min(int... array) {
        checkArgument(array.length > 0);
        int min = array[0];
        for (int i = 1; i < array.length; i++) {
          if (array[i] < min) {
            min = array[i];
          }
        }
        return min;
      }
    
      /**
       * Returns the greatest value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code int} values
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/SLinkedList.java

        public E[] toArray(E[] array) {
            if (array.length < size) {
                array = (E[]) Array.newInstance(array.getClass().getComponentType(), size);
            }
            int i = 0;
            for (Entry e = header.next; e != header; e = e.next) {
                array[i++] = e.element;
            }
            for (i = size; i < array.length; ++i) {
                array[i] = null;
            }
            return array;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/JoinerTest.java

        assertEquals("", joiner.join(set));
        assertEquals("", joiner.join(set.iterator()));
    
        Object[] array = Lists.newArrayList(set).toArray(new Integer[0]);
        assertEquals("", joiner.join(array));
    
        StringBuilder sb1FromIterable = new StringBuilder();
        assertSame(sb1FromIterable, joiner.appendTo(sb1FromIterable, set));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompoundOrdering.java

      final Comparator<? super T>[] comparators;
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Comparator<? super T> primary, Comparator<? super T> secondary) {
        this.comparators = (Comparator<? super T>[]) new Comparator<?>[] {primary, secondary};
      }
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) {
        this.comparators =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       *
       * @param length the length of the array
       */
      public AtomicDoubleArray(int length) {
        this.longs = new AtomicLongArray(length);
      }
    
      /**
       * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from,
       * the given array.
       *
       * @param array the array to copy elements from
       * @throws NullPointerException if array is null
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Doubles.java

        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Doubles.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(double[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

          return standardRetainAll(collection);
        }
    
        @Override
        public Object[] toArray() {
          return standardToArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
          return standardToArray(array);
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Platform.java

        return CompactHashSet.create();
      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top