Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,161 for marras (0.19 sec)

  1. guava-tests/test/com/google/common/base/JoinerTest.java

      private static final Iterable<Integer> ITERABLE_ = Arrays.<Integer>asList();
      private static final Iterable<Integer> ITERABLE_1 = Arrays.asList(1);
      private static final Iterable<Integer> ITERABLE_12 = Arrays.asList(1, 2);
      private static final Iterable<Integer> ITERABLE_123 = Arrays.asList(1, 2, 3);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL = Arrays.asList((Integer) null);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. 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) + ")";
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/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) + ")";
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      }
    
      private static int[] newTable(int size) {
        int[] array = new int[size];
        Arrays.fill(array, UNSET);
        return array;
      }
    
      private static long[] newEntries(int size) {
        long[] array = new long[size];
        Arrays.fill(array, UNSET);
        return array;
      }
    
      private int hashTableMask() {
        return table.length - 1;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

        for (int i = 0; i < 0x100; i++) {
          Integer[] array = new Integer[n];
          for (int j = 0; j < n; j++) {
            array[j] = rng.nextInt();
          }
          inputArrays[i] = array;
        }
      }
    
      @Benchmark
      int arraysSortNoComparator(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          Integer[] copy = inputArrays[i & 0xFF].clone();
          Arrays.sort(copy);
          tmp += copy[0];
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  6. 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);
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.toArray(longs)).isEqualTo(array);
        assertThat(Ints.toArray(doubles)).isEqualTo(array);
      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        int[] array = {(int) 0, (int) 1};
        List<Integer> list = Ints.asList(array);
        list.set(0, (int) 2);
        assertThat(array).isEqualTo(new int[] {(int) 2, (int) 1});
        array[1] = (int) 3;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

          System.arraycopy(values.array, values.start, array, count, values.length());
          count += values.length();
          return this;
        }
    
        private void ensureRoomFor(int numberToAdd) {
          int newCount = count + numberToAdd; // TODO(kevinb): check overflow now?
          if (newCount > array.length) {
            array = Arrays.copyOf(array, expandedCapacity(array.length, newCount));
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        Arrays.fill(b, (byte) 0);
        ByteStreams.readFully(newTestStream(10), b, 0, 0);
        assertThat(b).isEqualTo(new byte[10]);
    
        Arrays.fill(b, (byte) 0);
        ByteStreams.readFully(newTestStream(10), b, 0, 10);
        assertThat(b).isEqualTo(newPreFilledByteArray(10));
    
        Arrays.fill(b, (byte) 0);
        ByteStreams.readFully(newTestStream(10), b, 0, 5);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Objects.java

        return a == b || (a != null && a.equals(b));
      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top