HomeSort by relevance Sort by last modified time
    Searched refs:total (Results 1 - 25 of 2504) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/compiler-rt/test/asan/TestCases/
coverage-caller-callee-total-count.cc 27 uintptr_t total = __sanitizer_get_total_unique_caller_callee_pairs(); local
29 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total);
31 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total);
33 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total);
37 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total);
39 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total)
    [all...]
  /external/mesa3d/src/compiler/glsl/tests/
warnings-test 6 total=0
13 total=$((total+1))
24 echo "$pass/$total tests returned correct results"
27 if [[ $pass == $total ]]; then
optimization-test 9 total=0
24 total=$((total+1))
35 echo "$pass/$total tests returned correct results"
38 if [[ $pass == $total ]]; then
  /system/core/liblog/
uio.c 26 int total = 0; local
35 if (total == 0) total = -1;
40 total += ret;
46 return total;
50 int total = 0; local
59 if (total == 0) total = -1;
64 total += ret;
70 return total;
    [all...]
  /external/guava/guava-tests/benchmark/com/google/common/base/
StopwatchBenchmark.java 33 long total = 0; local
37 total += s.elapsed(TimeUnit.NANOSECONDS);
39 return total;
43 long total = 0; local
47 total += (System.nanoTime() - start);
49 return total;
  /external/squashfs-tools/squashfs-tools/
