Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 1,598 for _arrays (0.05 seconds)

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

       * @since 23.1
       */
      public static void sort(int[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
        Arrays.sort(array, fromIndex, toIndex);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  2. buildscripts/checkdeps.sh

    ##     return [ "$1" == "${versions[0]}" ]
    ## }
    ##
    check_minimum_version() {
    	IFS='.' read -r -a varray1 <<<"$1"
    	IFS='.' read -r -a varray2 <<<"$2"
    
    	for i in "${!varray1[@]}"; do
    		if [[ ${varray1[i]} -lt ${varray2[i]} ]]; then
    			return 0
    		elif [[ ${varray1[i]} -gt ${varray2[i]} ]]; then
    			return 1
    		fi
    	done
    
    	return 0
    }
    
    assert_is_supported_arch() {
    	case "${ARCH}" in
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jun 08 16:12:05 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        E[] array = (E[]) Iterables.toArray(elements);
        checkElementsNotNull(array);
        Arrays.sort(array, comparator);
        return asImmutableList(array);
      }
    
      private static <E> List<E> nullCheckedList(Object... array) {
        for (int i = 0, len = array.length; i < len; i++) {
          if (array[i] == null) {
            throw new NullPointerException("at index " + i);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

              array[i] = counter.getAndIncrement();
            }
            builder.addAll(ImmutableDoubleArray.copyOf(array));
          }
        },
        ADD_LARGER_ARRAY {
          @Override
          void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) {
            double[] array = new double[random.nextInt(200) + 200];
            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

    import java.security.MessageDigest;
    import java.util.Arrays;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for comparing the various {@link HashCode#equals} methods.
     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: the length of the byte array to hash
     *   <li>whereToDiffer: where in the array the bytes should differ
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                """,
                v2 = """
                    import java.util.Arrays;
                    import java.util.List;
                    import $nullableAnnotationName;
                    public class Source {
                        public List<@Nullable String> nonFinalField = Arrays.asList("some", null);
                        public final List<@Nullable String> finalField = Arrays.asList("some", null);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

              swap(array, from, to);
            }
            return array[k];
          } else {
            int midIndex = (from + to) >>> 1;
            // Choose the median of the elements at the from, to and mid indexes,
            // and rearrange so that array[from]<=array[from+1], and
            // array[to] => array[from + 1].
    
            swap(array, midIndex, from + 1);
    
            if (array[from] > array[to]) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

      }
    
      @Override
      public void clear() {
        Arrays.fill(keys, 0, size, null);
        Arrays.fill(values, 0, size, null);
        Arrays.fill(hashTableKToV, ABSENT);
        Arrays.fill(hashTableVToK, ABSENT);
        Arrays.fill(nextInBucketKToV, 0, size, ABSENT);
        Arrays.fill(nextInBucketVToK, 0, size, ABSENT);
        Arrays.fill(prevInInsertionOrder, 0, size, ABSENT);
        Arrays.fill(nextInInsertionOrder, 0, size, ABSENT);
        size = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/entity/RequestParameter.java

        }
    
        /**
         * Returns the array of values associated with this request parameter.
         *
         * @return the parameter values array, may be null or empty
         */
        public String[] getValues() {
            return values;
        }
    
        /**
         * Returns a string representation of this RequestParameter.
         * The format includes the parameter name and its values in array format.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompoundOrdering.java

          CompoundOrdering<?> that = (CompoundOrdering<?>) object;
          return Arrays.equals(this.comparators, that.comparators);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return Arrays.hashCode(comparators);
      }
    
      @Override
      public String toString() {
        return "Ordering.compound(" + Arrays.toString(comparators) + ")";
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top