Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,087 for Lapray (0.25 sec)

  1. 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();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java

     *
     * @author Louis Wasserman
     */
    public class IntMathRoundingBenchmark {
      private static final int[] positive = new int[ARRAY_SIZE];
      private static final int[] nonzero = new int[ARRAY_SIZE];
      private static final int[] ints = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(Integer.SIZE - 2).intValue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java

      RoundingMode mode;
    
      private static final long[] positive = new long[ARRAY_SIZE];
      private static final long[] nonzero = new long[ARRAY_SIZE];
      private static final long[] longs = new long[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nullDuplicatesNotRejected() {
        E[] array = createArrayWithNullElement();
        array[0] = null;
        collection = getSubjectGenerator().create(array);
    
        List<E> expectedWithDuplicateRemoved = Arrays.asList(array).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            builder.add(counter.getAndIncrement());
          }
        },
        ADD_ARRAY {
          @Override
          void doIt(ImmutableLongArray.Builder builder, AtomicLong counter) {
            long[] array = new long[RANDOM.nextInt(10)];
            for (int i = 0; i < array.length; i++) {
              array[i] = counter.getAndIncrement();
            }
            builder.addAll(array);
          }
        },
        ADD_COLLECTION {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java

     */
    public class IntMathBenchmark {
      private static int[] exponent = new int[ARRAY_SIZE];
      private static int[] factorial = new int[ARRAY_SIZE];
      private static int[] binomial = new int[ARRAY_SIZE];
      private static final int[] positive = new int[ARRAY_SIZE];
      private static final int[] nonnegative = new int[ARRAY_SIZE];
      private static final int[] ints = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

                return source;
            }
            final char[] array = source.toCharArray();
            for (int i = 0; i < array.length; ++i) {
                switch (array[i]) {
                case WAVE_DASH:
                    array[i] = FULLWIDTH_TILDE;
                    break;
                case DOUBLE_VERTICAL_LINE:
                    array[i] = PARALLEL_TO;
                    break;
                case MINUS_SIGN:
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java

      public void testRetainAll_duplicatesKept() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
        assertFalse(
            "containsDuplicates.retainAll(superset) should return false",
            collection.retainAll(MinimalCollection.of(createSamplesArray())));
        expectContents(array);
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/ops/BUILD

    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        licenses = ["notice"],
    )
    
    cc_library(
        name = "array_ops",
        srcs = [
            "array_ops.cc",
        ],
        hdrs = [
            "array_ops.h",
        ],
        visibility = [
            "//tensorflow:internal",
        ],
        deps = [
            "//tensorflow/c/eager:abstract_context",
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Nov 17 15:20:54 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

    /**
     * Simple helper class to build a "sparse" array of objects based on the indexes that were added to
     * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null
     * (so it's not really a sparse array, just a pseudo sparse array). The builder can also return a
     * CharEscaper based on the generated array.
     *
     * @author Sven Mawson
     * @since 15.0
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top