Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 63 for system (0.16 sec)

  1. android/guava/src/com/google/common/collect/ImmutableMap.java

          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> other) {
          checkNotNull(other);
          ensureCapacity(this.size + other.size);
          System.arraycopy(
              other.alternatingKeysAndValues,
              0,
              this.alternatingKeysAndValues,
              this.size * 2,
              other.size * 2);
          this.size += other.size;
          return this;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Floats.java

        int length = 0;
        for (float[] array : arrays) {
          length += array.length;
        }
        float[] result = new float[length];
        int pos = 0;
        for (float[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static final class FloatConverter extends Converter<String, Float>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

           * by stripping annotated methods entirely, and if we strip this method, then JUnit would just
           * run the supermethod as usual.
           *
           * TODO: b/292578973: Use @AndroidIncompatible if we change our system to keep the methods in
           * place but to have the test runner skip them. However, note that if we choose to *both*
           * strip the methods *and* have the test runner not run them (for some unusual cases in which
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        System.arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
      // TODO(kevinb): Consider factory methods that reject duplicates
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        arrayCopy(array, paramCount, others);
        return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(array));
      }
    
      private static void arrayCopy(Object[] dest, int pos, Object... source) {
        System.arraycopy(source, 0, dest, pos, source.length);
      }
    
      /** ImmutableList.of API that is friendly to use from JavaScript. */
      @JsMethod(name = "of")
      static <E> ImmutableList<E> jsOf(E... elements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ArrayTable.java

        @SuppressWarnings("unchecked")
        @Nullable
        V[][] copy = (@Nullable V[][]) new Object[rowList.size()][columnList.size()];
        array = copy;
        for (int i = 0; i < rowList.size(); i++) {
          System.arraycopy(table.array[i], 0, copy[i], 0, table.array[i].length);
        }
      }
    
      private abstract static class ArrayMap<K, V extends @Nullable Object>
          extends IteratorBasedAbstractMap<K, V> {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Doubles.java

        int length = 0;
        for (double[] array : arrays) {
          length += array.length;
        }
        double[] result = new double[length];
        int pos = 0;
        for (double[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static final class DoubleConverter extends Converter<String, Double>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          String[] prefix = {"f", "g"};
          String[] suffix = {"h", "i"};
    
          String[] all = new String[2 + elements.length + 2];
          System.arraycopy(prefix, 0, all, 0, 2);
          System.arraycopy(elements, 0, all, 2, elements.length);
          System.arraycopy(suffix, 0, all, 2 + elements.length, 2);
    
          return ImmutableList.copyOf(all).subList(2, elements.length + 2);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SetsTest.java

                      @Override
                      protected Set<AnEnum> create(AnEnum[] elements) {
                        AnEnum[] otherElements = new AnEnum[elements.length - 1];
                        System.arraycopy(elements, 1, otherElements, 0, otherElements.length);
                        return Sets.immutableEnumSet(elements[0], otherElements);
                      }
                    })
                .named("Sets.immutableEnumSet")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * implementation type.
         *
         * <p>This method is provided as a convenience for tests. Otherwise they'd need to be
         * knowledgeable about all the implementation details of our type system trickery.
         */
        abstract E castForTesting(InternalEntry<K, V, ?> entry);
    
        /** Unsafely extracts the key reference queue used by this segment. */
        ReferenceQueue<K> getKeyReferenceQueueForTesting() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
Back to top