Searched refs:sum (Results 1 – 9 of 9) sorted by relevance
47 float sum = 0; in RunAve() local49 sum += weights[i]; in RunAve()51 mWeightScale = 1 / sum; in RunAve()66 float sum = 0; in computeAve() local68 sum += mWeights[i] * mSamples[index]; in computeAve()74 return sum * mWeightScale; in computeAve()
29 int sum = Native.add(2, 3); in onCreate() local30 tv.setText("2 + 3 = " + Integer.toString(sum)); in onCreate()
59 bytes = sum(x[1] for x in chewed)81 print "%s\t%s" % (buckets.items()[x][0], sum(window) / len(window))
206 var sum int208 sum += getAttr(d)210 return sum
205 float sum = 0.0f; in adjustEventFactors() local207 sum += mFactors[i] / 100.0f; in adjustEventFactors()208 mFactors[i] = sum; in adjustEventFactors()
43 file_count = sum(f.startswith(p + os.path.sep) for f in input_files)
41 …"description": "The enum `Either` with variants `Left` and `Right` is a general purpose sum type w…
199 contributor - n. someone who contributes (or promises to contribute) a sum of money
6818 …"description": "The enum `Either` with variants `Left` and `Right` is a general purpose sum type w…