Home
last modified time | relevance | path

Searched refs:occurrences (Results 1 – 25 of 224) sorted by relevance

123456789

/external/llvm-project/lld/test/COFF/
Dpdb-globals-dia-func-collision3.test42 CHECK: [1 occurrences] - LuU
44 CHECK-NEXT: [1 occurrences] - oet
46 CHECK-NEXT: [1 occurrences] - OUV
48 CHECK-NEXT: [1 occurrences] - pui
50 CHECK-NEXT: [1 occurrences] - quH
52 CHECK-NEXT: [1 occurrences] - sEH
54 CHECK-NEXT: [1 occurrences] - teO
56 CHECK-NEXT: [1 occurrences] - tEo
58 CHECK-NEXT: [1 occurrences] - tuM
60 CHECK-NEXT: [1 occurrences] - VUo
[all …]
/external/guava/android/guava-tests/benchmark/com/google/common/collect/
DConcurrentHashMultisetBenchmark.java260 public int add(E element, int occurrences) {
261 if (occurrences == 0) {
264 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences);
269 if (countMap.putIfAbsent(element, occurrences) == null) {
274 occurrences <= Integer.MAX_VALUE - current,
276 occurrences,
278 int next = current + occurrences;
298 public int remove(@NullableDecl Object element, int occurrences) {
299 if (occurrences == 0) {
302 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences);
[all …]
/external/guava/guava-tests/benchmark/com/google/common/collect/
DConcurrentHashMultisetBenchmark.java260 public int add(E element, int occurrences) {
261 if (occurrences == 0) {
264 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences);
269 if (countMap.putIfAbsent(element, occurrences) == null) {
274 occurrences <= Integer.MAX_VALUE - current,
276 occurrences,
278 int next = current + occurrences;
298 public int remove(@Nullable Object element, int occurrences) {
299 if (occurrences == 0) {
302 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences);
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DAbstractMapBasedMultiset.java72 public final int add(@NullableDecl E element, int occurrences) { in add() argument
73 if (occurrences == 0) { in add()
76 checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences); in add()
79 backingMap.put(element, occurrences); in add()
80 size += occurrences; in add()
84 long newCount = (long) oldCount + (long) occurrences; in add()
87 size += occurrences; in add()
93 public final int remove(@NullableDecl Object element, int occurrences) { in remove() argument
94 if (occurrences == 0) { in remove()
97 checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences); in remove()
[all …]
DConcurrentHashMultiset.java203 public int add(E element, int occurrences) { in add() argument
205 if (occurrences == 0) { in add()
208 CollectPreconditions.checkPositive(occurrences, "occurences"); in add()
213 existingCounter = countMap.putIfAbsent(element, new AtomicInteger(occurrences)); in add()
224 int newValue = IntMath.checkedAdd(oldValue, occurrences); in add()
231 "Overflow adding " + occurrences + " occurrences to a count of " + oldValue); in add()
237 AtomicInteger newCounter = new AtomicInteger(occurrences); in add()
270 public int remove(@NullableDecl Object element, int occurrences) { in remove() argument
271 if (occurrences == 0) { in remove()
274 CollectPreconditions.checkPositive(occurrences, "occurences"); in remove()
[all …]
DEnumMultiset.java138 public int add(E element, int occurrences) { in add() argument
140 checkNonnegative(occurrences, "occurrences"); in add()
141 if (occurrences == 0) { in add()
146 long newCount = (long) oldCount + occurrences; in add()
152 size += occurrences; in add()
159 public int remove(@NullableDecl Object element, int occurrences) { in remove() argument
164 checkNonnegative(occurrences, "occurrences"); in remove()
165 if (occurrences == 0) { in remove()
172 } else if (oldCount <= occurrences) { in remove()
177 counts[index] = oldCount - occurrences; in remove()
[all …]
DForwardingMultiset.java66 public int add(E element, int occurrences) { in add() argument
67 return delegate().add(element, occurrences); in add()
72 public int remove(Object element, int occurrences) { in remove() argument
73 return delegate().remove(element, occurrences); in remove()
/external/guava/guava/src/com/google/common/collect/
DAbstractMapBasedMultiset.java250 public int add(@Nullable E element, int occurrences) {
251 if (occurrences == 0) {
254 checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
259 backingMap.put(element, new Count(occurrences));
262 long newCount = (long) oldCount + (long) occurrences;
264 frequency.add(occurrences);
266 size += occurrences;
272 public int remove(@Nullable Object element, int occurrences) {
273 if (occurrences == 0) {
276 checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
[all …]
DConcurrentHashMultiset.java203 public int add(E element, int occurrences) { in add() argument
205 if (occurrences == 0) { in add()
208 CollectPreconditions.checkPositive(occurrences, "occurences"); in add()
213 existingCounter = countMap.putIfAbsent(element, new AtomicInteger(occurrences)); in add()
224 int newValue = IntMath.checkedAdd(oldValue, occurrences); in add()
231 "Overflow adding " + occurrences + " occurrences to a count of " + oldValue); in add()
237 AtomicInteger newCounter = new AtomicInteger(occurrences); in add()
270 public int remove(@Nullable Object element, int occurrences) { in remove() argument
271 if (occurrences == 0) { in remove()
274 CollectPreconditions.checkPositive(occurrences, "occurences"); in remove()
[all …]
DEnumMultiset.java139 public int add(E element, int occurrences) { in add() argument
141 checkNonnegative(occurrences, "occurrences"); in add()
142 if (occurrences == 0) { in add()
147 long newCount = (long) oldCount + occurrences; in add()
153 size += occurrences; in add()
160 public int remove(@Nullable Object element, int occurrences) { in remove() argument
165 checkNonnegative(occurrences, "occurrences"); in remove()
166 if (occurrences == 0) { in remove()
173 } else if (oldCount <= occurrences) { in remove()
178 counts[index] = oldCount - occurrences; in remove()
[all …]
DForwardingMultiset.java66 public int add(E element, int occurrences) { in add() argument
67 return delegate().add(element, occurrences); in add()
72 public int remove(Object element, int occurrences) { in remove() argument
73 return delegate().remove(element, occurrences); in remove()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUTF16Test.java1039 int occurrences = 0; in TestIndexOf() local
1044 ++ occurrences; in TestIndexOf()
1048 if (occurrences != 6) { in TestIndexOf()
1050 + occurrences); in TestIndexOf()
1053 occurrences = 0; in TestIndexOf()
1058 ++ occurrences; in TestIndexOf()
1062 if (occurrences != 4) { in TestIndexOf()
1064 + occurrences); in TestIndexOf()
1067 occurrences = 0; in TestIndexOf()
1072 ++ occurrences; in TestIndexOf()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUTF16Test.java1036 int occurrences = 0; in TestIndexOf() local
1041 ++ occurrences; in TestIndexOf()
1045 if (occurrences != 6) { in TestIndexOf()
1047 + occurrences); in TestIndexOf()
1050 occurrences = 0; in TestIndexOf()
1055 ++ occurrences; in TestIndexOf()
1059 if (occurrences != 4) { in TestIndexOf()
1061 + occurrences); in TestIndexOf()
1064 occurrences = 0; in TestIndexOf()
1069 ++ occurrences; in TestIndexOf()
[all …]
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp719 uint16_t occurrences = 0; in TestSearching() local
723 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
725 if (occurrences != 6) in TestSearching()
726 … errln(UnicodeString("indexOf failed: expected to find 6 occurrences, found ") + occurrences); in TestSearching()
728 for ( occurrences = 0, startPos = 10; in TestSearching()
730 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
732 if (occurrences != 4) in TestSearching()
734 "expected to find 4 occurrences, found ") + occurrences); in TestSearching()
737 for ( occurrences = 0, startPos = 5; in TestSearching()
739 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching()
[all …]
/external/tensorflow/tensorflow/core/profiler/utils/
Dop_utils.cc52 op_metrics->set_occurrences(op_metrics->occurrences() + 1); in EnterOp()
69 absl::string_view provenance, bool is_eager, uint64 occurrences, in EnterOp() argument
82 op_metrics->set_occurrences(op_metrics->occurrences() + occurrences); in EnterOp()
85 op_metrics->set_flops(op_metrics->flops() + flops * occurrences); in EnterOp()
87 bytes_accessed * occurrences); in EnterOp()
/external/guava/android/guava-tests/test/com/google/common/collect/
DSimpleAbstractMultisetTest.java73 public int add(String element, int occurrences) { in testFastAddAllMultiset()
75 return super.add(element, occurrences); in testFastAddAllMultiset()
119 public int add(@NullableDecl E element, int occurrences) { in add() argument
120 checkArgument(occurrences >= 0); in add()
125 if (occurrences == 0) { in add()
128 checkArgument(occurrences <= Integer.MAX_VALUE - frequency); in add()
129 backingMap.put(element, frequency + occurrences); in add()
/external/guava/guava-tests/test/com/google/common/collect/
DSimpleAbstractMultisetTest.java73 public int add(String element, int occurrences) { in testFastAddAllMultiset()
75 return super.add(element, occurrences); in testFastAddAllMultiset()
119 public int add(@Nullable E element, int occurrences) { in add() argument
120 checkArgument(occurrences >= 0); in add()
125 if (occurrences == 0) { in add()
128 checkArgument(occurrences <= Integer.MAX_VALUE - frequency); in add()
129 backingMap.put(element, frequency + occurrences); in add()
/external/python/dateutil/docs/
Drrule.rst45 Daily, for 10 occurrences.
79 Every other day, 5 occurrences.
92 Every 10 days, 5 occurrences.
141 Weekly for 10 occurrences.
159 Every other week, 6 occurrences.
191 Every other week on Tuesday and Thursday, for 8 occurrences.
208 Monthly on the 1st Friday for ten occurrences.
226 Every other month on the 1st and last Sunday of the month for 10 occurrences.
275 Monthly on the 2nd and 15th of the month for 5 occurrences.
289 Monthly on the first and last day of the month for 3 occurrences.
[all …]
Dexamples.rst236 Daily, for 10 occurrences.
270 Every other day, 5 occurrences.
283 Every 10 days, 5 occurrences.
332 Weekly for 10 occurrences.
350 Every other week, 6 occurrences.
382 Every other week on Tuesday and Thursday, for 8 occurrences.
399 Monthly on the 1st Friday for ten occurrences.
417 Every other month on the 1st and last Sunday of the month for 10 occurrences.
466 Monthly on the 2nd and 15th of the month for 5 occurrences.
480 Monthly on the first and last day of the month for 3 occurrences.
[all …]
/external/tensorflow/tensorflow/python/keras/utils/
Dmulti_gpu_utils.py242 occurrences = {}
244 if n not in occurrences:
245 occurrences[n] = 1
247 occurrences[n] += 1
248 conflict_counter = {n: 0 for n, count in occurrences.items() if count > 1}
/external/e2fsprogs/po/
Dinsert-header.sin5 # occurrences, do nothing. The distinction between the first and the following
6 # occurrences is achieved by looking at the hold space.
20 # The hold space was nonempty. Following occurrences. Do nothing.
Dremove-potcdate.sin4 # The distinction between the first and the following occurrences of the
16 # The hold space was nonempty. Following occurrences. Do nothing.
/external/libexif/po/
Dinsert-header.sin5 # occurrences, do nothing. The distinction between the first and the following
6 # occurrences is achieved by looking at the hold space.
20 # The hold space was nonempty. Following occurrences. Do nothing.
/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_op_metrics_db_test.cc85 EXPECT_EQ(2, op_1.occurrences()); in TEST()
96 EXPECT_EQ(1, op_2.occurrences()); in TEST()
152 EXPECT_EQ(2, op_1.occurrences()); in TEST()
158 EXPECT_EQ(2, op_2.occurrences()); in TEST()
164 EXPECT_EQ(1, op_3.occurrences()); in TEST()
Dop_metrics_to_record.h33 record->set_occurrences(metrics.occurrences()); in SetExecutionTimes()
36 SafeDivide(record->total_time_in_us(), metrics.occurrences())); in SetExecutionTimes()
39 SafeDivide(record->total_self_time_in_us(), metrics.occurrences())); in SetExecutionTimes()

123456789