Since it's impossible to find one concise source anywhere, as far as I can tell:
- C++98:
199711L - C++11:
201103L - C++14:
201402L - C++17:
201703L - C++20:
202002L - C++23:
202302L
Since it's impossible to find one concise source anywhere, as far as I can tell:
199711L201103L201402L201703L202002L202302L| PROCESSOR,ARCHITECTURE,IGNORED | |
| 77B1,ARM-FlexRIO | |
| 77B2,ARM-FlexRIO | |
| 77AC,ARM-FlexRIO | |
| 762F,ARM-cRIO-myRIO | |
| 76D3,ARM-cRIO-myRIO | |
| 76F2,ARM-cRIO-roboRIO | |
| 7AAE,ARM-cRIO-roboRIO | |
| 7740,ARM-cRIO-4-slot | |
| 7741,ARM-cRIO-4-slot |
| /* | |
| * m1cat: a proof of concept for the M1RACLES vulnerability in the Apple M1. | |
| * | |
| * This program implements a covert channel that can be used to transmit data | |
| * between two processes when run on the Apple Silicon "M1" CPUs. | |
| * | |
| * The channel is slightly lossy due to (presumably) the scheduler sometimes | |
| * scheduling us on the wrong CPU cluster, so this PoC sends every byte twice | |
| * together with some metadata/framing bits, which is usually good enough. | |
| * A better approach would be to use proper FEC or something like that. |
| #include <stdio.h> | |
| #define $x ,x | |
| #define $i ,i | |
| #define eval int | |
| #define read scanf | |
| #define $scanfpat "%d", & | |
| #define $(x) ,(x) | |
| #define $open ( | |
| #define $close ) | |
| #define do { |
| /* Compile with -DUSE_READLINE and -lreadline to use readline for input. */ | |
| #include <arpa/inet.h> | |
| #include <errno.h> | |
| #include <poll.h> | |
| #include <signal.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <sys/socket.h> |
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
| function name (id, l) { | |
| function n(){return id=(399*id)%509} | |
| var r="BDGKNPTVZ"[n()%9] | |
| for (var i=1;i<l;i++) r+=i%2?"aeiou"[n()%5]:"bdgknptvz"[n()%9] | |
| return r | |
| }; | |
| // id=seed, l=length | |
| function name (id, l) { | |
| // lcg prng |
| # Xcode 4.3.3 | |
| Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) | |
| Target: x86_64-apple-darwin11.4.0 | |
| Thread model: posix | |
| # Xcode 4.3.2 | |
| Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn) | |
| Target: x86_64-apple-darwin11.4.0 | |
| Thread model: posix |
| var http = require("http"), | |
| url = require("url"), | |
| path = require("path"), | |
| fs = require("fs") | |
| port = process.argv[2] || 8888; | |
| http.createServer(function(request, response) { | |
| var uri = url.parse(request.url).pathname | |
| , filename = path.join(process.cwd(), uri); |