Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 1363) sorted by relevance

12345678910>>...55

/external/libchrome/base/
Dobserver_list_unittest.cc30 explicit Adder(int scaler) : total(0), scaler_(scaler) {} in Adder()
33 void Observe(int x) override { total += x * scaler_; } in Observe()
34 int GetValue() const override { return total; } in GetValue()
36 int total; member in base::__anon72f83c520111::Adder
217 EXPECT_EQ(20, a.total); in TEST()
218 EXPECT_EQ(-20, b.total); in TEST()
219 EXPECT_EQ(0, c.total); in TEST()
220 EXPECT_EQ(-10, d.total); in TEST()
221 EXPECT_EQ(0, e.total); in TEST()
242 EXPECT_EQ(20, a.total); in TEST()
[all …]
Dcallback_list_unittest.cc25 int total() const { return total_; } in total() function in base::__anon87d363170111::Listener
45 int total() const { return total_; } in total() function in base::__anon87d363170111::Remover
71 int total() const { return total_; } in total() function in base::__anon87d363170111::Adder
180 EXPECT_EQ(1, a.total()); in TEST()
181 EXPECT_EQ(1, b.total()); in TEST()
190 EXPECT_EQ(2, a.total()); in TEST()
191 EXPECT_EQ(1, b.total()); in TEST()
192 EXPECT_EQ(1, c.total()); in TEST()
215 EXPECT_EQ(10, a.total()); in TEST()
216 EXPECT_EQ(-10, b.total()); in TEST()
[all …]
/external/tensorflow/tensorflow/core/profiler/g3doc/
Dadvise.md43 top 1 operation type: SoftmaxCrossEntropyWithLogits, cpu: 1.37sec, accelerator: 0us, total: 1.37sec…
44 top 2 operation type: MatMul, cpu: 427.39ms, accelerator: 280.76ms, total: 708.14ms (13.83%)
45 top 3 operation type: ConcatV2, cpu: 357.83ms, accelerator: 31.80ms, total: 389.63ms (7.61%)
46 …n_model.py:360:build_graph:self._add_seq2seq(), cpu: 3.16sec, accelerator: 214.84ms, total: 3.37sec
47 …n_model.py:293:_add_seq2seq:decoder_outputs, ..., cpu: 2.46sec, accelerator: 3.25ms, total: 2.47sec
48 …py:181:sampled_sequence_...:average_across_ti..., cpu: 2.46sec, accelerator: 3.24ms, total: 2.47sec
49 …py:147:sequence_loss_by_...:crossent = loss_f..., cpu: 2.46sec, accelerator: 3.06ms, total: 2.46sec
50 …odel.py:289:sampled_loss_func:num_classes=vsize), cpu: 2.46sec, accelerator: 3.06ms, total: 2.46sec
51 …ion_model.py:282:sampled_loss_func:labels = tf.resha..., cpu: 164us, accelerator: 0us, total: 164us
52 …ib.py:148:sequence_loss_by_...:log_perp_list.app..., cpu: 1.33ms, accelerator: 120us, total: 1.45ms
[all …]
/external/compiler-rt/test/asan/TestCases/
Dcoverage-caller-callee-total-count.cc27 uintptr_t total = __sanitizer_get_total_unique_caller_callee_pairs(); in main() local
29 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total); in main()
31 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total); in main()
33 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total); in main()
37 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total); in main()
39 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total); in main()
41 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total); in main()
/external/tensorflow/tensorflow/core/util/
Dwork_sharder.cc23 void Shard(int max_parallelism, thread::ThreadPool* workers, int64 total, in Shard() argument
25 CHECK_GE(total, 0); in Shard()
26 if (total == 0) { in Shard()
31 work(0, total); in Shard()
35 workers->ParallelFor(total, cost_per_unit, work); in Shard()
48 total * cost_per_unit / kMinCostPerShard)); in Shard()
56 const int64 block_size = (total + num_shards - 1) / num_shards; in Shard()
58 if (block_size >= total) { in Shard()
59 work(0, total); in Shard()
62 const int num_shards_used = (total + block_size - 1) / block_size; in Shard()
[all …]
Dwork_sharder_test.cc30 void RunSharding(int64 num_workers, int64 total, int64 cost_per_unit, in RunSharding() argument
35 std::vector<bool> work(total, false); in RunSharding()
36 Shard(num_workers, threads, total, cost_per_unit, in RunSharding()
40 EXPECT_LE(limit, total); in RunSharding()
49 EXPECT_EQ(num_done_work, total); in RunSharding()
50 LOG(INFO) << num_workers << " " << total << " " << cost_per_unit << " " in RunSharding()
57 for (auto total : {0, 1, 7, 10, 64, 100, 256, 1000, 9999}) { in TEST()
59 RunSharding(workers, total, cost_per_unit, &threads); in TEST()
81 const int64 total = 1LL << 30; in BM_Sharding() local
85 Shard(arg - 1, &threads, total, 1, work); in BM_Sharding()
/external/squashfs-tools/squashfs-tools/
Dread_file.c59 int total = 0; in read_file() local
64 if(total + (MAX_LINE + 1) > size) { in read_file()
70 err = fgets(line + total, MAX_LINE + 1, fd); in read_file()
74 len = strlen(line + total); in read_file()
75 total += len; in read_file()
77 if(len == MAX_LINE && line[total - 1] != '\n') { in read_file()
89 if(len && line[total - 1] == '\n') { in read_file()
90 line[-- total] = '\0'; in read_file()
100 if(len == 0 || line[total - 1] != '\\' || (len >= 2 && in read_file()
101 strcmp(line + total - 2, "\\\\") == 0)) in read_file()
[all …]
/external/autotest/server/cros/res_resource_monitor/
Dtop_test_data.txt2 Tasks: 368 total, 1 running, 367 sleeping, 0 stopped, 0 zombie
4 KiB Mem : 24508128 total, 23433516 free, 499784 used, 574828 buff/cache
5 KiB Swap: 1023996 total, 1023996 free, 0 used. 23565096 avail Mem
19 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
21 KiB Mem : 24508128 total, 23433372 free, 502088 used, 572668 buff/cache
22 KiB Swap: 1023996 total, 1023996 free, 0 used. 23562220 avail Mem
32 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
34 KiB Mem: 24508128 total,23433372 free,502088 used,572668 buff/cache
35 KiB Swap: 1023996 total , 1023996 free 0 used. 23562220 avail Mem
38 Tasks: 363 total, 1 running, 362 sleeping, 0 stopped, 0 zombie
[all …]
Dtop_field_order_changed.txt2 Tasks: 368 total, 1 running, 367 sleeping, 0 stopped, 0 zombie
4 KiB Mem : 24508128 free, 23433516 total, 499784 used, 574828 buff/cache
5 KiB Swap: 123 randfield, 1023996 used, 245 randfield2, 1023996 total, 0 free. 23565096 avai…
12 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
14 KiB Mem : 24508128 total, 23433372 free, 502088 used, 572668 buff/cache
15 KiB Swap: 1023996 total, 1023996 free, 0 used. 23562220 avail Mem
23 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
25 KiB Mem: 24508128 free,-1 used,502088 total,572668 buff/cache
26 KiB Swap: 1023996 total , 1023996 free 0 used. 23562220 avail Mem
Dtop_whitespace_ridden.txt2 Tasks: 368 total, 1 running, 367 sleeping, 0 stopped, 0 zombie
4 …KiB Mem : 24508128 total , 23433516 free , 499784 use…
5 KiB Swap : 1023996 total , 1023996 free, 0 used. 23565096 avail Mem
19 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
21 KiB Mem : 24508128 total , 23433372 free , 502088 used , 572668 buff/cache
22 KiB Swap: 1023996 total, 1023996 free, 0 used. 23562220 avail Mem
65 Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
67 KiB Mem : 24508128 total , 23433372 free , 502088 used , 572668 buff/cache
68 KiB Swap: 1023996 total, 1023996 free, 0 used. 23562220 avail Mem
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DNanoTimeGranularityTester.java36 long total = 0L; in testNanoTimeGranularity() local
47 total += second - first; in testNanoTimeGranularity()
48 total += third - second; in testNanoTimeGranularity()
49 total += fourth - third; in testNanoTimeGranularity()
50 total += fifth - fourth; in testNanoTimeGranularity()
51 total += sixth - fifth; in testNanoTimeGranularity()
52 total += seventh - sixth; in testNanoTimeGranularity()
53 total += eighth - seventh; in testNanoTimeGranularity()
54 total += ninth - eighth; in testNanoTimeGranularity()
56 return ShortDuration.of(LongMath.divide(total, TRIALS * 8, CEILING), NANOSECONDS); in testNanoTimeGranularity()
/external/shflags/test_results/1.0.1/
DLinux-Ubuntu_Hardy-8.04.txt37 tests total: 65 100%
61 tests total: 179 100%
79 tests total: 50 100%
95 tests total: 9 100%
122 tests total: 65 100%
146 tests total: 179 100%
164 tests total: 50 100%
180 tests total: 9 100%
204 tests total: 65 100%
228 tests total: 179 100%
[all …]
DLinux-Ubuntu_Dapper-6.06.txt37 tests total: 65 100%
61 tests total: 179 100%
79 tests total: 50 100%
95 tests total: 9 100%
122 tests total: 65 100%
146 tests total: 179 100%
164 tests total: 50 100%
180 tests total: 9 100%
206 tests total: 65 100%
230 tests total: 179 100%
[all …]
/external/tensorflow/tensorflow/core/profiler/
DREADME.md142 node name | requested bytes | total execution time | accelerator execution time | cpu execution tim…
174 top 1 operation type: SoftmaxCrossEntropyWithLogits, cpu: 1.37sec, accelerator: 0us, total: 1.37sec…
175 top 2 operation type: MatMul, cpu: 427.39ms, accelerator: 280.76ms, total: 708.14ms (13.83%)
176 top 3 operation type: ConcatV2, cpu: 357.83ms, accelerator: 31.80ms, total: 389.63ms (7.61%)
177 …ce_loss_by_example/SoftmaxCrossEntropyWithLogits_11, cpu: 89.92ms, accelerator: 0us, total: 89.92ms
178 …n_step/update_seq2seq/output_projection/w/ApplyAdam, cpu: 84.52ms, accelerator: 0us, total: 84.52ms
179 …ce_loss_by_example/SoftmaxCrossEntropyWithLogits_19, cpu: 73.02ms, accelerator: 0us, total: 73.02ms
180 …n_model.py:360:build_graph:self._add_seq2seq(), cpu: 3.16sec, accelerator: 214.84ms, total: 3.37sec
181 …n_model.py:293:_add_seq2seq:decoder_outputs, ..., cpu: 2.46sec, accelerator: 3.25ms, total: 2.47sec
182 …py:181:sampled_sequence_...:average_across_ti..., cpu: 2.46sec, accelerator: 3.24ms, total: 2.47sec
[all …]
/external/oauth/core/src/main/java/net/oauth/client/
DExcerptInputStream.java22 int total = 0; in ExcerptInputStream() local
24 while ((read = read(excerpt, total, LIMIT - total)) != -1 && ((total += read) < LIMIT)); in ExcerptInputStream()
25 if (total == LIMIT) { in ExcerptInputStream()
27 System.arraycopy(ELLIPSIS, 0, excerpt, total, ELLIPSIS.length); in ExcerptInputStream()
29 byte[] tmp = new byte[total]; in ExcerptInputStream()
30 System.arraycopy(excerpt, 0, tmp, 0, total); in ExcerptInputStream()
/external/doclava/src/com/google/doclava/
DTodoFile.java59 public int total; field in TodoFile.PackageStats
86 int total = 1; in writeTodoFile() local
96 total++; in writeTodoFile()
110 total++; in writeTodoFile()
125 total++; in writeTodoFile()
139 total++; in writeTodoFile()
154 data.setValue(classBase + ".totalCount", "" + total); in writeTodoFile()
155 data.setValue(classBase + ".percentGood", percent(errors, total)); in writeTodoFile()
166 ps.total += total; in writeTodoFile()
179 data.setValue("packages." + i + ".totalCount", "" + ps.total); in writeTodoFile()
[all …]
/external/python/cpython2/Tools/scripts/
Ddutree.py8 total, d = None, {}
18 total, d = store(size, comps, total, d)
20 display(total, d)
25 def store(size, comps, total, d): argument
32 return total, d
34 def display(total, d): argument
35 show(total, d, '')
37 def show(total, d, prefix): argument
/external/python/cpython3/Tools/scripts/
Ddutree.py8 total, d = None, {}
18 total, d = store(size, comps, total, d)
20 display(total, d)
25 def store(size, comps, total, d): argument
32 return total, d
34 def display(total, d): argument
35 show(total, d, '')
37 def show(total, d, prefix): argument
/external/kmod/shared/
Darray.c36 array->total = new_total; in array_realloc()
45 array->total = 0; in array_init()
53 if (array->count + 1 >= array->total) { in array_append()
54 int r = array_realloc(array, array->total + array->step); in array_append()
76 if (array->count + array->step < array->total) { in array_pop()
77 int r = array_realloc(array, array->total - array->step); in array_pop()
86 array->total = 0; in array_free_array()
105 if (array->count + array->step < array->total) { in array_remove_at()
106 int r = array_realloc(array, array->total - array->step); in array_remove_at()
/external/libchrome/base/trace_event/
Dmemory_dump_scheduler_unittest.cc42 bool ShouldTriggerDump(uint64_t total) { in ShouldTriggerDump() argument
43 return mds_->ShouldTriggerDump(total); in ShouldTriggerDump()
53 uint64_t total = (2 + (i / (2 * num_samples_tracked_))) * 1024 * 1204; in TEST_F() local
54 bool did_trigger = ShouldTriggerDump(total); in TEST_F()
71 uint64_t total = static_cast<uint64_t>(i + 1) * 1024 * 1024 * 1024; in TEST_F() local
72 bool did_trigger = ShouldTriggerDump(total); in TEST_F()
84 uint64_t total = (2 + (i / (2 * num_samples_tracked_))) * 1024 * 1204; in TEST_F() local
87 bool did_trigger = ShouldTriggerDump(total); in TEST_F()
94 total - mds_->polling_state_->last_dump_memory_total), in TEST_F()
/external/python/cpython2/Lib/
Dfpformat.py72 total = intpart + fraction
73 nextdigit = total[i+digs]
77 if total[n] != '9': break
80 total = '0' + total
83 total = total[:n] + chr(ord(total[n]) + 1) + '0'*(len(total)-n-1)
84 intpart, fraction = total[:i], total[i:]
/external/valgrind/none/tests/s390x/
Decag.stdout.exp-z134 L1 total cachesize data: 131072
5 L1 total cachesize insn: 98304
11 L2 total cachesize data: 2097152
12 L2 total cachesize insn: 2097152
18 L3 total cachesize data: 67108864
19 L3 total cachesize insn: 67108864
25 L4 total cachesize data: 503316480
26 L4 total cachesize insn: 503316480
Decag.stdout.exp-z1964 L1 total cachesize data: 131072
5 L1 total cachesize insn: 65536
11 L2 total cachesize data: 1572864
12 L2 total cachesize insn: 1572864
18 L3 total cachesize data: 25165824
19 L3 total cachesize insn: 25165824
25 L4 total cachesize data: 201326592
26 L4 total cachesize insn: 201326592
Decag.stdout.exp-zec124 L1 total cachesize data: 98304
5 L1 total cachesize insn: 65536
11 L2 total cachesize data: 1048576
12 L2 total cachesize insn: 1048576
18 L3 total cachesize data: 50331648
19 L3 total cachesize insn: 50331648
25 L4 total cachesize data: 402653184
26 L4 total cachesize insn: 402653184
/external/toybox/toys/net/
Dftpget.c59 int i, total = 0; local
62 while (total<len && (i = xread(fd, buf, len-total))) {
63 total += i;
64 if (buf[total-1] == '\n') break;
66 if (total>=len) error_exit("overflow");
67 while (total--)
68 if (buf[total]=='\r' || buf[total]=='\n') buf[total] = 0;
72 return total+1;

12345678910>>...55