Home
last modified time | relevance | path

Searched refs:price (Results 1 – 25 of 213) sorted by relevance

123456789

/external/u-boot/lib/zstd/
Dzstd_opt.h93 U32 price, u; in ZSTD_getLiteralPrice() local
105 price = ssPtr->cachedPrice + additional * ssPtr->log2litSum; in ZSTD_getLiteralPrice()
107 price -= ZSTD_highbit32(ssPtr->litFreq[literals2[u]] + 1); in ZSTD_getLiteralPrice()
108 ssPtr->cachedPrice = price; in ZSTD_getLiteralPrice()
111 price = litLength * ssPtr->log2litSum; in ZSTD_getLiteralPrice()
113 price -= ZSTD_highbit32(ssPtr->litFreq[literals[u]] + 1); in ZSTD_getLiteralPrice()
117 ssPtr->cachedPrice = price; in ZSTD_getLiteralPrice()
126price += LL_bits[llCode] + ssPtr->log2litLengthSum - ZSTD_highbit32(ssPtr->litLengthFreq[llCode] +… in ZSTD_getLiteralPrice()
129 return price; in ZSTD_getLiteralPrice()
135 U32 price; in ZSTD_getPrice() local
[all …]
Dzstd_internal.h155 U32 price; member
/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java194 if (shortRepPrice < opts[1].price) in getNextSymbol()
232 int price = longRepPrice + repLenEncoder.getPrice(repLen, in getNextSymbol() local
234 if (price < opts[repLen].price) in getNextSymbol()
235 opts[repLen].set1(price, 0, rep); in getNextSymbol()
254 int price = getMatchAndLenPrice(normalMatchPrice, in getNextSymbol() local
256 if (price < opts[len].price) in getNextSymbol()
257 opts[len].set1(price, 0, dist + REPS); in getNextSymbol()
285 anyMatchPrice = opts[optCur].price in getNextSymbol()
382 int literalPrice = opts[optCur].price
385 if (literalPrice < opts[optCur + 1].price) {
[all …]
DOptimum.java22 int price; field in Optimum
36 price = INFINITY_PRICE; in reset()
43 price = newPrice; in set1()
53 price = newPrice; in set2()
65 price = newPrice; in set3()
DLZMAEncoder.java419 int price = anyRepPrice; in getLongRepPrice() local
422 price += RangeEncoder.getBitPrice(isRep0[state.get()], 0) in getLongRepPrice()
426 price += RangeEncoder.getBitPrice(isRep0[state.get()], 1); in getLongRepPrice()
429 price += RangeEncoder.getBitPrice(isRep1[state.get()], 0); in getLongRepPrice()
431 price += RangeEncoder.getBitPrice(isRep1[state.get()], 1) in getLongRepPrice()
436 return price; in getLongRepPrice()
448 int price = normalMatchPrice in getMatchAndLenPrice() local
453 price += fullDistPrices[distState][dist]; in getMatchAndLenPrice()
458 price += distSlotPrices[distState][distSlot] in getMatchAndLenPrice()
462 return price; in getMatchAndLenPrice()
[all …]
/external/lzma/Java/SevenZip/Compression/RangeCoder/
DBitTreeEncoder.java46 int price = 0; in GetPrice() local
52 price += Encoder.GetPrice(Models[m], bit); in GetPrice()
55 return price; in GetPrice()
60 int price = 0; in ReverseGetPrice() local
66 price += Encoder.GetPrice(Models[m], bit); in ReverseGetPrice()
69 return price; in ReverseGetPrice()
75 int price = 0; in ReverseGetPrice() local
81 price += Encoder.GetPrice(Models[startIndex + m], bit); in ReverseGetPrice()
84 return price; in ReverseGetPrice()
/external/lzma/C/
DLzmaEnc.c176 UInt32 price; member
773 UInt32 price = 0; in LitEnc_GetPrice() local
779 price += GET_PRICEa(probs[sym], bit); in LitEnc_GetPrice()
782 return price; in LitEnc_GetPrice()
788 UInt32 price = 0; in LitEnc_Matched_GetPrice() local
794 price += GET_PRICEa(probs[offs + (matchByte & offs) + (sym >> 8)], (sym >> 7) & 1); in LitEnc_Matched_GetPrice()
799 return price; in LitEnc_Matched_GetPrice()
871 UInt32 price = startPrice; in SetPrices_3() local
873 price += GET_PRICEa(probs[1 ], (i >> 2)); in SetPrices_3()
874 price += GET_PRICEa(probs[2 + (i >> 2)], (i >> 1) & 1); in SetPrices_3()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
DItem.java20 private String price; field in Item
28 return price; in getPrice()
31 public void setPrice(String price) { in setPrice() argument
32 this.price = price; in setPrice()
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoderBitTree.cs48 UInt32 price = 0; in GetPrice()
54 price += Models[m].GetPrice(bit); in GetPrice()
57 return price; in GetPrice()
62 UInt32 price = 0; in ReverseGetPrice()
68 price += Models[m].GetPrice(bit); in ReverseGetPrice()
71 return price; in ReverseGetPrice()
77 UInt32 price = 0; in ReverseGetPrice()
83 price += Models[startIndex + m].GetPrice(bit); in ReverseGetPrice()
86 return price; in ReverseGetPrice()
/external/lz4/lib/
Dlz4hc.c1095 int price; member
1104 int price = litlen; in LZ4HC_literalsPrice() local
1106 price += 1 + (litlen-RUN_MASK)/255; in LZ4HC_literalsPrice()
1107 return price; in LZ4HC_literalsPrice()
1114 int price = 1 + 2 ; /* token + 16-bit offset */ in LZ4HC_sequencePrice() local
1116 price += LZ4HC_literalsPrice(litlen); in LZ4HC_sequencePrice()
1119 price += 1 + (mlen-(ML_MASK+MINMATCH))/255; in LZ4HC_sequencePrice()
1121 return price; in LZ4HC_sequencePrice()
1210 opt[rPos].price = cost; in LZ4HC_compress_optimal()
1224 opt[mlen].price = cost; in LZ4HC_compress_optimal()
[all …]
/external/xz-java/src/org/tukaani/xz/rangecoder/
DRangeEncoder.java145 int price = 0; in getBitTreePrice() local
151 price += getBitPrice(probs[symbol], bit); in getBitTreePrice()
154 return price; in getBitTreePrice()
171 int price = 0; in getReverseBitTreePrice() local
178 price += getBitPrice(probs[index], bit); in getReverseBitTreePrice()
182 return price; in getReverseBitTreePrice()
/external/tensorflow/tensorflow/python/feature_column/
Ddense_features_v2_test.py201 price = fc.numeric_column('price')
204 net = df.DenseFeatures([price])(features)
212 price = fc.numeric_column('price', shape=2)
215 net = df.DenseFeatures([price])(features)
241 price = fc.numeric_column('price', shape=2)
247 df.DenseFeatures([price])(features)
250 price = fc.numeric_column('price', shape=[1, 2])
253 net = df.DenseFeatures([price])(features)
499 price = fc.numeric_column('price')
532 net = df.DenseFeatures([price, one_hot_body_style, embedded_country])(
[all …]
Dserialization_test.py72 price = fc.numeric_column('price')
73 bucketized_price = fc.bucketized_column(price, boundaries=[0, 1])
75 configs = serialization.serialize_feature_columns([price, bucketized_price])
84 self.assertIsNot(price, new_price)
87 self.assertEqual(price, new_price)
99 price = fc.numeric_column('price', normalizer_fn=_custom_fn)
101 configs = serialization.serialize_feature_columns([price])
110 self.assertIsNot(price, new_price)
112 self.assertEqual(price, new_price)
Ddense_features_test.py254 price = fc.numeric_column('price')
257 net = df.DenseFeatures([price])(features)
265 price = fc.numeric_column('price', shape=2)
268 net = df.DenseFeatures([price])(features)
294 price = fc.numeric_column('price', shape=2)
300 df.DenseFeatures([price])(features)
303 price = fc.numeric_column('price', shape=[1, 2])
306 net = df.DenseFeatures([price])(features)
552 price = fc.numeric_column('price')
585 net = df.DenseFeatures([price, one_hot_body_style, embedded_country])(
[all …]
Dfeature_column_test.py270 price = fc._numeric_column('price', shape=[2])
279 features=fc.make_parse_example_spec([price]))
286 price = fc._numeric_column('price', shape=[2], default_value=11.)
302 features=fc.make_parse_example_spec([price]))
317 price = fc._numeric_column('price', shape=[2], normalizer_fn=_increment_two)
318 output = _transform_features({'price': [[1., 2.], [5., 6.]]}, [price])
320 self.assertAllEqual([[3., 4.], [7., 8.]], output[price].eval())
328 price = fc._numeric_column('price', shape=[2], normalizer_fn=_increment_two)
330 self.assertEqual(builder.get(price), price._get_dense_tensor(builder))
333 price = fc._numeric_column('price')
[all …]
Dfeature_column_v2_test.py348 price = fc.numeric_column('price', shape=[2])
358 features=fc.make_parse_example_spec_v2([price]))
365 price = fc.numeric_column('price', shape=[2], default_value=11.)
383 features=fc.make_parse_example_spec_v2([price]))
399 price = fc.numeric_column('price', shape=[2], normalizer_fn=_increment_two)
402 }, [price], None)
404 self.assertAllEqual([[3., 4.], [7., 8.]], self.evaluate(output[price]))
412 price = fc.numeric_column('price', shape=[2], normalizer_fn=_increment_two)
417 transformation_cache.get(price, None),
418 price.get_dense_tensor(transformation_cache, None))
[all …]
/external/lzma/Java/SevenZip/Compression/LZMA/
DEncoder.java110 int price = 0; in GetPrice() local
119price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[((1 + matchBit) << 8) + conte… in GetPrice()
131 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice(m_Encoders[context], bit); in GetPrice()
134 return price; in GetPrice()
463 int price; in GetPureRepPrice() local
466 price = SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isRepG0[state]); in GetPureRepPrice()
467price += SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRep0Long[(state << Base.kNumPosState… in GetPureRepPrice()
471 price = SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRepG0[state]); in GetPureRepPrice()
473 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice0(_isRepG1[state]); in GetPureRepPrice()
476 price += SevenZip.Compression.RangeCoder.Encoder.GetPrice1(_isRepG1[state]); in GetPureRepPrice()
[all …]
/external/snakeyaml/src/test/resources/pyyaml/
Dspec-02-27.data19 price : 450.00
23 price : 2392.00
/external/swiftshader/third_party/llvm-7.0/llvm/test/YAMLParser/
Dspec-02-27.test21 price : 450.00
25 price : 2392.00
/external/llvm/test/YAMLParser/
Dspec-02-27.test21 price : 450.00
25 price : 2392.00
/external/lzma/CS/7zip/Compress/LZMA/
DLzmaEncoder.cs110 uint price = 0; in GetPrice()
119 price += m_Encoders[((1 + matchBit) << 8) + context].GetPrice(bit); in GetPrice()
131 price += m_Encoders[context].GetPrice(bit); in GetPrice()
134 return price; in GetPrice()
463 UInt32 price; in GetPureRepPrice()
466 price = _isRepG0[state.Index].GetPrice0(); in GetPureRepPrice()
467 price += _isRep0Long[(state.Index << Base.kNumPosStatesBitsMax) + posState].GetPrice1(); in GetPureRepPrice()
471 price = _isRepG0[state.Index].GetPrice1(); in GetPureRepPrice()
473 price += _isRepG1[state.Index].GetPrice0(); in GetPureRepPrice()
476 price += _isRepG1[state.Index].GetPrice1(); in GetPureRepPrice()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DProduct.java22 public Float price; field in Product
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProviderTest.java260 assertEquals(50000d, grayPorshe.price, 0.0); in testMethodsAndFieldsGetInjected()
267 private final double price; field in FactoryProviderTest.Porshe
272 public Porshe(@Assisted Color color, double price) { in Porshe() argument
274 this.price = price; in Porshe()
DFactoryProvider2Test.java224 assertEquals(50000d, grayPorsche.price, 0.0); in testMethodsAndFieldsGetInjected()
231 private final double price; field in FactoryProvider2Test.Porsche
236 public Porsche(@Assisted Color color, double price) { in Porsche() argument
238 this.price = price; in Porsche()
/external/lzma/C/Util/SfxSetup/
DSfxSetup.c462 unsigned price = namePrice + extPrice * 64 + (nameStartPos == 0 ? 0 : (1 << 12)); in main() local
463 if (minPrice > price) in main()
465 minPrice = price; in main()

123456789