Microsoft Visual C++ 2005 Redistributable Package (x64)
Microsoft Visual C++ 2005 Redistributable Package (x86)
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
#include <windows.h> | |
#include <stdio.h> | |
#include <assert.h> // for potential error handling, change to real errors in your code | |
int main() | |
{ | |
HANDLE pipe = CreateNamedPipeW( | |
L"\\\\.\\pipe\\lolcat", | |
PIPE_ACCESS_INBOUND | FILE_FLAG_FIRST_PIPE_INSTANCE | FILE_FLAG_OVERLAPPED, | |
PIPE_TYPE_BYTE | PIPE_READMODE_BYTE | PIPE_WAIT | PIPE_REJECT_REMOTE_CLIENTS, |
#define COBJMACROS | |
#define INITGUID | |
#include <intrin.h> | |
#include <windows.h> | |
#include <d3d11.h> | |
#include <gl/GL.h> | |
#include "glext.h" // https://www.opengl.org/registry/api/GL/glext.h | |
#include "wglext.h" // https://www.opengl.org/registry/api/GL/wglext.h |
/* ======================================================================== | |
$File: tools/ctime/ctime.c $ | |
$Date: 2016/05/08 04:16:55PM $ | |
$Revision: 7 $ | |
$Creator: Casey Muratori $ | |
$Notice: | |
The author of this software MAKES NO WARRANTY as to the RELIABILITY, | |
SUITABILITY, or USABILITY of this software. USE IT AT YOUR OWN RISK. |
#include <stdio.h> | |
#define STR2(x) #x | |
#define STR(x) STR2(x) | |
#ifdef _WIN32 | |
#define INCBIN_SECTION ".rdata, \"dr\"" | |
#else | |
#define INCBIN_SECTION ".rodata" | |
#endif |
#include <stdint.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <xmmintrin.h> // SSE | |
#include <immintrin.h> // AVX | |
#ifdef _WIN32 | |
#include <intrin.h> // for __movsb, __movsd, __movsq |
extern "C" | |
{ | |
int _fltused; | |
#ifdef _M_IX86 // following functions are needed only for 32-bit architecture | |
__declspec(naked) void _ftol2() | |
{ | |
__asm | |
{ |
#pragma once | |
#include <exception> | |
#include <stdexcept> | |
#include <utility> | |
template <class T> | |
class Expected | |
{ | |
public: |
#pragma once | |
template <class Fun> | |
class ScopeGuard | |
{ | |
private: | |
Fun f; | |
bool active; | |
public: |
# Warning: this implementation doesn't check if writes or reads will happen | |
# out of input/output buffer range, so that will generate IndexError exception | |
def LZ4_decompress(source, osize): | |
isize = len(source) | |
src = bytearray(source) | |
dst = bytearray(osize) | |
si = 0 |