HomeSort by relevance Sort by last modified time
    Searched full:prob (Results 1 - 25 of 433) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/swiftshader/third_party/LLVM/unittests/Support/
BlockFrequencyTest.cpp 14 BranchProbability Prob(UINT32_MAX - 1, UINT32_MAX);
15 Freq *= Prob;
21 BranchProbability Prob(UINT32_MAX, UINT32_MAX);
22 Freq *= Prob;
28 BranchProbability Prob(3000000, 9000000);
29 Freq *= Prob;
35 BranchProbability Prob(UINT32_MAX / 2, UINT32_MAX);
36 Freq *= Prob;
44 BranchProbability Prob(P, P);
45 Freq *= Prob;
    [all...]
  /external/lzma/CS/7zip/Compress/RangeCoder/
RangeCoderBit.cs 13 uint Prob;
15 public void Init() { Prob = kBitModelTotal >> 1; }
20 Prob += (kBitModelTotal - Prob) >> kNumMoveBits;
22 Prob -= (Prob) >> kNumMoveBits;
27 // encoder.EncodeBit(Prob, kNumBitModelTotalBits, symbol);
29 uint newBound = (encoder.Range >> kNumBitModelTotalBits) * Prob;
33 Prob += (kBitModelTotal - Prob) >> kNumMoveBits;
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_cost.h 14 #include "vpx_dsp/prob.h"
26 #define vp9_cost_zero(prob) (vp9_prob_cost[prob])
28 #define vp9_cost_one(prob) vp9_cost_zero(256 - (prob))
30 #define vp9_cost_bit(prob, bit) vp9_cost_zero((bit) ? 256 - (prob) : (prob))
  /external/llvm/unittests/Support/
BlockFrequencyTest.cpp 22 BranchProbability Prob(UINT32_MAX / 3, UINT32_MAX);
23 Freq *= Prob;
27 Freq *= Prob;
33 BranchProbability Prob(UINT32_MAX, UINT32_MAX);
34 Freq *= Prob;
38 Freq *= Prob;
44 BranchProbability Prob(3000000, 9000000);
45 Freq *= Prob;
49 Freq *= Prob;
55 BranchProbability Prob(UINT32_MAX / 2, UINT32_MAX)
    [all...]
  /external/iproute2/tc/
tc_red.h 4 extern int tc_red_eval_P(unsigned qmin, unsigned qmax, double prob);
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
eval.pass.cpp 38 std::vector<double> prob = d.probabilities(); local
40 assert((double)u[i]/N == prob[i]);
56 std::vector<double> prob = d.probabilities(); local
58 assert((double)u[i]/N == prob[i]);
74 std::vector<double> prob = d.probabilities(); local
76 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
92 std::vector<double> prob = d.probabilities();
93 assert((double)u[0]/N == prob[0]);
94 assert((double)u[1]/N == prob[1])
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
eval.pass.cpp 38 std::vector<double> prob = d.probabilities(); local
40 assert((double)u[i]/N == prob[i]);
56 std::vector<double> prob = d.probabilities(); local
58 assert((double)u[i]/N == prob[i]);
74 std::vector<double> prob = d.probabilities(); local
76 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
92 std::vector<double> prob = d.probabilities();
93 assert((double)u[0]/N == prob[0]);
94 assert((double)u[1]/N == prob[1])
    [all...]
  /prebuilts/go/darwin-x86/test/bench/go1/
fasta_test.go 30 {prob: 0.27, sym: 'a'},
31 {prob: 0.12, sym: 'c'},
32 {prob: 0.12, sym: 'g'},
33 {prob: 0.27, sym: 't'},
34 {prob: 0.02, sym: 'B'},
35 {prob: 0.02, sym: 'D'},
36 {prob: 0.02, sym: 'H'},
37 {prob: 0.02, sym: 'K'},
38 {prob: 0.02, sym: 'M'},
39 {prob: 0.02, sym: 'N'}
    [all...]
  /prebuilts/go/linux-x86/test/bench/go1/
