Home
last modified time | relevance | path

Searched refs:dataset (Results 1 – 25 of 80) sorted by relevance

1234

/third_party/protobuf/benchmarks/cpp/
Dcpp_benchmark.cc54 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/
Dproto3_data_stripper.cc37 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 …]
Dgogo_data_scrubber.cc37 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/
DPhpBenchmark.php80 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/
Ddecode-common.js16 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/
DBenchmarkDatasetConfig.cs62 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/
DREADME.md88 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 …]
Dbenchmarks.proto36 // 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/
Dtabs.ts30 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);
Ddisassembly-view.ts52 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;
Dcode-view.ts196 view.onSelectLine(Number(targetDiv.dataset.lineNumber), !e.shiftKey);
212 currentLineElement.dataset.lineNumber = "" + lineNumber;
275 lineNumberElement.dataset.lineNumber = `${lineNumber}`;
/third_party/typescript/tests/baselines/reference/
DimportMeta(module=commonjs,target=esnext).types4 …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
DimportMeta(module=es2020,target=esnext).types4 …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
DimportMeta(module=es2020,target=es5).types4 …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
DimportMeta(module=system,target=es5).types4 …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
DimportMeta(module=esnext,target=esnext).types4 …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
DimportMeta(module=esnext,target=es5).types4 …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
DimportMeta(module=commonjs,target=es5).types4 …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
DimportMeta(module=system,target=esnext).types4 …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
DimportMeta(module=esnext,target=esnext).js9 const size = import.meta.scriptElement.dataset.size || 300;
46 const size = import.meta.scriptElement.dataset.size || 300;
DimportMeta(module=es2020,target=esnext).js9 const size = import.meta.scriptElement.dataset.size || 300;
46 const size = import.meta.scriptElement.dataset.size || 300;
DimportMeta(module=commonjs,target=esnext).js9 const size = import.meta.scriptElement.dataset.size || 300;
48 const size = import.meta.scriptElement.dataset.size || 300;
DimportMeta(module=system,target=esnext).js9 const size = import.meta.scriptElement.dataset.size || 300;
52 const size = context_1.meta.scriptElement.dataset.size || 300;
/third_party/protobuf/benchmarks/go/
Dgo_benchmark_test.go27 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/
DvktSpvAsmTypeTests.cpp808 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 …]

1234