/third_party/typescript/tests/arkTSTest/testcase/arkts-no-ctor-signatures-funcs/ |
D | arkts-no-ctor-signatures-funcs-5-ok.ets | 19 price: number; 21 constructor(name: string, price: number) { 23 this.price = price; 27 type ProductCtor = (name: string, price: number) => Product; 29 function createProduct(Ctor: ProductCtor, name: string, price: number): Product { 30 return Ctor(name, price); 33 const ProductCreator: ProductCtor = (name: string, price: number): Product => { 34 return new Product(name, price); 39 console.log(product.price); // 999
|
D | arkts-no-ctor-signatures-funcs-5-error.ets | 19 price: number; 21 constructor(name: string, price: number) { 23 this.price = price; 27 type ProductCtor = new (name: string, price: number) => Product; 29 function createProduct(Ctor: ProductCtor, name: string, price: number): Product { 30 return new Ctor(name, price); 35 console.log(product.price); // 999
|
/third_party/lzma/Java/SevenZip/Compression/RangeCoder/ |
D | BitTreeEncoder.java | 46 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()
|
/third_party/lzma/C/ |
D | LzmaEnc.c | 264 UInt32 price; member 870 UInt32 price = 0; in LitEnc_GetPrice() local 876 price += GET_PRICEa(probs[sym], bit); in LitEnc_GetPrice() 879 return price; in LitEnc_GetPrice() 885 UInt32 price = 0; in LitEnc_Matched_GetPrice() local 891 price += GET_PRICEa(probs[offs + (matchByte & offs) + (sym >> 8)], (sym >> 7) & 1); in LitEnc_Matched_GetPrice() 896 return price; in LitEnc_Matched_GetPrice() 968 UInt32 price = startPrice; in SetPrices_3() local 970 price += GET_PRICEa(probs[1 ], (i >> 2)); in SetPrices_3() 971 price += GET_PRICEa(probs[2 + (i >> 2)], (i >> 1) & 1); in SetPrices_3() [all …]
|
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-binance/ |
D | main.c | 74 uint64_t price = (uint64_t)atoll(s) * 100; in pennies() local 79 price = price + (uint64_t)((10 * (s[1] - '0')) + (s[2] - '0')); in pennies() 81 return price; in pennies() 125 uint64_t price; in binance_rx() local 158 price = pennies(numbuf); in binance_rx() 160 if (price < bin->price_range.lowest) in binance_rx() 161 bin->price_range.lowest = price; in binance_rx() 162 if (price > bin->price_range.highest) in binance_rx() 163 bin->price_range.highest = price; in binance_rx() 165 bin->price_range.sum += price; in binance_rx()
|
D | README.md | 50 [2021/08/15 06:42:42:8803] N: sul_hz_cb: price: min: 4669185¢, max: 4672159¢, avg: 4670061¢, (53 pr… 52 [2021/08/15 06:42:43:8803] N: sul_hz_cb: price: min: 4669646¢, max: 4672159¢, avg: 4669953¢, (34 pr… 54 [2021/08/15 06:42:44:8804] N: sul_hz_cb: price: min: 4669455¢, max: 4672159¢, avg: 4669904¢, (26 pr…
|
/third_party/lzma/CS/7zip/Compress/RangeCoder/ |
D | RangeCoderBitTree.cs | 48 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()
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-binance/ |
D | main.c | 209 uint64_t price = (uint64_t)atoll(s) * 100; in pennies() local 214 price = price + (uint64_t)((10 * (s[1] - '0')) + (s[2] - '0')); in pennies() 216 return price; in pennies() 225 uint64_t price; in callback_minimal() local 277 price = pennies(numbuf); in callback_minimal() 279 if (price < mco->price_range.lowest) in callback_minimal() 280 mco->price_range.lowest = price; in callback_minimal() 281 if (price > mco->price_range.highest) in callback_minimal() 282 mco->price_range.highest = price; in callback_minimal() 284 mco->price_range.sum += price; in callback_minimal()
|
D | README.md | 59 [2020/08/23 10:22:51:8244] N: sul_hz_cb: price: min: 1160284¢, max: 1163794¢, avg: 1160516¢, (150 p… 61 [2020/08/23 10:22:52:8244] N: sul_hz_cb: price: min: 1160287¢, max: 1178845¢, avg: 1160897¢, (112 p… 63 [2020/08/23 10:22:53:8247] N: sul_hz_cb: price: min: 1160287¢, max: 1168005¢, avg: 1160806¢, (86 pr… 65 [2020/08/23 10:22:54:8247] N: sul_hz_cb: price: min: 1160284¢, max: 1162780¢, avg: 1160698¢, (71 pr…
|
/third_party/lz4/lib/ |
D | lz4hc.c | 1269 int price; member 1278 int price = litlen; in LZ4HC_literalsPrice() local 1281 price += 1 + ((litlen-(int)RUN_MASK) / 255); in LZ4HC_literalsPrice() 1282 return price; in LZ4HC_literalsPrice() 1289 int price = 1 + 2 ; /* token + 16-bit offset */ in LZ4HC_sequencePrice() local 1293 price += LZ4HC_literalsPrice(litlen); in LZ4HC_sequencePrice() 1296 price += 1 + ((mlen-(int)(ML_MASK+MINMATCH)) / 255); in LZ4HC_sequencePrice() 1298 return price; in LZ4HC_sequencePrice() 1399 opt[rPos].price = cost; in LZ4HC_compress_optimal() 1413 opt[mlen].price = cost; in LZ4HC_compress_optimal() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | objectLiteralExcessProperties.types | 50 var b6: Book & Cover = { foreword: "hi", color: "blue", price: 10.99 }; 52 >{ foreword: "hi", color: "blue", price: 10.99 } : { foreword: string; color: string; price: number… 57 >price : number 60 var b7: Book & number = { foreword: "hi", price: 10.99 }; 62 >{ foreword: "hi", price: 10.99 } : { foreword: string; price: number; } 65 >price : number
|
D | recursiveIntersectionTypes.errors.txt | 2 Property 'price' is missing in type 'LinkedList<Entity>' but required in type 'Product'. 13 price: number; 27 !!! error TS2322: Property 'price' is missing in type 'LinkedList<Entity>' but required in type '… 28 …s/cases/conformance/types/intersection/recursiveIntersectionTypes.ts:8:5: 'price' is declared here.
|
D | objectLiteralExcessProperties.js | 20 var b6: Book & Cover = { foreword: "hi", color: "blue", price: 10.99 }; property 22 var b7: Book & number = { foreword: "hi", price: 10.99 }; property 60 var b6 = { foreword: "hi", color: "blue", price: 10.99 }; property 61 var b7 = { foreword: "hi", price: 10.99 }; property
|
D | objectLiteralExcessProperties.errors.txt | 11 …perties.ts(19,57): error TS2322: Type '{ foreword: string; color: string; price: number; }' is not… 12 …Object literal may only specify known properties, and 'price' does not exist in type 'Book & Cover… 13 …LiteralExcessProperties.ts(21,5): error TS2322: Type '{ foreword: string; price: number; }' is not… 14 Type '{ foreword: string; price: number; }' is not assignable to type 'number'. 69 var b6: Book & Cover = { foreword: "hi", color: "blue", price: 10.99 }; 71 !!! error TS2322: Type '{ foreword: string; color: string; price: number; }' is not assignable to t… 72 !!! error TS2322: Object literal may only specify known properties, and 'price' does not exist in… 74 var b7: Book & number = { foreword: "hi", price: 10.99 }; 76 !!! error TS2322: Type '{ foreword: string; price: number; }' is not assignable to type 'Book & num… 77 !!! error TS2322: Type '{ foreword: string; price: number; }' is not assignable to type 'number'.
|
D | objectLiteralExcessProperties.symbols | 47 var b6: Book & Cover = { foreword: "hi", color: "blue", price: 10.99 }; 53 >price : Symbol(price, Decl(objectLiteralExcessProperties.ts, 18, 55)) 55 var b7: Book & number = { foreword: "hi", price: 10.99 }; 59 >price : Symbol(price, Decl(objectLiteralExcessProperties.ts, 20, 41))
|
D | recursiveIntersectionTypes.symbols | 21 price: number; 22 >price : Symbol(Product.price, Decl(recursiveIntersectionTypes.ts, 6, 34))
|
D | recursiveIntersectionTypes.types | 12 price: number; 13 >price : number
|
/third_party/lzma/Java/SevenZip/Compression/LZMA/ |
D | Encoder.java | 110 int price = 0; in GetPrice() local 119 …price += 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() 467 …price += 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 …]
|
/third_party/lzma/CS/7zip/Compress/LZMA/ |
D | LzmaEncoder.cs | 110 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 …]
|
/third_party/json/docs/examples/ |
D | update.output | 6 "price": 17.99, 15 "price": 17.99,
|
D | update__range.output | 6 "price": 17.99, 15 "price": 17.99,
|
/third_party/PyYAML/tests/data/ |
D | spec-02-27.data | 19 price : 450.00 23 price : 2392.00
|
/third_party/typescript/tests/cases/compiler/ |
D | objectLiteralExcessProperties.ts | 19 var b6: Book & Cover = { foreword: "hi", color: "blue", price: 10.99 }; 21 var b7: Book & number = { foreword: "hi", price: 10.99 };
|
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-decl-merging/ |
D | arkts-no-decl-merging-11-error.ets | 20 price: number; 24 price: string;
|
/third_party/typescript/tests/cases/conformance/types/intersection/ |
D | recursiveIntersectionTypes.ts | 8 price: number; property
|