fasta_test.go 30 {prob: 0.27, sym: 'a'},
31 {prob: 0.12, sym: 'c'},
32 {prob: 0.12, sym: 'g'},
33 {prob: 0.27, sym: 't'},
34 {prob: 0.02, sym: 'B'},
35 {prob: 0.02, sym: 'D'},
36 {prob: 0.02, sym: 'H'},
37 {prob: 0.02, sym: 'K'},
38 {prob: 0.02, sym: 'M'},
39 {prob: 0.02, sym: 'N'}
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
LzmaDec.c 49 #define NORMAL_LITER_DEC GET_BIT(prob + symbol, symbol)
53 probLit = prob + offs + bit + symbol; \
164 CLzmaProb *prob; local
169 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;
170 IF_BIT_0(prob)
173 UPDATE_0(prob);
174 prob = probs + Literal;
176 prob += ((UInt32)LZMA_LIT_SIZE * (((processedPos & lpMask) << lc) +
232 UPDATE_1(prob);
233 prob = probs + IsRep + state;
588 const CLzmaProb *prob; local
600 prob = probs + Literal; local
    [all...]
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
LzmaDec.c 51 #define NORMAL_LITER_DEC GET_BIT(prob + symbol, symbol)
55 probLit = prob + offs + bit + symbol; \
166 CLzmaProb *prob; local
171 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;
172 IF_BIT_0(prob)
175 UPDATE_0(prob);
176 prob = probs + Literal;
178 prob += ((UInt32)LZMA_LIT_SIZE * (((processedPos & lpMask) << lc) +
234 UPDATE_1(prob);
235 prob = probs + IsRep + state;
590 const CLzmaProb *prob; local
602 prob = probs + Literal; local
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
LzmaDec.c 51 #define NORMAL_LITER_DEC GET_BIT(prob + symbol, symbol)
55 probLit = prob + offs + bit + symbol; \
166 CLzmaProb *prob; local
171 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;
172 IF_BIT_0(prob)
175 UPDATE_0(prob);
176 prob = probs + Literal;
178 prob += ((UInt32)LZMA_LIT_SIZE * (((processedPos & lpMask) << lc) +
234 UPDATE_1(prob);
235 prob = probs + IsRep + state;
590 const CLzmaProb *prob; local
602 prob = probs + Literal; local
    [all...]
  /external/lzma/C/
LzmaDec.c 49 #define NORMAL_LITER_DEC GET_BIT(prob + symbol, symbol)
53 probLit = prob + offs + bit + symbol; \
164 CLzmaProb *prob; local
169 prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;
170 IF_BIT_0(prob)
173 UPDATE_0(prob);
174 prob = probs + Literal;
176 prob += ((UInt32)LZMA_LIT_SIZE * (((processedPos & lpMask) << lc) +
232 UPDATE_1(prob);
233 prob = probs + IsRep + state;
588 const CLzmaProb *prob; local
600 prob = probs + Literal; local
    [all...]
Ppmd.h 22 #define PPMD_UPDATE_PROB_0(prob) ((prob) + (1 << PPMD_INT_BITS) - PPMD_GET_MEAN(prob))
23 #define PPMD_UPDATE_PROB_1(prob) ((prob) - PPMD_GET_MEAN(prob))
  /external/lzma/Java/SevenZip/Compression/RangeCoder/
Encoder.java 104 int prob = probs[index]; local
105 int newBound = (Range >>> kNumBitModelTotalBits) * prob;
109 probs[index] = (short)(prob + ((kBitModelTotal - prob) >>> kNumMoveBits));
115 probs[index] = (short)(prob - ((prob) >>> kNumMoveBits));
139 static public int GetPrice(int Prob, int symbol)
141 return ProbPrices[(((Prob - symbol) ^ ((-symbol))) & (kBitModelTotal - 1)) >>> kNumMoveReducingBits];
143 static public int GetPrice0(int Prob)
145 return ProbPrices[Prob >>> kNumMoveReducingBits];
    [all...]
Decoder.java 56 int prob = probs[index]; local
57 int newBound = (Range >>> kNumBitModelTotalBits) * prob;
61 probs[index] = (short)(prob + ((kBitModelTotal - prob) >>> kNumMoveBits));
73 probs[index] = (short)(prob - ((prob) >>> kNumMoveBits));
  /external/lzma/Java/Tukaani/src/org/tukaani/xz/rangecoder/
RangeDecoder.java 25 int prob = probs[index]; local
26 int bound = (range >>> BIT_MODEL_TOTAL_BITS) * prob;
33 prob + ((BIT_MODEL_TOTAL - prob) >>> MOVE_BITS));
38 probs[index] = (short)(prob - (prob >>> MOVE_BITS));
  /external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
deterministic_test.py 47 deterministic.prob(0.).eval()
52 self.assertAllClose(1, deterministic.prob(0).eval())
53 self.assertAllClose(0, deterministic.prob(2).eval())
54 self.assertAllClose([1, 0], deterministic.prob([0, 2]).eval())
59 self.assertAllClose(1., deterministic.prob(0.).eval())
60 self.assertAllClose(0., deterministic.prob(2.).eval())
61 self.assertAllClose([1., 0.], deterministic.prob([0., 2.]).eval())
69 prob = deterministic.prob(x)
70 self.assertAllEqual((2, 2), prob.get_shape()
    [all...]
  /external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
eval.pass.cpp 52 std::vector<double> prob(std::begin(p), std::end(p));
53 double s = std::accumulate(prob.begin(), prob.end(), 0.0);
54 for (std::size_t i = 0; i < prob.size(); ++i)
55 prob[i] /= s;
63 if (prob[i] == 0)
67 assert(std::abs((double)Ni/N - prob[i]) / prob[i] < .01);
115 std::vector<double> prob(std::begin(p), std::end(p));
116 double s = std::accumulate(prob.begin(), prob.end(), 0.0)
    [all...]
eval_param.pass.cpp 55 std::vector<double> prob(std::begin(p), std::end(p));
56 double s = std::accumulate(prob.begin(), prob.end(), 0.0);
57 for (std::size_t i = 0; i < prob.size(); ++i)
58 prob[i] /= s;
66 if (prob[i] == 0)
70 assert(std::abs((double)Ni/N - prob[i]) / prob[i] < .01);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
eval.pass.cpp 52 std::vector<double> prob(std::begin(p), std::end(p));
53 double s = std::accumulate(prob.begin(), prob.end(), 0.0);
54 for (std::size_t i = 0; i < prob.size(); ++i)
55 prob[i] /= s;
63 if (prob[i] == 0)
67 assert(std::abs((double)Ni/N - prob[i]) / prob[i] < .01);
115 std::vector<double> prob(std::begin(p), std::end(p));
116 double s = std::accumulate(prob.begin(), prob.end(), 0.0)
    [all...]
eval_param.pass.cpp 55 std::vector<double> prob(std::begin(p), std::end(p));
56 double s = std::accumulate(prob.begin(), prob.end(), 0.0);
57 for (std::size_t i = 0; i < prob.size(); ++i)
58 prob[i] /= s;
66 if (prob[i] == 0)
70 assert(std::abs((double)Ni/N - prob[i]) / prob[i] < .01);
  /external/llvm/lib/CodeGen/
MachineBranchProbabilityInfo.cpp 22 INITIALIZE_PASS_BEGIN(MachineBranchProbabilityInfo, "machine-branch-prob",
24 INITIALIZE_PASS_END(MachineBranchProbabilityInfo, "machine-branch-prob",
28 StaticLikelyProb("static-likely-prob",
34 "profile-likely-prob",
69 auto Prob = getEdgeProbability(MBB, I);
70 if (Prob > MaxProb) {
71 MaxProb = Prob;
87 const BranchProbability Prob = getEdgeProbability(Src, Dst);
89 << " probability is " << Prob
  /external/llvm/lib/Support/
BlockFrequency.cpp 20 BlockFrequency &BlockFrequency::operator*=(BranchProbability Prob) {
21 Frequency = Prob.scale(Frequency);
25 BlockFrequency BlockFrequency::operator*(BranchProbability Prob) const {
27 Freq *= Prob;
31 BlockFrequency &BlockFrequency::operator/=(BranchProbability Prob) {
32 Frequency = Prob.scaleByInverse(Frequency);
36 BlockFrequency BlockFrequency::operator/(BranchProbability Prob) const {
38 Freq /= Prob;
  /external/llvm/test/Analysis/BranchProbabilityInfo/
deopt-intrinsic.ll 1 ; RUN: opt -analyze -branch-prob < %s | FileCheck %s
2 ; RUN: opt < %s -passes='print<branch-prob>' -disable-output 2>&1 | FileCheck %s

Completed in 695 milliseconds

1 2 3 4 5 6 7 8 91011>>