This file contains 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
/* | |
stringify.h -- [C++11] concat varaiadic paramaters to string | |
April 22th, 2019 | |
Copyright 2019 yni3 | |
License : Public Domain | |
*/ | |
#pragma once | |
#ifndef __STRINGIFY_H__ | |
#define __STRINGIFY_H__ |
This file contains 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
/* | |
SimpleBinarySemaphore.cpp -- implement for SimpleBinarySemaphore.h | |
Copyright 2018 yni3 | |
License : Public Domain (useful for copy and paste for your project) | |
*/ | |
#include "SimpleBinarySemaphore.h" | |
#include <chrono> | |
#include <mutex> |
This file contains 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
/* | |
SimpleThread.cpp -- implement for SimpleThread.h | |
Copyright 2018 yni3 | |
License : Public Domain (useful for copy and paste for your project) | |
*/ | |
#include "SimpleThread.h" | |
#if defined(_UNIX) || defined(__ANDROID__) || defined(__APPLE__) | |
#include <pthread.h> |
This file contains 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
/* | |
SimpleMutex.cpp -- implement for SimpleMutex.h | |
Copyright 2018 yni3 | |
License : Public Domain (useful for copy and paste for your project) | |
*/ | |
#include "SimpleMutex.h" | |
#include <mutex> | |
#include <utility> |
This file contains 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
/* | |
ARCFOUR.h -- ARCFOUR implemenation | |
Copyright 2018 yni3 | |
License : Public Domain (useful for copy and paste for your project) | |
*/ | |
#pragma once | |
#ifndef __ARCFOUR |
This file contains 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
/* | |
Base32.hpp -- Base32 implemenation | |
Copyright 2018 yni3 | |
License : Public Domain | |
*/ | |
#pragma once | |
#ifndef __BASE32 |
This file contains 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
/* | |
Base32.hpp -- Chacha20 encryption | |
Copyright 2018 yni3 | |
License : Public Domain | |
*/ | |
#pragma once | |
#ifndef __CHACHA20 | |
#define __CHACHA20 |