read_file.c 59 int total = 0; local
64 if(total + (MAX_LINE + 1) > size) {
70 err = fgets(line + total, MAX_LINE + 1, fd);
74 len = strlen(line + total);
75 total += len;
77 if(len == MAX_LINE && line[total - 1] != '\n') {
89 if(len && line[total - 1] == '\n') {
90 line[-- total] = '\0';
100 if(len == 0 || line[total - 1] != '\\' || (len >= 2 &&
101 strcmp(line + total - 2, "\\\\") == 0)
    [all...]
  /external/tensorflow/tensorflow/core/util/
work_sharder.cc 23 void Shard(int max_parallelism, thread::ThreadPool* workers, int64 total,
25 CHECK_GE(total, 0);
26 if (total == 0) {
31 work(0, total);
35 workers->ParallelFor(total, cost_per_unit, work);
39 // We shard [0, total) into "num_shards" shards.
42 // If total * cost_per_unit is small, it is not worth shard too
48 total * cost_per_unit / kMinCostPerShard));
50 // Each shard contains up to "block_size" units. [0, total) is sharded
56 const int64 block_size = (total + num_shards - 1) / num_shards
    [all...]
work_sharder_test.cc 30 void RunSharding(int64 num_workers, int64 total, int64 cost_per_unit,
35 std::vector<bool> work(total, false);
36 Shard(num_workers, threads, total, cost_per_unit,
40 EXPECT_LE(limit, total);
49 EXPECT_EQ(num_done_work, total);
50 LOG(INFO) << num_workers << " " << total << " " << cost_per_unit << " "
57 for (auto total : {0, 1, 7, 10, 64, 100, 256, 1000, 9999}) {
59 RunSharding(workers, total, cost_per_unit, &threads);
81 const int64 total = 1LL << 30; local
85 Shard(arg - 1, &threads, total, 1, work)
    [all...]
  /external/oauth/core/src/main/java/net/oauth/client/
ExcerptInputStream.java 22 int total = 0; local
24 while ((read = read(excerpt, total, LIMIT - total)) != -1 && ((total += read) < LIMIT));
25 if (total == LIMIT) {
27 System.arraycopy(ELLIPSIS, 0, excerpt, total, ELLIPSIS.length);
29 byte[] tmp = new byte[total];
30 System.arraycopy(excerpt, 0, tmp, 0, total);
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
StorageDeviceInfo.java 36 int total = 0; local
37 total = Math.max(total, getContext().getExternalCacheDirs().length);
38 total = Math.max(total, getContext().getExternalFilesDirs(null).length);
39 total = Math.max(
40 total, getContext().getExternalFilesDirs(Environment.DIRECTORY_PICTURES).length);
41 total = Math.max(total, getContext().getObbDirs().length);
46 if (total == 1)
    [all...]
  /toolchain/binutils/binutils-2.27/gold/testsuite/
incr_comdat_test_2_v1.cc 34 static int total = 0; local
35 total += k;
36 return total;
incr_comdat_test_2_v2.cc 34 static int total = 0; local
35 total += k;
36 return total;
incr_comdat_test_2_v3.cc 34 static int total = 0; local
35 total += k;
36 return total;
incr_comdat_test_1.cc 43 static int total = 0; local
44 total += k;
45 return total;
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
NanoTimeGranularityTester.java 36 long total = 0L; local
47 total += second - first;
48 total += third - second;
49 total += fourth - third;
50 total += fifth - fourth;
51 total += sixth - fifth;
52 total += seventh - sixth;
53 total += eighth - seventh;
54 total += ninth - eighth;
56 return ShortDuration.of(LongMath.divide(total, TRIALS * 8, CEILING), NANOSECONDS)
    [all...]
  /frameworks/support/room/runtime/src/main/java/androidx/room/
EntityDeletionOrUpdateAdapter.java 85 int total = 0; local
88 total += stmt.executeUpdateDelete();
90 return total;
105 int total = 0; local
108 total += stmt.executeUpdateDelete();
110 return total;
  /libcore/ojluni/src/main/java/java/util/zip/
CheckedInputStream.java 97 long total = 0; local
98 while (total < n) {
99 long len = n - total;
102 return total;
104 total += len;
106 return total;
  /libcore/support/src/test/java/tests/support/
ThrowingReader.java 30 private int total = 0; field in class:ThrowingReader
41 total++;
49 if (total < throwAt) {
50 count = Math.min(count, (throwAt - total));
54 total += returned;
59 if (total == throwAt) {
  /art/test/478-checker-inline-noreturn/src/
Main.java 50 int total = 0; local
52 total += $opt$noinline$Function(x, max_y);
54 return total;
  /external/tensorflow/tensorflow/compiler/aot/
runtime.cc 65 size_t total = 0; local
68 total += align_to(sizes[i], kAlign);
71 return total;
76 const size_t total = aligned_buffer_bytes(sizes, n); local
78 if (total > 0) {
79 contiguous = aligned_malloc(total, kAlign);
83 TF_ANNOTATE_MEMORY_IS_INITIALIZED(contiguous, total);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
SeparatedFolderListAdapter.java 58 // total together all sections, plus one for each section header
59 int total = 0; local
61 total += adapter.getCount();
63 return total;
68 // assume that headers count as one, then total all sections
69 int total = 0; local
71 total += adapter.getViewTypeCount();
72 return total == 0 ? 1 : total;
  /external/libchrome/base/trace_event/
memory_dump_scheduler_unittest.cc 42 bool ShouldTriggerDump(uint64_t total) {
43 return mds_->ShouldTriggerDump(total);
53 uint64_t total = (2 + (i / (2 * num_samples_tracked_))) * 1024 * 1204; local
54 bool did_trigger = ShouldTriggerDump(total);
70 // system's total memory.
71 uint64_t total = static_cast<uint64_t>(i + 1) * 1024 * 1024 * 1024; local
72 bool did_trigger = ShouldTriggerDump(total);
84 uint64_t total = (2 + (i / (2 * num_samples_tracked_))) * 1024 * 1204; local
87 bool did_trigger = ShouldTriggerDump(total);
94 total - mds_->polling_state_->last_dump_memory_total)
    [all...]
  /art/test/478-checker-inliner-nested-loop/src/
Main.java 44 int total = 0; local
47 total += Inline(x, y);
50 return total;
  /external/compiler-rt/test/asan/TestCases/Posix/
mmap_limit_mb.cc 28 for (long total = total_mb << 20; total > 0; total -= allocation_size)
  /external/valgrind/exp-bbv/tests/amd64-linux/
million.S 3 # total is 2 + 1 + 499997*2 + 3
7 xor %rcx,%rcx # not needed, pads total to 1M
8 xor %rax,%rax # not needed, pads total to 1M

Completed in 2280 milliseconds

1 2 3 4 5 6 7 8 91011>>