/third_party/protobuf/benchmarks/cpp/ |
D | cpp_benchmark.cc | 54 Fixture(const BenchmarkDataset& dataset, const std::string& suffix) { in Fixture() argument 55 for (int i = 0; i < dataset.payload_size(); i++) { in Fixture() 56 payloads_.push_back(dataset.payload(i)); in Fixture() 61 dataset.message_name()); in Fixture() 64 std::cerr << "Couldn't find message named '" << dataset.message_name() in Fixture() 69 SetName((dataset.name() + suffix).c_str()); in Fixture() 97 ParseNewFixture(const BenchmarkDataset& dataset) in ParseNewFixture() argument 98 : Fixture(dataset, "_parse_new") {} in ParseNewFixture() 118 ParseNewArenaFixture(const BenchmarkDataset& dataset) in ParseNewArenaFixture() argument 119 : Fixture(dataset, "_parse_newarena") {} in ParseNewArenaFixture() [all …]
|
/third_party/protobuf/benchmarks/util/ |
D | proto3_data_stripper.cc | 37 benchmarks::BenchmarkDataset dataset; in main() local 40 GOOGLE_CHECK(dataset.ParseFromString(dataset_payload)) in main() 43 if (dataset.message_name() == "benchmarks.proto3.GoogleMessage1") { in main() 45 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage1") { in main() 47 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage2") { in main() 49 } else if (dataset.message_name() == in main() 52 } else if (dataset.message_name() == in main() 56 std::cerr << "Unknown message type: " << dataset.message_name(); in main() 60 for (int i = 0; i < dataset.payload_size(); i++) { in main() 61 message->ParseFromString(dataset.payload(i)); in main() [all …]
|
D | gogo_data_scrubber.cc | 37 benchmarks::BenchmarkDataset dataset; in main() local 40 GOOGLE_CHECK(dataset.ParseFromString(dataset_payload)) in main() 43 if (dataset.message_name() == "benchmarks.proto3.GoogleMessage1") { in main() 45 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage1") { in main() 47 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage2") { in main() 49 } else if (dataset.message_name() == in main() 52 } else if (dataset.message_name() == in main() 56 std::cerr << "Unknown message type: " << dataset.message_name(); in main() 60 for (int i = 0; i < dataset.payload_size(); i++) { in main() 61 message->ParseFromString(dataset.payload(i)); in main() [all …]
|
/third_party/protobuf/benchmarks/php/ |
D | PhpBenchmark.php | 80 function getMessageName(&$dataset) { argument 81 switch ($dataset->getMessageName()) { 93 exit("Message " . $dataset->getMessageName() . " not found !"); 100 $dataset = new BenchmarkDataset(NULL); 101 $dataset->mergeFromString($bytes); 102 $message_name = getMessageName($dataset); 105 $payloads = $dataset->getPayload(); 115 array($dataset, $message_name), $total_bytes); 126 "message_name" => $dataset->getMessageName()
|
/third_party/node/test/fixtures/wpt/encoding/resources/ |
D | decode-common.js | 16 nodes[i].dataset.cp + 18 String.fromCodePoint(parseInt(nodes[i].dataset.cp, 16)) + 20 decoder(nodes[i].dataset.bytes) + 22 nodes[i].dataset.bytes 34 decoder(nodes[i].dataset.bytes)
|
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
D | BenchmarkDatasetConfig.cs | 62 var dataset = BenchmarkDataset.Parser.ParseFrom(data); in BenchmarkDatasetConfig() 64 if (!parsersByMessageName.TryGetValue(dataset.MessageName, out var parser)) in BenchmarkDatasetConfig() 69 Payloads = new List<byte[]>(dataset.Payload.Select(p => p.ToByteArray())); in BenchmarkDatasetConfig() 70 Name = shortName ?? dataset.Name; in BenchmarkDatasetConfig()
|
/third_party/protobuf/benchmarks/ |
D | README.md | 88 To run all the benchmark dataset: 153 To run a specific dataset or run with specific options: 159 $ ./java-benchmark $(specific generated dataset file name) [$(caliper options)] 166 $ ./cpp-benchmark $(specific generated dataset file name) [$(benchmark options)] 177 $ ./python-pure-python-benchmark [--json] $(specific generated dataset file name) 184 $ ./python-cpp-reflection-benchmark [--json] $(specific generated dataset file name) 191 $ ./python-cpp-generated-code-benchmark [--json] $(specific generated dataset file name) 197 $ ./go-benchmark $(specific generated dataset file name) [go testing options] 204 $ ./php-benchmark $(specific generated dataset file name) 209 $ ./php-c-benchmark $(specific generated dataset file name) [all …]
|
D | benchmarks.proto | 36 // Name of the benchmark dataset. This should be unique across all datasets. 40 // Fully-qualified name of the protobuf message for this dataset. 49 // The payload(s) for this dataset. They should be parsed or serialized
|
/third_party/node/deps/v8/tools/turbolizer/src/ |
D | tabs.ts | 30 if (typeof tab.dataset.divid !== "string") return; 43 const tabDiv = document.getElementById(tab.dataset.divid); 50 const tabDiv = document.getElementById(li.dataset.divid); 71 newTab.dataset.divid = contentDiv.id; 80 const tabDiv = document.getElementById(tab.dataset.divid);
|
D | disassembly-view.ts | 52 fragment.dataset.instructionKind = instructionKind; 61 blockIdElement.dataset.blockId = `${blockIds.join(",")}`; 78 fragment.dataset.pcOffset = `${pcOffset}`; 124 fragment.dataset.blockId = blockId; 166 …setAsString = typeof e.target.dataset.pcOffset != "undefined" ? e.target.dataset.pcOffset : e.targ… 186 const blockId = e.target.dataset.blockId;
|
D | code-view.ts | 196 view.onSelectLine(Number(targetDiv.dataset.lineNumber), !e.shiftKey); 212 currentLineElement.dataset.lineNumber = "" + lineNumber; 275 lineNumberElement.dataset.lineNumber = `${lineNumber}`;
|
/third_party/typescript/tests/baselines/reference/ |
D | importMeta(module=commonjs,target=esnext).types | 4 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 5 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 6 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 32 const size = import.meta.scriptElement.dataset.size || 300; 34 >import.meta.scriptElement.dataset.size || 300 : any 35 >import.meta.scriptElement.dataset.size : any 36 >import.meta.scriptElement.dataset : any 41 >dataset : any
|
D | importMeta(module=es2020,target=esnext).types | 4 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 5 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 6 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 32 const size = import.meta.scriptElement.dataset.size || 300; 34 >import.meta.scriptElement.dataset.size || 300 : any 35 >import.meta.scriptElement.dataset.size : any 36 >import.meta.scriptElement.dataset : any 41 >dataset : any
|
D | importMeta(module=es2020,target=es5).types | 4 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 5 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 6 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 32 const size = import.meta.scriptElement.dataset.size || 300; 34 >import.meta.scriptElement.dataset.size || 300 : any 35 >import.meta.scriptElement.dataset.size : any 36 >import.meta.scriptElement.dataset : any 41 >dataset : any
|
D | importMeta(module=system,target=es5).types | 4 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 5 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 6 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 32 const size = import.meta.scriptElement.dataset.size || 300; 34 >import.meta.scriptElement.dataset.size || 300 : any 35 >import.meta.scriptElement.dataset.size : any 36 >import.meta.scriptElement.dataset : any 41 >dataset : any
|
D | importMeta(module=esnext,target=esnext).types | 4 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 5 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 6 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 32 const size = import.meta.scriptElement.dataset.size || 300; 34 >import.meta.scriptElement.dataset.size || 300 : any 35 >import.meta.scriptElement.dataset.size : any 36 >import.meta.scriptElement.dataset : any 41 >dataset : any
|
D | importMeta(module=esnext,target=es5).types | 4 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 5 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 6 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 32 const size = import.meta.scriptElement.dataset.size || 300; 34 >import.meta.scriptElement.dataset.size || 300 : any 35 >import.meta.scriptElement.dataset.size : any 36 >import.meta.scriptElement.dataset : any 41 >dataset : any
|
D | importMeta(module=commonjs,target=es5).types | 4 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 5 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 6 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 32 const size = import.meta.scriptElement.dataset.size || 300; 34 >import.meta.scriptElement.dataset.size || 300 : any 35 >import.meta.scriptElement.dataset.size : any 36 >import.meta.scriptElement.dataset : any 41 >dataset : any
|
D | importMeta(module=system,target=esnext).types | 4 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 5 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 6 …st blob = await response.blob(); const size = import.meta.scriptElement.dataset.size || 300; con… 32 const size = import.meta.scriptElement.dataset.size || 300; 34 >import.meta.scriptElement.dataset.size || 300 : any 35 >import.meta.scriptElement.dataset.size : any 36 >import.meta.scriptElement.dataset : any 41 >dataset : any
|
D | importMeta(module=esnext,target=esnext).js | 9 const size = import.meta.scriptElement.dataset.size || 300; 46 const size = import.meta.scriptElement.dataset.size || 300;
|
D | importMeta(module=es2020,target=esnext).js | 9 const size = import.meta.scriptElement.dataset.size || 300; 46 const size = import.meta.scriptElement.dataset.size || 300;
|
D | importMeta(module=commonjs,target=esnext).js | 9 const size = import.meta.scriptElement.dataset.size || 300; 48 const size = import.meta.scriptElement.dataset.size || 300;
|
D | importMeta(module=system,target=esnext).js | 9 const size = import.meta.scriptElement.dataset.size || 300; 52 const size = context_1.meta.scriptElement.dataset.size || 300;
|
/third_party/protobuf/benchmarks/go/ |
D | go_benchmark_test.go | 27 func generateNewMessageFunction(dataset benchmarkWrapper.BenchmarkDataset) func() proto.Message { 28 switch dataset.MessageName { 40 panic("Unknown message type: " + dataset.MessageName)
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmTypeTests.cpp | 808 std::string createConstantDeclaration (vector<T>& dataset, 1740 string SpvAsmTypeTests<T>::createConstantDeclaration (vector<T>& dataset, deUint32 spirvOperation) in createConstantDeclaration() argument 1760 for (size_t constantNdx = 0u; constantNdx < dataset.size(); constantNdx++) in createConstantDeclaration() 1761 …constantNdx) + " = OpSpecConstant %" + constantType + " " + de::toString(dataset[constantNdx]) + "… in createConstantDeclaration() 1768 for (size_t constantNdx = 0u; constantNdx < dataset.size(); constantNdx++) in createConstantDeclaration() 1779 …+ constantOp[constantNdx % 2] + " %" + constantType + " " + de::toString(dataset[constantNdx]) + "… in createConstantDeclaration() 1782 for (deUint32 compositeNdx = 0u; compositeNdx < (deUint32)dataset.size(); compositeNdx++) in createConstantDeclaration() 1796 for (size_t constantNdx = 0u; constantNdx < dataset.size(); constantNdx++) in createConstantDeclaration() 1801 …ing(constantNdx) + " = OpConstant %" + constantType + " " + de::toString(dataset[constantNdx]) + "… in createConstantDeclaration() 1808 for (deUint32 compositeNdx = 0u; compositeNdx < (deUint32)dataset.size(); compositeNdx++) in createConstantDeclaration() [all …]
|