repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
xioTechnologies/Fusion
https://github.com/xioTechnologies/Fusion
null
null
null
null
1,589
null
null
mit
null
null
null
null
null
null
null
Python/imufusion/Model.h
null
null
null
null
null
null
C
2026-05-04T18:21:58.823955
#ifndef MODEL_H #define MODEL_H #include "../../Fusion/Fusion.h" #include "NpArray.h" #include <Python.h> static PyObject *model_inertial(PyObject *self, PyObject *args, PyObject *kwds) { PyObject *uncalibrated_object = NULL; PyObject *misalignment_object = NULL; PyObject *sensitivity_object = NULL; P...
xioTechnologies/Fusion
https://github.com/xioTechnologies/Fusion
null
null
null
null
1,589
null
null
mit
null
null
null
null
null
null
null
Python/imufusion/Convert.h
null
null
null
null
null
null
C
2026-05-04T18:21:58.838631
#ifndef CONVERT_H #define CONVERT_H #include "../../Fusion/Fusion.h" #include "NpArray.h" #include <Python.h> static PyObject *quaternion_to_matrix(PyObject *null, PyObject *arg) { FusionQuaternion quaternion; if (np_array_1x4_to(quaternion.array, arg) != 0) { return NULL; } const FusionMatr...
xioTechnologies/Fusion
https://github.com/xioTechnologies/Fusion
null
null
null
null
1,589
null
null
mit
null
null
null
null
null
null
null
Python/imufusion/imufusion.c
null
null
null
null
null
null
C
2026-05-04T18:21:58.839508
#include "Ahrs.h" #include "AhrsFlags.h" #include "AhrsInternalStates.h" #include "AhrsSettings.h" #include "Bias.h" #include "BiasSettings.h" #include "Compass.h" #include "Convert.h" #include "Model.h" #include <Python.h> #include "Remap.h" static struct PyModuleDef config = { PyModuleDef_HEAD_INIT, "imufusi...
xioTechnologies/Fusion
https://github.com/xioTechnologies/Fusion
null
null
null
null
1,589
null
null
mit
null
null
null
null
null
null
null
Python/imufusion/NpArray.h
null
null
null
null
null
null
C
2026-05-04T18:21:58.840175
#ifndef NP_ARRAY_H #define NP_ARRAY_H #include <numpy/arrayobject.h> #include <Python.h> static int np_array_1x3_to(float *const c_array, PyObject *object) { PyArrayObject *np_array = (PyArrayObject *) PyArray_FROM_OTF(object, NPY_FLOAT, NPY_ARRAY_IN_ARRAY | NPY_ARRAY_FORCECAST); if (np_array == NULL) { ...
xioTechnologies/Fusion
https://github.com/xioTechnologies/Fusion
null
null
null
null
1,589
null
null
mit
null
null
null
null
null
null
null
Python/imufusion/Remap.h
null
null
null
null
null
null
C
2026-05-04T18:21:58.888074
#ifndef REMAP_H #define REMAP_H #include "../../Fusion/Fusion.h" #include "NpArray.h" #include <Python.h> static int remap_alignment_from(FusionRemapAlignment *const alignment, const int alignment_int) { switch (alignment_int) { case FusionRemapAlignmentPXPYPZ: case FusionRemapAlignmentPXPZNY: ...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/addr2line.h
null
null
null
null
null
null
C
2026-05-04T18:22:03.251836
/********************************************************************** addr2line.h - $Author$ Copyright (C) 2010 Shinichiro Hamaji **********************************************************************/ #ifndef RUBY_ADDR2LINE_H #define RUBY_ADDR2LINE_H #if (defined(USE_ELF) || defined(HAVE_MACH_O_LOADER_H)...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/ccan/str/str.h
null
null
null
null
null
null
C
2026-05-04T18:22:04.103719
/* CC0 (Public domain) - see ccan/licenses/CC0 file for details */ #ifndef CCAN_STR_H #define CCAN_STR_H /** * stringify - Turn expression into a string literal * @expr: any C expression * * Example: * #define PRINT_COND_IF_FALSE(cond) \ * ((cond) || printf("%s is false!", stringify(cond))) */ #define stringify...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/ccan/container_of/container_of.h
null
null
null
null
null
null
C
2026-05-04T18:22:04.313401
/* CC0 (Public domain) - see ccan/licenses/CC0 file for details */ #ifndef CCAN_CONTAINER_OF_H #define CCAN_CONTAINER_OF_H #include "ccan/check_type/check_type.h" /** * container_of - get pointer to enclosing structure * @member_ptr: pointer to the structure member * @containing_type: the type this member is within...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/ccan/check_type/check_type.h
null
null
null
null
null
null
C
2026-05-04T18:22:04.331737
/* CC0 (Public domain) - see ccan/licenses/CC0 file for details */ #ifndef CCAN_CHECK_TYPE_H #define CCAN_CHECK_TYPE_H /** * check_type - issue a warning or build failure if type is not correct. * @expr: the expression whose type we should check (not evaluated). * @type: the exact type we expect the expression to b...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/builtin.c
null
null
null
null
null
null
C
2026-05-04T18:22:04.398904
#include "internal.h" #include "vm_core.h" #include "iseq.h" #include "builtin.h" #if CROSS_COMPILING #define INCLUDED_BY_BUILTIN_C 1 #include "mini_builtin.c" #else #include "builtin_binary.inc" static const unsigned char* builtin_lookup(const char *feature, size_t *psize) { static int index = 0; int i = ...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/ccan/list/list.h
null
null
null
null
null
null
C
2026-05-04T18:22:04.447529
/* Licensed under BSD-MIT - see ccan/licenses/BSD-MIT file for details */ #ifndef CCAN_LIST_H #define CCAN_LIST_H #include <assert.h> #include "ccan/str/str.h" #include "ccan/container_of/container_of.h" #include "ccan/check_type/check_type.h" /** * struct list_node - an entry in a doubly-linked list * @next: next e...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/builtin.h
null
null
null
null
null
null
C
2026-05-04T18:22:04.509694
#ifndef BUILTIN_H_INCLUDED #define BUILTIN_H_INCLUDED // invoke struct rb_builtin_function { // for invocation const void * const func_ptr; const int argc; // for load const int index; const char * const name; }; #define RB_BUILTIN_FUNCTION(_i, _name, _fname, _arity) { \ .name = #_name, \ ...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/ccan/build_assert/build_assert.h
null
null
null
null
null
null
C
2026-05-04T18:22:04.589787
/* CC0 (Public domain) - see ccan/licenses/CC0 file for details */ #ifndef CCAN_BUILD_ASSERT_H #define CCAN_BUILD_ASSERT_H /** * BUILD_ASSERT - assert a build-time dependency. * @cond: the compile-time condition which must be true. * * Your compile will fail if the condition isn't true, or can't be evaluated * by...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/addr2line.c
null
null
null
null
null
null
C
2026-05-04T18:22:04.699051
/********************************************************************** addr2line.c - $Author$ Copyright (C) 2010 Shinichiro Hamaji **********************************************************************/ #if defined(__clang__) #pragma clang diagnostic ignored "-Wgnu-empty-initializer" #pragma clang diagnosti...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/compar.c
null
null
null
null
null
null
C
2026-05-04T18:22:04.758949
/********************************************************************** compar.c - $Author$ created at: Thu Aug 26 14:39:48 JST 1993 Copyright (C) 1993-2007 Yukihiro Matsumoto **********************************************************************/ #include "ruby/ruby.h" #include "id.h" #include "internal.h...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/ast.c
null
null
null
null
null
null
C
2026-05-04T18:22:04.812339
/* indent-tabs-mode: nil */ #include "ruby.h" #include "ruby/encoding.h" #include "ruby/util.h" #include "internal.h" #include "node.h" #include "vm_core.h" #include "iseq.h" #include "builtin.h" static VALUE rb_mAST; static VALUE rb_cNode; struct ASTNodeData { rb_ast_t *ast; NODE *node; }; static void node_...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/complex.c
null
null
null
null
null
null
C
2026-05-04T18:22:04.943448
/* complex.c: Coded by Tadayoshi Funaba 2008-2012 This implementation is based on Keiju Ishitsuka's Complex library which is written in ruby. */ #include "ruby/config.h" #if defined _MSC_VER /* Microsoft Visual C does not define M_PI and others by default */ # define _USE_MATH_DEFINES 1 #endif #include <math.h>...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/constant.h
null
null
null
null
null
null
C
2026-05-04T18:22:04.970949
/********************************************************************** constant.h - $Author$ created at: Sun Nov 15 00:09:33 2009 Copyright (C) 2009 Yusuke Endoh **********************************************************************/ #ifndef CONSTANT_H #define CONSTANT_H typedef enum { CONST_DEPRECATE...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/cont.c
null
null
null
null
null
null
C
2026-05-04T18:22:05.004957
/********************************************************************** cont.c - $Author$ created at: Thu May 23 09:03:43 2007 Copyright (C) 2007 Koichi Sasada **********************************************************************/ #include "internal.h" #include "vm_core.h" #include "gc.h" #include "eval_i...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/coroutine/arm32/Context.h
null
null
null
null
null
null
C
2026-05-04T18:22:05.135997
/* * This file is part of the "Coroutine" project and released under the MIT License. * * Created by Samuel Williams on 10/5/2018. * Copyright, 2018, by Samuel Williams. All rights reserved. */ #pragma once #include <assert.h> #include <string.h> #define COROUTINE __attribute__((noreturn)) void #define COROUT...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/coroutine/arm64/Context.h
null
null
null
null
null
null
C
2026-05-04T18:22:05.151298
/* * This file is part of the "Coroutine" project and released under the MIT License. * * Created by Samuel Williams on 10/5/2018. * Copyright, 2018, by Samuel Williams. All rights reserved. */ #pragma once #include <assert.h> #include <string.h> #define COROUTINE __attribute__((noreturn)) void enum {COROUTI...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/coroutine/amd64/Context.h
null
null
null
null
null
null
C
2026-05-04T18:22:05.207895
/* * This file is part of the "Coroutine" project and released under the MIT License. * * Created by Samuel Williams on 10/5/2018. * Copyright, 2018, by Samuel Williams. All rights reserved. */ #pragma once #include <assert.h> #include <string.h> #define COROUTINE __attribute__((noreturn)) void enum {COROUTI...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/coroutine/copy/Context.c
null
null
null
null
null
null
C
2026-05-04T18:22:05.344862
/* * This file is part of the "Coroutine" project and released under the MIT License. * * Created by Samuel Williams on 24/6/2019. * Copyright, 2019, by Samuel Williams. All rights reserved. */ #include "Context.h" // http://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html #ifndef __GNUC__ #define __asm__ as...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/coroutine/copy/Context.h
null
null
null
null
null
null
C
2026-05-04T18:22:05.369731
/* * This file is part of the "Coroutine" project and released under the MIT License. * * Created by Samuel Williams on 27/6/2019. * Copyright, 2019, by Samuel Williams. All rights reserved. */ #pragma once #include <assert.h> #include <stddef.h> #include <setjmp.h> #include <string.h> #include <stdlib.h> #inc...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/coroutine/ppc64le/Context.h
null
null
null
null
null
null
C
2026-05-04T18:22:05.445687
#pragma once #include <assert.h> #include <string.h> #define COROUTINE __attribute__((noreturn)) void enum { COROUTINE_REGISTERS = 19 /* 18 general purpose registers (r14-r31) and 1 return address */ + 4 /* space for fiber_entry() to store the link register */ }; struct coroutine_context { void **stack_...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/coroutine/ucontext/Context.c
null
null
null
null
null
null
C
2026-05-04T18:22:05.596275
/* * This file is part of the "Coroutine" project and released under the MIT License. * * Created by Samuel Williams on 24/6/2019. * Copyright, 2019, by Samuel Williams. All rights reserved. */ /* According to Solaris' ucontext.h, makecontext, etc. are removed in SUSv4. * To enable the prototype declarations, ...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/coroutine/ucontext/Context.h
null
null
null
null
null
null
C
2026-05-04T18:22:05.614322
/* * This file is part of the "Coroutine" project and released under the MIT License. * * Created by Samuel Williams on 24/6/2019. * Copyright, 2019, by Samuel Williams. All rights reserved. */ #pragma once #include <assert.h> #include <stddef.h> #include <ucontext.h> #define COROUTINE __attribute__((noreturn...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/coroutine/win64/Context.h
null
null
null
null
null
null
C
2026-05-04T18:22:05.727296
/* * This file is part of the "Coroutine" project and released under the MIT License. * * Created by Samuel Williams on 10/5/2018. * Copyright, 2018, by Samuel Williams. All rights reserved. */ #pragma once #include <assert.h> #include <string.h> #define COROUTINE __declspec(noreturn) void enum { COROUTI...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/coroutine/win32/Context.h
null
null
null
null
null
null
C
2026-05-04T18:22:05.748055
/* * This file is part of the "Coroutine" project and released under the MIT License. * * Created by Samuel Williams on 10/5/2018. * Copyright, 2018, by Samuel Williams. All rights reserved. */ #pragma once #include <assert.h> #include <string.h> #define COROUTINE __declspec(noreturn) void __fastcall #define ...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/coroutine/x86/Context.h
null
null
null
null
null
null
C
2026-05-04T18:22:05.821156
/* * This file is part of the "Coroutine" project and released under the MIT License. * * Created by Samuel Williams on 3/11/2018. * Copyright, 2018, by Samuel Williams. All rights reserved. */ #pragma once #include <assert.h> #include <string.h> #define COROUTINE __attribute__((noreturn, fastcall)) void #def...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/debug.c
null
null
null
null
null
null
C
2026-05-04T18:22:05.826918
/********************************************************************** debug.c - $Author$ created at: 04/08/25 02:31:54 JST Copyright (C) 2004-2007 Koichi Sasada **********************************************************************/ #include "ruby/ruby.h" #include "ruby/encoding.h" #include "ruby/io.h" #...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/debug_counter.h
null
null
null
null
null
null
C
2026-05-04T18:22:05.957791
/********************************************************************** debug_counter.h - created at: Tue Feb 21 16:51:18 2017 Copyright (C) 2017 Koichi Sasada **********************************************************************/ #ifndef USE_DEBUG_COUNTER #define USE_DEBUG_COUNTER 0 #endif #ifdef RB_DEBUG...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/debug_counter.c
null
null
null
null
null
null
C
2026-05-04T18:22:05.979822
/********************************************************************** debug_counter.c - created at: Tue Feb 21 16:51:18 2017 Copyright (C) 2017 Koichi Sasada **********************************************************************/ #include "internal.h" #include "debug_counter.h" #include <stdio.h> #include ...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/dir.c
null
null
null
null
null
null
C
2026-05-04T18:22:06.029284
/********************************************************************** dir.c - $Author$ created at: Wed Jan 5 09:51:01 JST 1994 Copyright (C) 1993-2007 Yukihiro Matsumoto Copyright (C) 2000 Network Applied Communication Laboratory, Inc. Copyright (C) 2000 Information-technology Promotion Agency, Japa...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/dln.c
null
null
null
null
null
null
C
2026-05-04T18:22:06.201962
/********************************************************************** dln.c - $Author$ created at: Tue Jan 18 17:05:06 JST 1994 Copyright (C) 1993-2007 Yukihiro Matsumoto **********************************************************************/ #ifdef RUBY_EXPORT #include "ruby/ruby.h" #define dln_notimple...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/dln.h
null
null
null
null
null
null
C
2026-05-04T18:22:06.316950
/********************************************************************** dln.h - $Author$ created at: Wed Jan 19 16:53:09 JST 1994 Copyright (C) 1993-2007 Yukihiro Matsumoto **********************************************************************/ #ifndef DLN_H #define DLN_H #ifdef __cplusplus # ifndef HAVE...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/dln_find.c
null
null
null
null
null
null
C
2026-05-04T18:22:06.357904
/********************************************************************** dln_find.c - $Author$ created at: Tue Jan 18 17:05:06 JST 1994 Copyright (C) 1993-2007 Yukihiro Matsumoto **********************************************************************/ #ifdef RUBY_EXPORT #include "ruby/ruby.h" #define dln_war...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/dmydln.c
null
null
null
null
null
null
C
2026-05-04T18:22:06.405703
#include "ruby/ruby.h" NORETURN(void *dln_load(const char *)); void* dln_load(const char *file) { rb_loaderror("this executable file can't load extension libraries"); UNREACHABLE_RETURN(NULL); }
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/dmyenc.c
null
null
null
null
null
null
C
2026-05-04T18:22:06.449849
#define require(name) ruby_require_internal(name, (unsigned int)sizeof(name)-1) int ruby_require_internal(const char *, int); void Init_enc(void) { if (require("enc/encdb.so") == 1) { require("enc/trans/transdb.so"); } }
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/cesu_8.c
null
null
null
null
null
null
C
2026-05-04T18:22:06.650360
/********************************************************************** cesu_8.c - Oniguruma (regular expression library) **********************************************************************/ /*- * Copyright (c) 2002-2007 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> * All rights reserved. * * Redistribution and ...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/ascii.c
null
null
null
null
null
null
C
2026-05-04T18:22:06.674331
/********************************************************************** ascii.c - Onigmo (Oniguruma-mod) (regular expression library) **********************************************************************/ /*- * Copyright (c) 2002-2006 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> * Copyright (c) 2011 K.Takata ...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/big5.c
null
null
null
null
null
null
C
2026-05-04T18:22:06.766125
/********************************************************************** big5.c - Oniguruma (regular expression library) **********************************************************************/ /*- * Copyright (c) 2002-2007 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> * All rights reserved. * * Redistribution and us...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/cp949.c
null
null
null
null
null
null
C
2026-05-04T18:22:06.777682
/********************************************************************** cp949.c - Oniguruma (regular expression library) **********************************************************************/ /*- * Copyright (c) 2002-2007 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> * All rights reserved. * * Redistribution and u...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/ebcdic.h
null
null
null
null
null
null
C
2026-05-04T18:22:06.953976
#include "regenc.h" /* dummy for unsupported, non-ascii-based encoding */ ENC_DUMMY("IBM037"); ENC_ALIAS("ebcdic-cp-us", "IBM037"); /* we start with just defining a single EBCDIC encoding, * hopefully the most widely used one. * * See http://www.iana.org/assignments/character-sets/character-sets.xhtml * http:/...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/encdb.c
null
null
null
null
null
null
C
2026-05-04T18:22:06.995650
/********************************************************************** enc/encdb.c - $Author$ created at: Mon Apr 7 15:51:31 2008 Copyright (C) 2008 Yukihiro Matsumoto **********************************************************************/ #include "internal.h" #define ENC_REPLICATE(name, orig) rb_encdb...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/euc_jp.c
null
null
null
null
null
null
C
2026-05-04T18:22:07.031774
/********************************************************************** euc_jp.c - Onigmo (Oniguruma-mod) (regular expression library) **********************************************************************/ /*- * Copyright (c) 2002-2008 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> * Copyright (c) 2011 K.Takata...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/emacs_mule.c
null
null
null
null
null
null
C
2026-05-04T18:22:07.094513
/********************************************************************** emacs_mule.c - Oniguruma (regular expression library) **********************************************************************/ /*- * Copyright (c) 2002-2007 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> * All rights reserved. * * Redistribution ...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/gbk.c
null
null
null
null
null
null
C
2026-05-04T18:22:07.492734
/********************************************************************** gbk.c - Oniguruma (regular expression library) **********************************************************************/ /*- * Copyright (c) 2002-2007 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> * All rights reserved. * * Redistribution and use...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/euc_tw.c
null
null
null
null
null
null
C
2026-05-04T18:22:07.493380
/********************************************************************** euc_tw.c - Oniguruma (regular expression library) **********************************************************************/ /*- * Copyright (c) 2002-2008 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> * All rights reserved. * * Redistribution and ...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/euc_kr.c
null
null
null
null
null
null
C
2026-05-04T18:22:07.494131
/********************************************************************** euc_kr.c - Oniguruma (regular expression library) **********************************************************************/ /*- * Copyright (c) 2002-2007 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> * All rights reserved. * * Redistribution and ...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/gb18030.c
null
null
null
null
null
null
C
2026-05-04T18:22:07.494634
/********************************************************************** gb18030.c - Oniguruma (regular expression library) **********************************************************************/ /*- * Copyright (c) 2005-2007 KUBO Takehiro <kubo AT jiubao DOT org> * K.Kosako <sndgk393 AT y...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/iso_2022_jp.h
null
null
null
null
null
null
C
2026-05-04T18:22:07.888869
#include "regenc.h" /* dummy for unsupported, stateful encoding */ ENC_DUMMY("ISO-2022-JP"); ENC_ALIAS("ISO2022-JP", "ISO-2022-JP"); ENC_REPLICATE("ISO-2022-JP-2", "ISO-2022-JP"); ENC_ALIAS("ISO2022-JP2", "ISO-2022-JP-2"); /* * Name: CP50220 * MIBenum: 2260 * Link: http://www.iana.org/assignments/charset-reg/CP5022...
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/enc/gb2312.c
null
null
null
null
null
null
C
2026-05-04T18:22:07.954852
#include "regenc.h" void Init_gb2312(void) { } ENC_REPLICATE("GB2312", "EUC-KR") ENC_ALIAS("EUC-CN", "GB2312") ENC_ALIAS("eucCN", "GB2312") ENC_REPLICATE("GB12345", "GB2312")
pmq20/ruby-packer
https://github.com/pmq20/ruby-packer
null
null
null
null
1,588
null
null
mit
null
null
null
null
null
null
null
ruby/class.c
null
null
null
null
null
null
C
2026-05-04T18:22:09.882253
/********************************************************************** class.c - $Author$ created at: Tue Aug 10 15:05:44 JST 1993 Copyright (C) 1993-2007 Yukihiro Matsumoto **********************************************************************/ /*! * \defgroup class Classes and their hierarchy. * \par ...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/d3d11/microprofile.config.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.096174
#define MICROPROFILE_ENABLED 1 #define MICROPROFILE_GPU_TIMERS_D3D11 1 #define MICROPROFILE_GPU_TIMERS_D3D12 1
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/d3d12/d3dx12.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.097432
////////////////////////////////////////////////////////////////////////////// // // Copyright (C) Microsoft Corporation. All Rights Reserved. // // File: d3dx12.h // Content: D3DX12 utility library // ////////////////////////////////////////////////////////////////////////////// #ifndef __D3DX12...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/c/microprofile.config.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.116349
#define MICROPROFILE_ENABLED 1 #ifdef _WIN32 #define MICROPROFILE_GPU_TIMERS_D3D11 1 #define MICROPROFILE_GPU_TIMERS_D3D12 1 #endif
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/d3d12_multithreading/d3dx12.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.117825
////////////////////////////////////////////////////////////////////////////// // // Copyright (C) Microsoft Corporation. All Rights Reserved. // // File: d3dx12.h // Content: D3DX12 utility library // ////////////////////////////////////////////////////////////////////////////// #ifndef __D3DX12...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/c/demo.c
null
null
null
null
null
null
C
2026-05-04T18:22:14.119822
// MIT License // Copyright (c) 2019 Jonas Meyer // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, mer...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/dynamic_instrument/microprofile.config.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.133217
#define MICROPROFILE_DYNAMIC_INSTRUMENT_ENABLE #define MICROPROFILE_ENABLED 1 #define MICROPROFILE_GPU_TIMERS 0
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/d3d12/microprofile.config.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.135007
#define MICROPROFILE_ENABLED 1 #define MICROPROFILE_IMGUI 1 #define MICROPROFILE_GPU_TIMERS_D3D11 1 #define MICROPROFILE_GPU_TIMERS_D3D12 1 #define MICROPROFILE_GPU_TIMERS_MULTITHREADED 1
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/d3d12_multithreading/SquidRoom.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.136362
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/d3d12_multithreading/microprofile.config.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.176974
#define MICROPROFILE_GPU_FRAME_DELAY 5 #define MICROPROFILE_GPU_TIMERS_D3D12 1 #define MICROPROFILE_ENABLED 1 #define MICROPROFILE_GPU_TIMERS_MULTITHREADED 1
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/gl/glinc.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.178141
// MIT License // // Copyright (c) 2019 Jonas Meyer // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify,...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/gl/microprofile.config.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.724947
#define MICROPROFILE_GPU_TIMERS_GL 1 #define MICROPROFILE_ENABLED 1 #define MICROPROFILE_GPU_TIMERS_MULTITHREADED 1 #ifdef MICROPROFILE_IMPL #include <GL/glew.h> #endif
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/vulkan/HelpersDispatchTable.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.790556
// This file is generated. #ifndef HELPERSDISPATCHTABLE_H #define HELPERSDISPATCHTABLE_H #include <vulkan/vulkan.h> namespace vk { // VK_core extern PFN_vkCreateInstance CreateInstance; extern PFN_vkDestroyInstance DestroyInstance; extern PFN_vkEnumeratePhysicalDevices EnumeratePhysicalDevices; extern PFN_vkGetPhysi...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/glew/GL/wglew.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.797865
/* ** The OpenGL Extension Wrangler Library ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org> ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org> ** Copyright (C) 2002, Lev Povalahev ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** mo...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/vulkan/Game.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.808306
/* * Copyright (C) 2016 Google, Inc. * * 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 agree...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/vulkan/Hologram.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.818614
/* * Copyright (C) 2016 Google, Inc. * * 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 agree...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/glew/GL/glxew.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.820117
/* ** The OpenGL Extension Wrangler Library ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org> ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org> ** Copyright (C) 2002, Lev Povalahev ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** mo...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/vulkan/Helpers.h
null
null
null
null
null
null
C
2026-05-04T18:22:14.847577
/* * Copyright (C) 2016 Google, Inc. * * 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 agree...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/vulkan/Shell.h
null
null
null
null
null
null
C
2026-05-04T18:22:15.453025
/* * Copyright (C) 2016 Google, Inc. * * 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 agree...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/vulkan/ShellWin32.h
null
null
null
null
null
null
C
2026-05-04T18:22:15.477020
/* * Copyright (C) 2016 Google, Inc. * * 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 agree...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/vulkan/Meshes.h
null
null
null
null
null
null
C
2026-05-04T18:22:15.518256
/* * Copyright (C) 2016 Google, Inc. * * 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 agree...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/vulkan/ShellAndroid.h
null
null
null
null
null
null
C
2026-05-04T18:22:15.519666
/* * Copyright (C) 2016 Google, Inc. * * 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 agree...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/vulkan/ShellXcb.h
null
null
null
null
null
null
C
2026-05-04T18:22:15.536617
/* * Copyright (C) 2016 Google, Inc. * * 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 agree...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/vulkan/Simulation.h
null
null
null
null
null
null
C
2026-05-04T18:22:15.579597
/* * Copyright (C) 2016 Google, Inc. * * 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 agree...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/workbench/microprofile.config.h
null
null
null
null
null
null
C
2026-05-04T18:22:15.580573
#define MICROPROFILE_ENABLED 1 #define MICROPROFILE_FRAME_EXTRA_DATA 1 #define MICROPROFILE_DYNAMIC_INSTRUMENT_ENABLE
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
demo/workbench/test.c
null
null
null
null
null
null
C
2026-05-04T18:22:15.933120
#include "microprofile.h" #ifndef _WIN32 #include <unistd.h> #endif void C_Test() { MICROPROFILE_ENTERI("C", "C_TEST", 0xff00ff); for(uint32_t i = 0; i < 20; ++i) { MICROPROFILE_ENTERI("C", "C_TEST_INNER", 0xff00ff); #ifndef _WIN32 //usleep(10); #endif MICROPROFILE_LEAVE(); } MICROPROFILE_LEAVE(); }
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
microprofile_icons.h
null
null
null
null
null
null
C
2026-05-04T18:22:16.363483
#ifdef MICROPROFILE_EMBED_HTML #include <stdint.h> const uint32_t uprof_16[] = { 0x474e5089, 0x0a1a0a0d, 0x0d000000, 0x52444849, 0x10000000, 0x10000000, 0x00000308, 0x0f2d2800, 0x00000053, 0x47527301, 0xc9d90142, 0x00007f2c, 0x48700900, 0x00007359, 0x0000130b, 0x0001130b, 0x00189c9a, 0x50ff0000, 0x0045544c, 0x3d1...
jonasmr/microprofile
https://github.com/jonasmr/microprofile
null
null
null
null
1,584
null
null
mit
null
null
null
null
null
null
null
src/embed.c
null
null
null
null
null
null
C
2026-05-04T18:22:17.062349
#include <stdio.h> #include <stdlib.h> #include <string.h> //minimal tool to embed src html into microprofile.h char* ReadFile(const char* pFile) { FILE* F = fopen(pFile, "r"); if(!F) return 0; fseek(F, 0, SEEK_END); long size = ftell(F); char* pData = (char*)malloc(size + 1); fseek(F, 0, SEEK_SET); size = f...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/sampler.h
null
null
null
null
null
null
C
2026-05-04T18:22:20.441126
#ifndef SAMPLER_H #define SAMPLER_H #include <stdint.h> typedef struct { float temperature; float top_p; uint64_t rng_state; /* xorshift64 state */ } sampler_t; /* Initialize sampler with given parameters */ void sampler_init(sampler_t *s, float temperature, float top_p, uint64_t seed); /* Sampl...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/model.c
null
null
null
null
null
null
C
2026-05-04T18:22:20.455070
#include "model.h" #include "tensor.h" #include "quant.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> #else #include <fcntl.h> #include <sys/mman.h> #include <sys/stat.h> #include <unistd.h> #endif /* ---- GGUF metadata v...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/grammar.h
null
null
null
null
null
null
C
2026-05-04T18:22:20.455586
#ifndef GRAMMAR_H #define GRAMMAR_H #include "tokenizer.h" /* Grammar-constrained sampling for reliable JSON output. * * When enabled, masks logits before sampling to ensure the output * is always syntactically valid JSON. This is critical for PicoClaw * tool calling where even a tiny model needs to produce parse...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/picolm.c
null
null
null
null
null
null
C
2026-05-04T18:22:20.476267
#include "model.h" #include "tensor.h" #include "tokenizer.h" #include "sampler.h" #include "grammar.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef _WIN32 #include <windows.h> static double get_time_ms(void) { LARGE_INTEGER freq, count; QueryPerformanceFrequency(&freq); QueryPerforma...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/quant.c
null
null
null
null
null
null
C
2026-05-04T18:22:20.477141
#include "quant.h" #include <string.h> #include <math.h> #include <stdio.h> #include <stdlib.h> /* ================================================================ * FP16 <-> FP32 conversion (software, no hardware dependency) * ================================================================ */ float fp16_to_fp32(u...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/sampler.c
null
null
null
null
null
null
C
2026-05-04T18:22:20.506916
#include "sampler.h" #include "tensor.h" /* for softmax */ #include <stdint.h> #include <stdlib.h> #include <string.h> /* ---- xorshift64 RNG ---- */ static uint64_t xorshift64(uint64_t *state) { uint64_t x = *state; x ^= x << 13; x ^= x >> 7; x ^= x << 17; *state = x; return x; } static flo...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/grammar.c
null
null
null
null
null
null
C
2026-05-04T18:22:20.507635
#include "grammar.h" #include <stdlib.h> #include <string.h> #include <stdio.h> #define NEG_INF (-1e30f) /* ---- Per-token analysis ---- */ /* Count net brace/bracket deltas and check for unmatched quotes in a token string. * This is done once at init time, not at every sampling step. */ static void analyze_token(c...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/model.h
null
null
null
null
null
null
C
2026-05-04T18:22:20.640135
#ifndef MODEL_H #define MODEL_H #include "quant.h" #include <stdint.h> #include <stddef.h> #define GGUF_MAGIC 0x46554747 #define MAX_LAYERS 64 /* Magic for KV cache files */ #define KVCACHE_MAGIC 0x4B564350 /* "KVCP" */ /* ---- Configuration ---- */ typedef struct { int n_embd; /* embedding dimension ...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/quant.h
null
null
null
null
null
null
C
2026-05-04T18:22:20.641004
#ifndef QUANT_H #define QUANT_H #include <stdint.h> #include <stddef.h> /* ---- SIMD detection ---- */ #if defined(__ARM_NEON) || defined(__ARM_NEON__) #define PICOLM_NEON 1 #include <arm_neon.h> static inline float vaddvq_f32_compat(float32x4_t v) { #if defined(__aarch64__) return vaddvq_f32(v); #else float3...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/tensor.c
null
null
null
null
null
null
C
2026-05-04T18:22:20.641858
#include "tensor.h" #include <math.h> #include <string.h> #include <stdio.h> #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> #else #include <pthread.h> #endif /* ---- Scratch buffer (kept for dequantize_row in model.c) ---- */ static float *scratch_buf = NULL; static int scratch_size = 0; void ten...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/tensor.h
null
null
null
null
null
null
C
2026-05-04T18:22:21.465294
#ifndef TENSOR_H #define TENSOR_H #include "quant.h" #define MAX_THREADS 16 /* Set the scratch buffer used for row dequantization (embedding lookup, etc). * Must be called once at init with a buffer of at least max_row_size floats. */ void tensor_init_scratch(float *buf, int size); /* Set number of threads for mat...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/tokenizer.c
null
null
null
null
null
null
C
2026-05-04T18:22:21.466176
#include "tokenizer.h" #include <stdio.h> #include <stdlib.h> #include <string.h> /* ---- GGUF string reader (reused from model.c logic) ---- */ static uint64_t read_u64_at(const uint8_t **p) { uint64_t v; memcpy(&v, *p, 8); *p += 8; return v; } /* ---- Sorted index for binary search ---- */ static ...
RightNow-AI/picolm
https://github.com/RightNow-AI/picolm
null
null
null
null
1,583
null
null
mit
null
null
null
null
null
null
null
picolm/tokenizer.h
null
null
null
null
null
null
C
2026-05-04T18:22:22.400986
#ifndef TOKENIZER_H #define TOKENIZER_H #include "model.h" #include <stdint.h> typedef struct { char **vocab; /* vocab[i] = string for token i */ float *scores; /* BPE merge scores */ int vocab_size; int *sorted_idx; /* indices sorted by vocab string for binary search */ uint3...
kuba--/zip
https://github.com/kuba--/zip
null
null
null
null
1,580
null
null
mit
null
null
null
null
null
null
null
test/test_entry.c
null
null
null
null
null
null
C
2026-05-04T18:22:25.243451
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <zip.h> #include "minunit.h" #if defined(_WIN32) || defined(_WIN64) #include <io.h> #define MKTEMP _mktemp #define UNLINK _unlink #else #define MKTEMP mkstemp #define UNLINK unlink #endif #define MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE ...
kuba--/zip
https://github.com/kuba--/zip
null
null
null
null
1,580
null
null
mit
null
null
null
null
null
null
null
fuzz/fuzz_stream.c
null
null
null
null
null
null
C
2026-05-04T18:22:25.259624
#include "zip.h" #include <assert.h> #include <stdint.h> #include <stdlib.h> int LLVMFuzzerTestOneInput(const uint8_t *data, const size_t size) { /* Discard inputs larger than 1MB. */ static const size_t MaxSize = 1024 * 1024; if (size < 1 || size > MaxSize) { return 0; } char *outbuf = NULL; size_t o...
kuba--/zip
https://github.com/kuba--/zip
null
null
null
null
1,580
null
null
mit
null
null
null
null
null
null
null
test/test_append.c
null
null
null
null
null
null
C
2026-05-04T18:22:25.270474
#include <stdio.h> #include <stdlib.h> #include <zip.h> #include "minunit.h" #if defined(_WIN32) || defined(_WIN64) #include <io.h> #define MKTEMP _mktemp #define UNLINK _unlink #else #define MKTEMP mkstemp #define UNLINK unlink #endif static char ZIPNAME[L_tmpnam + 1] = {0}; static int total_entries = 0; #define...
kuba--/zip
https://github.com/kuba--/zip
null
null
null
null
1,580
null
null
mit
null
null
null
null
null
null
null
test/test_data.c
null
null
null
null
null
null
C
2026-05-04T18:22:25.275951
#include <stdio.h> #include <stdlib.h> #include <zip.h> #include "minunit.h" #if defined(_WIN32) || defined(_WIN64) #include <io.h> #define MKTEMP _mktemp #else #define MKTEMP mkstemp #endif #define L_TMPNAM 1024 static char DATANAME[L_TMPNAM + 1] = {0}; static char ZIPNAME[L_TMPNAM + 1] = {0}; #define CRC32DATA...
kuba--/zip
https://github.com/kuba--/zip
null
null
null
null
1,580
null
null
mit
null
null
null
null
null
null
null
cmd/zipcli.c
null
null
null
null
null
null
C
2026-05-04T18:22:25.289342
/* * zipcli - create zip archives from the command line * * Usage: * zipcli [-o archive.zip] [-p password] [-l level] [-a] [--] file ... * * Options: * -o FILE output archive (default: out.zip) * -p PASS encrypt with password (Traditional PKWARE Encryption) * -l LEVEL compression level 0-9 (def...
kuba--/zip
https://github.com/kuba--/zip
null
null
null
null
1,580
null
null
mit
null
null
null
null
null
null
null
fuzz/fuzz_entry.c
null
null
null
null
null
null
C
2026-05-04T18:22:25.298606
#include "zip.h" #include <stdint.h> #include <stdlib.h> int LLVMFuzzerTestOneInput(const uint8_t *data, const size_t size) { /* Discard inputs larger than 1MB. */ static const size_t MaxSize = 1024 * 1024; if (size < 1 || size > MaxSize) { return 0; } void *buf = NULL; size_t bufsize = 0; struct zi...