Home
last modified time | relevance | path

Searched refs:originalCount (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetAddTester.java44 int originalCount = getMultiset().count(samples.e0); in testAddMeansAddOne() local
46 assertEquals(originalCount + 1, getMultiset().count(samples.e0)); in testAddMeansAddOne()
51 int originalCount = getMultiset().count(samples.e0); in testAddOccurrencesZero() local
52 assertEquals("old count", originalCount, getMultiset().add(samples.e0, 0)); in testAddOccurrencesZero()
58 int originalCount = getMultiset().count(samples.e0); in testAddOccurrences() local
59 assertEquals("old count", originalCount, getMultiset().add(samples.e0, 2)); in testAddOccurrences()
60 assertEquals("old count", originalCount + 2, getMultiset().count(samples.e0)); in testAddOccurrences()
65 int originalCount = getMultiset().count(samples.e0); in testAddSeveralTimes() local
66 assertEquals(originalCount, getMultiset().add(samples.e0, 2)); in testAddSeveralTimes()
68 assertEquals(originalCount + 3, getMultiset().add(samples.e0, 1)); in testAddSeveralTimes()
[all …]
DMultisetRemoveTester.java65 int originalCount = getMultiset().count(samples.e0); in testRemoveZeroNoOp() local
66 assertEquals("old count", originalCount, getMultiset().remove(samples.e0, 0)); in testRemoveZeroNoOp()
/external/icu/icu4c/source/test/cintltst/
Dcurrtest.c114 int32_t originalCount, count; in checkItemCount() local
122 originalCount = uenum_count(en, &status); in checkItemCount()
130 if (originalCount != count) { in checkItemCount()
132 currencyType, count, originalCount); in checkItemCount()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java734 int originalCount = 1024; in testSegmentPut_evict() local
736 for (int i = 0; i < originalCount; i++) { in testSegmentPut_evict()
842 int originalCount = 1024; in testExpand() local
844 for (int i = 0; i < originalCount; i++) { in testExpand()
854 segment.count = originalCount; in testExpand()
856 assertEquals(originalCount, originalMap.size()); in testExpand()
859 for (int i = 1; i <= originalCount * 2; i *= 2) { in testExpand()
864 assertEquals(originalCount, countLiveEntries(map)); in testExpand()
865 assertEquals(originalCount, segment.count); in testExpand()
975 int originalCount = 1024; in testExpand_cleanup() local
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/
DMultisetRemoveTester.java62 int originalCount = getMultiset().count(samples.e0); in testRemoveZeroNoOp() local
63 assertEquals("old count", originalCount, getMultiset().remove(samples.e0, 0)); in testRemoveZeroNoOp()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java1250 int originalCount = 1024; in testSegmentPut_evict() local
1252 for (int i = 0; i < originalCount; i++) { in testSegmentPut_evict()
1436 int originalCount = 1024; in testExpand() local
1438 for (int i = 0; i < originalCount; i++) { in testExpand()
1448 segment.count = originalCount; in testExpand()
1450 assertEquals(originalCount, originalMap.size()); in testExpand()
1453 for (int i = 1; i <= originalCount * 2; i *= 2) { in testExpand()
1458 assertEquals(originalCount, countLiveEntries(map, 0)); in testExpand()
1459 assertEquals(originalCount, segment.count); in testExpand()
1611 int originalCount = 1024; in testExpand_cleanup() local
[all …]
/external/tpm2/
DNV.c1827 UINT32 originalCount; in InsertSort() local
1838 originalCount = handleList->count; in InsertSort()
1839 if(originalCount < count) in InsertSort()
1842 for(i = 0; i < originalCount; i++) in InsertSort()
1854 if(i < originalCount || handleList->count > originalCount) in InsertSort()