/external/guava/android/guava-tests/test/com/google/common/math/ |
D | PairedStatsAccumulatorTest.java | 103 MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE)); in setUp() 106 MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE), 2); in setUp() 110 Collections.nCopies(OTHER_MANY_VALUES_COUNT, ONE_VALUE), OTHER_MANY_VALUES); in setUp() 113 Collections.nCopies(OTHER_MANY_VALUES_COUNT, ONE_VALUE), OTHER_MANY_VALUES, 2); in setUp() 117 Collections.nCopies(MANY_VALUES_COUNT, ONE_VALUE), in setUp() 118 Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE)); in setUp() 121 Collections.nCopies(MANY_VALUES_COUNT, ONE_VALUE), in setUp() 122 Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE), in setUp()
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | PairedStatsAccumulatorTest.java | 103 MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE)); in setUp() 106 MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE), 2); in setUp() 110 Collections.nCopies(OTHER_MANY_VALUES_COUNT, ONE_VALUE), OTHER_MANY_VALUES); in setUp() 113 Collections.nCopies(OTHER_MANY_VALUES_COUNT, ONE_VALUE), OTHER_MANY_VALUES, 2); in setUp() 117 Collections.nCopies(MANY_VALUES_COUNT, ONE_VALUE), in setUp() 118 Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE)); in setUp() 121 Collections.nCopies(MANY_VALUES_COUNT, ONE_VALUE), in setUp() 122 Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE), in setUp()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetSetCountConditionallyTester.java | 22 import static java.util.Collections.nCopies; 103 expectContents(nCopies(3, e0())); in testSetCountConditional_oldCountTooSmallNonzero()
|
D | MultisetNavigationTester.java | 86 container.addAll(Collections.nCopies(a.getCount(), a.getElement())); in resetWithHole() 87 container.addAll(Collections.nCopies(c.getCount(), c.getElement())); in resetWithHole()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetSetCountConditionallyTester.java | 22 import static java.util.Collections.nCopies; 103 expectContents(nCopies(3, e0())); in testSetCountConditional_oldCountTooSmallNonzero()
|
D | MultisetNavigationTester.java | 86 container.addAll(Collections.nCopies(a.getCount(), a.getElement())); in resetWithHole() 87 container.addAll(Collections.nCopies(c.getCount(), c.getElement())); in resetWithHole()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | Collections2Test.java | 24 import static java.util.Collections.nCopies; 317 Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size()); 321 Collections2.orderedPermutations(concat(nCopies(21, 1), nCopies(14, 2))).size());
|
D | MultisetsImmutableEntryTest.java | 38 return HashMultiset.create(Collections.nCopies(count, element)).entrySet().iterator().next(); in control()
|
D | TopKSelectorTest.java | 119 assertThat(top.topK()).containsExactlyElementsIn(Collections.nCopies(k, 0)); in testWorstCase()
|
D | AbstractHashFloodingTest.java | 178 Lists.cartesianProduct(Collections.nCopies(power, haveSameHashes2)),
|
D | ListsTest.java | 659 List<String> list = Collections.nCopies(10000, "foo"); in testCartesianProductTooBig() 998 assertEquals(2, Lists.partition(Collections.nCopies(0x40000001, 1), 0x40000000).size()); in testPartitionSize_2()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | Collections2Test.java | 24 import static java.util.Collections.nCopies; 317 Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size()); 321 Collections2.orderedPermutations(concat(nCopies(21, 1), nCopies(14, 2))).size());
|
D | MultisetsImmutableEntryTest.java | 38 return HashMultiset.create(Collections.nCopies(count, element)).entrySet().iterator().next(); in control()
|
D | TopKSelectorTest.java | 119 assertThat(top.topK()).containsExactlyElementsIn(Collections.nCopies(k, 0)); in testWorstCase()
|
D | ListsTest.java | 659 List<String> list = Collections.nCopies(10000, "foo"); in testCartesianProductTooBig() 998 assertEquals(2, Lists.partition(Collections.nCopies(0x40000001, 1), 0x40000000).size()); in testPartitionSize_2()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListReplaceAllTester.java | 41 expectContents(Collections.nCopies(getNumElements(), samples.e3())); in testReplaceAll()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowHtmlTest.java | 25 String.join("", Collections.nCopies(100, "foo")));
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | MultiInputStreamTest.java | 133 return new MultiInputStream(Collections.nCopies(10_000_000, ByteSource.empty()).iterator()); in tenMillionEmptySources()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | MultiInputStreamTest.java | 133 return new MultiInputStream(Collections.nCopies(10_000_000, ByteSource.empty()).iterator()); in tenMillionEmptySources()
|
/external/llvm-project/flang/lib/Evaluate/ |
D | shape.cpp | 613 const auto *nCopies{ in operator ()() local 615 if (arrayShape && dimArg && nCopies) { in operator ()() 620 ConvertToType<ExtentType>(common::Clone(*nCopies))); in operator ()()
|
/external/dagger2/javatests/dagger/functional/cycle/ |
D | DoubleCheckCycleTest.java | 239 assertThat(values).isEqualTo(Collections.nCopies(numThreads, futureValue)); in testGetFromMultipleThreads()
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | JimfsPath.java | 343 parts.addAll(Collections.nCopies(extraNamesInThis, Name.PARENT)); in relativize()
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | InvokableTest.java | 575 return Iterables.concat(Collections.nCopies(times, prefix), tail); in prepend()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | InvokableTest.java | 575 return Iterables.concat(Collections.nCopies(times, prefix), tail); in prepend()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | MoreExecutorsTest.java | 159 List<Future<Integer>> futures = executor.invokeAll(Collections.nCopies(10, incrementTask)); in testDirectExecutorServiceInvokeAll()
|