Home
last modified time | relevance | path

Searched refs:nums (Results 1 – 2 of 2) sorted by relevance

/system/bpf/libbpf_android/
DLoaderUtils.h38 int nums[3]; // maj, min, sub in getMachineKvers() local
54 nums[cur_num++] = stoi(token); in getMachineKvers()
63 nums[cur_num++] = stoi(token); in getMachineKvers()
69 return (65536 * nums[0] + 256 * nums[1] + nums[2]); in getMachineKvers()
/system/core/storaged/tests/
Dstoraged_test.cpp124 double mean(std::deque<uint32_t> nums) { in mean() argument
126 for (uint32_t i : nums) { in mean()
129 return sum / nums.size(); in mean()
132 double standard_deviation(std::deque<uint32_t> nums) { in standard_deviation() argument
134 double avg = mean(nums); in standard_deviation()
135 for (uint32_t i : nums) { in standard_deviation()
138 return sqrt(sum / nums.size()); in standard_deviation()