Home
last modified time | relevance | path

Searched refs:weightSum (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DStressTestClient.cs214 readonly int weightSum; field in Grpc.IntegrationTesting.StressTestClient.WeightedRandomGenerator
219 weightSum = 0; in WeightedRandomGenerator()
222 weightSum += entry.Value; in WeightedRandomGenerator()
223 cumulativeSums.Add(Tuple.Create(weightSum, entry.Key)); in WeightedRandomGenerator()
229 int rand = random.Next(weightSum); in GetNext()
/external/deqp/framework/delibs/decpp/
DdeRandom.hpp138 float weightSum = 0.0f; in chooseWeighted() local
141 weightSum += *(weight + ndx); in chooseWeighted()
144 float p = getFloat(0.0f, weightSum); in chooseWeighted()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2902 int weightSum = 0; in ParseConstraints() local
2920 weightSum = -1; // Can't match. in ParseConstraints()
2927 weightSum = -1; in ParseConstraints()
2930 weightSum += weight; in ParseConstraints()
2933 if (weightSum > bestWeight) { in ParseConstraints()
2934 bestWeight = weightSum; in ParseConstraints()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2512 int weightSum = 0; in ParseConstraints() local
2530 weightSum = -1; // Can't match. in ParseConstraints()
2537 weightSum = -1; in ParseConstraints()
2540 weightSum += weight; in ParseConstraints()
2543 if (weightSum > bestWeight) { in ParseConstraints()
2544 bestWeight = weightSum; in ParseConstraints()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3147 int weightSum = 0; in ParseConstraints() local
3165 weightSum = -1; // Can't match. in ParseConstraints()
3172 weightSum = -1; in ParseConstraints()
3175 weightSum += weight; in ParseConstraints()
3178 if (weightSum > bestWeight) { in ParseConstraints()
3179 bestWeight = weightSum; in ParseConstraints()