Jackalope / jlib (public) (License: GPLv3 or later) (since 2019-11-18) (hash sha1)
jlib C++ template library
Used to replace std functionality without exception handling.
- data structures
- filesystem routines
- crossplatform threads interface (currently only pthreads implementation)
- thread pool
- crossplatform dynamic memory functions interface (allocate, reallocate, deallocate) with alignment support
- high percision timer routines based on timespec
List of commits:
Subject Hash Author Date (UTC)
darray function insert dummy item without size checking b3bf411a1545760ee5a7dc8f5afc455335a1927e Jackalope 2020-02-04 05:35:07
changed array2D and array3D template arguments order 37f03f7de5ccc7fbc0c3c77db0b9f0c10e0dc027 jp.larry 2020-01-14 00:28:33
debug assert voiding msg on release 4fe51953aedb28bdcac8b43184dcff6bc5a7c4eb jp.larry 2020-01-10 10:49:49
max min and max constexpr c1110b3513eef049cf717f1f41782474d5e1d6fa jp.larry 2020-01-06 07:26:09
last and first functions for array 5c5883b926743d897e921f5bdeab6c71856ad2ff jp.larry 2020-01-05 03:21:48
check if cut resize size is 0 a96cfa8397b91fd00a2c2d9ba54a066a716db485 jp.larry 2019-12-29 23:05:11
darray identation change 4517cde552dc545b8de0b61f1096003e5d08143e jp.larry 2019-12-29 23:02:50
sharray identation fixed aa721791d655529b1c69060ade81c9e5f3360f51 jp.larry 2019-12-29 22:24:55
darray sorted find_or_insert function d96940317c4b701aa351930a5d7a1dd311424811 jp.larry 2019-12-29 22:21:14
darray cut_if_oversize removed from non-check functions. why it was there? 6a639746490da4059f4517b165a9238f3cb86dfd jp.larry 2019-12-29 22:20:39
new array call_all function 0f4c133956ce154804ea889107a22e79c5d61802 Jackalope 2019-12-28 15:40:51
rarray contructor from range of values a5692aeede43201f9744128a7ce9a2b227e83436 jp.larry 2019-12-28 06:33:39
array init and destroy function 8bdcbcda4f40bb9e5267f9932f52e3d84e27b2d2 jp.larry 2019-12-27 22:18:13
array call all function removed a174efc464dd51adf9cdd850a8b61f6e817016db jp.larry 2019-12-27 20:39:56
array call_all function 01f4adbc7d7e433e77b06e89dab1dbeace11afb3 jp.larry 2019-12-26 01:19:50
time ambigeous operators removed bd281bc6f10f0451257e00a60b18a3e48a564d4b jp.larry 2019-12-23 22:36:12
assert macro fixed e67ca2008ac68451837db3f4296e251d88397c6b Your Name 2019-12-15 14:22:09
compiled on windows mingw with some changes 48eddcacef551d1e486986f94d59d598a23c1510 Jackalope 2019-12-15 07:04:42
function return type was incorrect d095cdc706932415067829757403130aeebc9344 Your Name 2019-12-06 23:04:40
implicit cast for warnings hiding d6dc308d46629d67669202e62ecb6215a5caff75 jp.larry 2019-12-06 17:02:25
Commit b3bf411a1545760ee5a7dc8f5afc455335a1927e - darray function insert dummy item without size checking
Author: Jackalope
Author date (UTC): 2020-02-04 05:35
Committer name: Jackalope
Committer date (UTC): 2020-02-04 05:35
Parent(s): 37f03f7de5ccc7fbc0c3c77db0b9f0c10e0dc027
Signer:
Signing key:
Signing status: N
Tree: f1cebdd3854d2f1766e270cb8876fc0089045e5f
File Lines added Lines deleted
include/jlib/darray.h 8 2
File include/jlib/darray.h changed (mode: 100644) (index 20fab66..2fbb598)
... ... struct jl::darray
258 258
259 259 /// @brief Insert without checking if array is full. /// @brief Insert without checking if array is full.
260 260 /// If array is full, undefined behaviour. /// If array is full, undefined behaviour.
261 void insert_no_resize_check(const T &value) {
261 void insert_dummy_no_resize_check(size_t count = 1) {
262 262 jassert(reserved_count() > 0, "bad use of unsafe insertion"); jassert(reserved_count() > 0, "bad use of unsafe insertion");
263 p_end += sizeof(T);
263 p_end += sizeof (T) * count;
264 }
265
266 /// @brief Insert without checking if array is full.
267 /// If array is full, undefined behaviour.
268 void insert_no_resize_check(const T &value) {
269 insert_dummy_no_resize_check();
264 270 last() = value; last() = value;
265 271 } }
266 272
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/Jackalope/jlib

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/Jackalope/jlib

Clone this repository using git:
git clone git://git.rocketgit.com/user/Jackalope/jlib

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main