| Date | 05-05-2021 - 10-17-2023 |
| Revision | R3 |
| Author | Guillaume Dua |
| Reviewers | Loïc Joly, Antoine Morrier |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright 2022-2024 NVIDIA Corporation | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <benchmark/benchmark.h> | |
| #include <iostream> | |
| #include <random> | |
| #include <algorithm> | |
| #include <vector> | |
| #include <chrono> | |
| #include <iterator> | |
| #include <execution> | |
| static void count_if_random(benchmark::State& state) |
In this article, we will see how to use
CRTP,std::variantandstd::visitto increase our code performances.
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| /* | |
| * Calculates what Ada Lovelace labeled "B7", which today we would call the 8th | |
| * Bernoulli number. | |
| */ | |
| int main(int argc, char* argv[]) | |
| { | |
| // ------------------------------------------------------------------------ | |
| // Data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0⃣ 0, keycap, zero | |
| 1⃣ 1, number, one | |
| 🕜 1, 30, clock, time, one, thirty, 1:30, one-thirty | |
| 🕐 1, clock, time, one, 00, o’clock, 1:00, one o’clock | |
| 2⃣ 2, number, two | |
| 🕝 2, 30, clock, time, two, thirty, 2:30, two-thirty | |
| 🕑 2, clock, time, two, 00, o’clock, 2:00, two o’clock | |
| 3⃣ 3, keycap, three | |
| 🕞 3, 30, three, clock, time, thirty, 3:30, three-thirty | |
| 🕒 3, three, clock, time, 00, o’clock, 3:00, three o’clock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include <type_traits> | |
| #include <limits> | |
| // The default enumeration category. Conversion is equivalent to static_cast. | |
| // Unspecialized enumeration traits use this category. | |
| struct enum_default { }; | |
| // The standard-layout enumeration category. Values outside the given range are |
NewerOlder
