HomeSort by relevance Sort by last modified time
    Searched refs:copyOf (Results 26 - 50 of 566) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/tests/tests/location/src/android/location/cts/asn1/base/
BitStream.java 50 return Arrays.copyOf(buffer, position + (setBits == 0 ? 0 : 1));
62 buffer = Arrays.copyOf(buffer, buffer.length + BUFFER_CHUNK);
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSet.java 79 return copyOf(all.iterator());
82 public static <E> ImmutableSet<E> copyOf(E[] elements) {
94 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) {
96 return copyOf(iterable);
99 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) {
105 return copyOf(elements.iterator());
108 public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) {
203 return copyOf(contents.iterator());
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableClassToInstanceMapTest.java 76 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in);
79 assertSame(map, ImmutableClassToInstanceMap.copyOf(map));
86 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in);
95 assertSame(map, ImmutableClassToInstanceMap.copyOf(map));
102 ImmutableClassToInstanceMap.copyOf(nullKey);
110 ImmutableClassToInstanceMap.copyOf(nullValue);
118 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in);
125 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in);
ImmutableSortedSetTest.java 193 @Override protected SortedSet<String> copyOf(String[] elements) {
194 return ImmutableSortedSet.copyOf(elements);
197 @Override protected SortedSet<String> copyOf(Collection<String> elements) {
198 return ImmutableSortedSet.copyOf(elements);
201 @Override protected SortedSet<String> copyOf(Iterable<String> elements) {
202 return ImmutableSortedSet.copyOf(elements);
205 @Override protected SortedSet<String> copyOf(Iterator<String> elements) {
206 return ImmutableSortedSet.copyOf(elements);
532 copyOf(asList("e", "a", "f", "b", "d", "c"));
538 copyOf(asList("e", "a", "e", "f", "b", "b", "d", "a", "c"))
    [all...]
ImmutableListTest.java 251 List<String> list = ImmutableList.copyOf(array);
257 List<String> list = ImmutableList.copyOf(array);
263 ImmutableList.copyOf((String[]) null);
272 ImmutableList.copyOf(array);
281 List<String> list = ImmutableList.copyOf(c);
287 List<String> list = ImmutableList.copyOf(c);
293 List<String> list = ImmutableList.copyOf(c);
296 list = ImmutableList.copyOf(mutableList);
304 ImmutableList.copyOf(c);
312 List<String> list = ImmutableList.copyOf(iterator)
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
FileTreeTraverserTest.java 91 assertEquals(ImmutableSet.copyOf(files),
92 ImmutableSet.copyOf(Files.fileTreeTraverser().children(dir)));
  /external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
GraphvizEdge.java 72 this.arrowHead = ImmutableList.copyOf(arrowHead);
101 this.arrowTail = ImmutableList.copyOf(arrowTail);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowBluetoothSocketTest.java 33 assertThat(Arrays.copyOf(b, len)).isEqualTo(DATA);
42 assertThat(Arrays.copyOf(b, len)).isEqualTo(DATA);
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
PoolClassDef.java 59 interfaces = new TypeListPool.Key<List<String>>(ImmutableList.copyOf(classDef.getInterfaces()));
60 staticFields = ImmutableSortedSet.copyOf(classDef.getStaticFields());
61 instanceFields = ImmutableSortedSet.copyOf(classDef.getInstanceFields());
62 directMethods = ImmutableSortedSet.copyOf(
64 virtualMethods = ImmutableSortedSet.copyOf(
  /external/guava/guava/src/com/google/common/collect/
ImmutableSortedMultiset.java 118 return copyOf(Ordering.natural(), Arrays.asList(e1, e2));
129 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3));
141 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4));
153 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4, e5));
169 return copyOf(Ordering.natural(), all);
178 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> copyOf(E[] elements) {
179 return copyOf(Ordering.natural(), Arrays.asList(elements));
189 * ImmutableSortedMultiset.copyOf(s)} returns an {@code ImmutableSortedMultiset<String>}
204 public static <E> ImmutableSortedMultiset<E> copyOf(Iterable<? extends E> elements) {
209 return copyOf(naturalOrder, elements)
    [all...]
ImmutableSortedSet.java 217 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf(
232 * ImmutableSortedSet.copyOf(s)} returns an {@code ImmutableSortedSet<String>}
248 public static <E> ImmutableSortedSet<E> copyOf(
254 return copyOf(naturalOrder, elements);
266 * {@code ImmutableSortedSet.copyOf(s)} returns an
286 public static <E> ImmutableSortedSet<E> copyOf(
292 return copyOf(naturalOrder, elements);
306 public static <E> ImmutableSortedSet<E> copyOf(
312 return copyOf(naturalOrder, elements);
324 public static <E> ImmutableSortedSet<E> copyOf(
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ImmutableBiMapTest.java 317 = ImmutableBiMap.copyOf(Collections.<String, Integer>emptyMap());
319 assertSame(copy, ImmutableBiMap.copyOf(copy));
325 = ImmutableBiMap.copyOf(Collections.singletonMap("one", 1));
327 assertSame(copy, ImmutableBiMap.copyOf(copy));
336 ImmutableBiMap<String, Integer> copy = ImmutableBiMap.copyOf(original);
338 assertSame(copy, ImmutableBiMap.copyOf(copy));
351 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf(
358 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf(
382 ImmutableBiMap.copyOf(map);
394 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf(
    [all...]
  /external/caliper/examples/src/main/java/examples/
CopyArrayBenchmark.java 33 * array clone() much slower than Arrays.copyOf</a>
80 return Arrays.copyOf(array, array.length);
83 return Arrays.copyOf(array, array.length);
86 return Arrays.copyOf(array, array.length);
89 return Arrays.copyOf(array, array.length);
92 return Arrays.copyOf(array, array.length);
95 return Arrays.copyOf(array, array.length);
98 return Arrays.copyOf(array, array.length);
101 return Arrays.copyOf(array, array.length);
104 return Arrays.copyOf(array, array.length)
    [all...]
  /external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
InstrumentationConfiguration.java 62 this.classNameTranslations = ImmutableMap.copyOf(classNameTranslations);
63 this.interceptedMethods = ImmutableSet.copyOf(interceptedMethods);
64 this.instrumentedPackages = ImmutableList.copyOf(instrumentedPackages);
65 this.instrumentedClasses = ImmutableSet.copyOf(instrumentedClasses);
66 this.classesToNotAcquire = ImmutableSet.copyOf(classesToNotAcquire);
67 this.packagesToNotAcquire = ImmutableSet.copyOf(packagesToNotAquire);
68 this.classesToNotInstrument = ImmutableSet.copyOf(classesToNotInstrument);
69 this.packagesToNotInstrument = ImmutableSet.copyOf(packagesToNotInstrument);
73 this.methodsToIntercept = ImmutableSet.copyOf(convertToSlashes(methodsToIntercept()));
  /external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
NettyServerStreamTest.java 103 ImmutableListMultimap.copyOf(new DefaultHttp2Headers()
114 assertThat(ImmutableListMultimap.copyOf(sendHeaders.headers()))
131 ImmutableListMultimap.copyOf(Utils.convertServerHeaders(headers));
140 assertThat(ImmutableListMultimap.copyOf(sendHeaders.headers()))
148 ImmutableListMultimap.copyOf(new DefaultHttp2Headers()
160 assertThat(ImmutableListMultimap.copyOf(sendHeaders.headers()))
175 ImmutableListMultimap.copyOf(new DefaultHttp2Headers()
188 assertThat(ImmutableListMultimap.copyOf(sendHeaders.headers()))
202 ImmutableListMultimap.copyOf(new DefaultHttp2Headers()
222 assertThat(ImmutableListMultimap.copyOf(cmd.headers())
    [all...]
  /external/guava/guava-tests/benchmark/com/google/common/collect/
SortedCopyBenchmark.java 79 input = ImmutableList.copyOf(list);
96 dummy += ImmutableList.copyOf(copy).get(0);
126 dummy += ImmutableSortedSet.copyOf(input).first();
  /developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/edgecases/
MultipleStepsCreditCardActivity.java 39 return ImmutableMap.copyOf(steps);
  /developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/edgecases/
MultipleStepsCreditCardActivity.java 39 return ImmutableMap.copyOf(steps);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/util/
MultidimensionalCounter.java 131 return /* Arrays.*/ copyOf(counter, dimension); // Java 1.5 does not support Arrays.copyOf()
166 this.size = /* Arrays.*/ copyOf(size, dimension); // Java 1.5 does not support Arrays.copyOf()
288 return /* Arrays.*/ copyOf(size, dimension); // Java 1.5 does not support Arrays.copyOf()
304 * Java 1.5 does not support Arrays.copyOf()
310 private int[] copyOf(int[] source, int newLen) {
  /external/caliper/caliper/src/main/java/com/google/caliper/bridge/
StopMeasurementLogMessage.java 34 this.measurements = ImmutableList.copyOf(measurements);
  /external/caliper/caliper/src/main/java/com/google/caliper/util/
InvalidCommandException.java 34 this.usage = ImmutableList.copyOf(usage);
  /external/caliper/caliper/src/test/java/com/google/caliper/runner/
InMemoryResultsUploader.java 36 return ImmutableList.copyOf(trials);
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ResolvedBindings.java 75 return ImmutableSet.copyOf(membersInjectionBinding().asSet());
91 return ImmutableSet.copyOf(ownedMembersInjectionBinding().asSet());
106 return ImmutableSet.copyOf(allContributionBindings().values());
157 ImmutableSetMultimap.<ComponentDescriptor, ContributionBinding>copyOf(contributionBindings),
  /external/desugar/java/com/google/devtools/build/android/desugar/
GeneratedClassStore.java 45 ImmutableMap<String, ClassNode> result = ImmutableMap.copyOf(classes);
  /external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
AltsChannelCrypterTest.java 98 byte[] maxFirstPred = Arrays.copyOf(maxFirst, maxFirst.length);
102 byte[] counter = Arrays.copyOf(maxFirstPred, maxFirstPred.length);
129 byte[] maxSecondPred = Arrays.copyOf(maxSecond, maxSecond.length);
133 byte[] counter = Arrays.copyOf(maxSecondPred, maxSecondPred.length);

Completed in 829 milliseconds

12 3 4 5 6 7 8 91011>>