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
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
Example/ObjectiveCExample/ViewController.h
null
null
null
null
null
null
C
2026-05-04T18:43:24.980942
// // ViewController.h // ObjectiveCExample // // Created by Sean Soper on 10/23/15. // // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/compat/ioapi.h
null
null
null
null
null
null
C
2026-05-04T18:43:24.982246
#ifndef ZLIBIOAPI64_H #define ZLIBIOAPI64_H #include <stdint.h> typedef uint64_t ZPOS64_T; #ifndef ZEXPORT # define ZEXPORT #endif #ifdef __cplusplus extern "C" { #endif /***************************************************************************/ #define ZLIB_FILEFUNC_SEEK_SET (0) #define ZLIB_FILE...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/compat/ioapi.c
null
null
null
null
null
null
C
2026-05-04T18:43:24.984176
#include "mz.h" #include "mz_strm.h" #include "mz_strm_mem.h" #include "ioapi.h" typedef struct mz_stream_ioapi_s { mz_stream stream; void *handle; zlib_filefunc_def filefunc; zlib_filefunc64_def filefunc64; } mz_stream_ioapi; /*************************************************************************...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/SSZipArchive.h
null
null
null
null
null
null
C
2026-05-04T18:43:24.994916
// // SSZipArchive.h // SSZipArchive // // Created by Sam Soffes on 7/21/10. // #ifndef _SSZIPARCHIVE_H #define _SSZIPARCHIVE_H #import <Foundation/Foundation.h> #import "SSZipCommon.h" NS_ASSUME_NONNULL_BEGIN extern NSString *const SSZipArchiveErrorDomain; typedef NS_ENUM(NSInteger, SSZipArchiveErrorCode) { ...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/compat/zip.c
null
null
null
null
null
null
C
2026-05-04T18:43:25.563499
/* zip.c -- Backwards compatible zip interface part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng Copyright (C) 1998-2010 Gilles Vollant https://www.winimage.com/zLibDll/minizip.html This program is distributed under the terms of the same license...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/compat/unzip.c
null
null
null
null
null
null
C
2026-05-04T18:43:25.607407
/* zip.c -- Backwards compatible unzip interface part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng Copyright (C) 1998-2010 Gilles Vollant https://www.winimage.com/zLibDll/minizip.html This program is distributed under the terms of the same licen...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_os.c
null
null
null
null
null
null
C
2026-05-04T18:43:25.610666
/* mz_os.c -- System functions part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng Copyright (C) 1998-2010 Gilles Vollant https://www.winimage.com/zLibDll/minizip.html This program is distributed under the terms of the same license as zlib. See...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/compat/unzip.h
null
null
null
null
null
null
C
2026-05-04T18:43:25.620799
/* unzip.h -- Backwards compatible unzip interface part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng Copyright (C) 1998-2010 Gilles Vollant https://www.winimage.com/zLibDll/minizip.html This program is distributed under the terms of the same lic...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/compat/zip.h
null
null
null
null
null
null
C
2026-05-04T18:43:25.621869
/* zip.h -- Backwards compatible zip interface part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng Copyright (C) 1998-2010 Gilles Vollant https://www.winimage.com/zLibDll/minizip.html This program is distributed under the terms of the same license...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_crypt.c
null
null
null
null
null
null
C
2026-05-04T18:43:25.630480
/* mz_crypt.c -- Crypto/hash functions part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #include "mz.h" ...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_os.h
null
null
null
null
null
null
C
2026-05-04T18:43:25.644149
/* mz_os.h -- System functions part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #ifndef MZ_OS_H #define ...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_crypt_apple.c
null
null
null
null
null
null
C
2026-05-04T18:43:25.663372
/* mz_crypt_apple.c -- Crypto/hash functions for Apple part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ ...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_crypt.h
null
null
null
null
null
null
C
2026-05-04T18:43:25.676438
/* mz_crypt.h -- Crypto/hash functions part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #ifndef MZ_CRYPT...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz.h
null
null
null
null
null
null
C
2026-05-04T18:43:25.676984
/* mz.h -- Errors codes, zip flags and magic part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #ifndef MZ...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm.h
null
null
null
null
null
null
C
2026-05-04T18:43:26.201317
/* mz_strm.h -- Stream interface part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #ifndef MZ_STREAM_H #d...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_os_posix.c
null
null
null
null
null
null
C
2026-05-04T18:43:26.229488
/* mz_os_posix.c -- System functions for posix part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #include...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_buf.c
null
null
null
null
null
null
C
2026-05-04T18:43:26.243916
/* mz_strm_buf.c -- Stream for buffering reads/writes part of the minizip-ng project This version of ioapi is designed to buffer IO. Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_mem.c
null
null
null
null
null
null
C
2026-05-04T18:43:26.245979
/* mz_strm_mem.c -- Stream for memory access part of the minizip-ng project This interface is designed to access memory rather than files. We do use a region of memory to put data in to and take it out of. Based on Unzip ioapi.c version 0.22, May 19th, 2003 Copyright (C) Nathan Moinvaziri https:/...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm.c
null
null
null
null
null
null
C
2026-05-04T18:43:26.253097
/* mz_strm.c -- Stream interface part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #include "mz.h" #inclu...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_buf.h
null
null
null
null
null
null
C
2026-05-04T18:43:26.287895
/* mz_strm_buf.h -- Stream for buffering reads/writes part of the minizip-ng project This version of ioapi is designed to buffer IO. Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_mem.h
null
null
null
null
null
null
C
2026-05-04T18:43:26.288450
/* mz_strm_mem.h -- Stream for memory access part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #ifndef M...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_os.h
null
null
null
null
null
null
C
2026-05-04T18:43:26.328146
/* mz_sstrm_os.h -- Stream for filesystem access part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #ifnde...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_os_posix.c
null
null
null
null
null
null
C
2026-05-04T18:43:26.329591
/* mz_strm_posix.c -- Stream for filesystem access for posix/linux part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng Modifications for Zip64 support Copyright (C) 2009-2010 Mathias Svensson http://result42.com Copyright (C) 1998-2010 Gilles ...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_pkcrypt.c
null
null
null
null
null
null
C
2026-05-04T18:43:26.333171
/* mz_strm_pkcrypt.c -- Code for traditional PKWARE encryption part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng Copyright (C) 1998-2005 Gilles Vollant Modifications for Info-ZIP crypting https://www.winimage.com/zLibDll/minizip.html Copy...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_split.h
null
null
null
null
null
null
C
2026-05-04T18:43:27.143662
/* mz_strm_split.h -- Stream for split files part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #ifndef M...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_wzaes.h
null
null
null
null
null
null
C
2026-05-04T18:43:27.148481
/* mz_strm_wzaes.h -- Stream for WinZIP AES encryption part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ ...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_wzaes.c
null
null
null
null
null
null
C
2026-05-04T18:43:27.178281
/* mz_strm_wzaes.c -- Stream for WinZip AES encryption part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng Copyright (C) 1998-2010 Brian Gladman, Worcester, UK This program is distributed under the terms of the same license as zlib. See the accompa...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_zip_rw.c
null
null
null
null
null
null
C
2026-05-04T18:43:27.198173
/* mz_zip_rw.c -- Zip reader/writer part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #include "mz.h" #in...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_pkcrypt.h
null
null
null
null
null
null
C
2026-05-04T18:43:27.273011
/* mz_strm_pkcrypt.h -- Code for traditional PKWARE encryption part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the licen...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_split.c
null
null
null
null
null
null
C
2026-05-04T18:43:27.273558
/* mz_strm_split.c -- Stream for split files part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #include "...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_zlib.c
null
null
null
null
null
null
C
2026-05-04T18:43:27.367019
/* mz_strm_zlib.c -- Stream for zlib inflate/deflate part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_strm_zlib.h
null
null
null
null
null
null
C
2026-05-04T18:43:27.721360
/* mz_strm_zlib.h -- Stream for zlib inflate/deflate part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_zip.h
null
null
null
null
null
null
C
2026-05-04T18:43:28.072654
/* mz_zip.h -- Zip manipulation part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng Copyright (C) 2009-2010 Mathias Svensson Modifications for Zip64 support http://result42.com Copyright (C) 1998-2010 Gilles Vollant https://www.winimage.c...
ZipArchive/ZipArchive
https://github.com/ZipArchive/ZipArchive
null
null
null
null
5,593
null
null
mit
null
null
null
null
null
null
null
SSZipArchive/minizip/mz_zip_rw.h
null
null
null
null
null
null
C
2026-05-04T18:43:28.083173
/* mz_zip_rw.h -- Zip reader/writer part of the minizip-ng project Copyright (C) Nathan Moinvaziri https://github.com/zlib-ng/minizip-ng This program is distributed under the terms of the same license as zlib. See the accompanying LICENSE file for the full text of the license. */ #ifndef MZ_ZIP_RW_H...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
examples/mrbgems/c_extension_example/src/example.c
null
null
null
null
null
null
C
2026-05-04T18:43:30.668662
#include <mruby.h> #include <mruby/string.h> #include <stdio.h> static mrb_value mrb_c_method(mrb_state *mrb, mrb_value self) { mrb_ensure_string_type(mrb, self); printf("%s: A C Extension\n", mrb_str_to_cstr(mrb, self)); return self; } void mrb_c_extension_example_gem_init(mrb_state* mrb) { struct RClass *c...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
examples/mrbgems/c_extension_example/test/example.c
null
null
null
null
null
null
C
2026-05-04T18:43:30.669911
#include <mruby.h> void mrb_c_extension_example_gem_test(mrb_state *mrb) { /* test initializer in C */ }
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/array.h
null
null
null
null
null
null
C
2026-05-04T18:43:30.674153
/** ** @file mruby/array.h - Array class ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_ARRAY_H #define MRUBY_ARRAY_H #include "common.h" /* * Array class */ MRB_BEGIN_DECL typedef struct mrb_shared_array { int refcnt; mrb_ssize len; mrb_value *ptr; } mrb_shared_array; #if defined(MRB_32BIT) && def...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
examples/mrbgems/c_and_ruby_extension_example/src/example.c
null
null
null
null
null
null
C
2026-05-04T18:43:30.683936
#include <mruby.h> #include <mruby/string.h> #include <stdio.h> static mrb_value mrb_c_method(mrb_state *mrb, mrb_value self) { mrb_ensure_string_type(mrb, self); printf("%s: A C Extension\n", mrb_str_to_cstr(mrb, self)); return self; } void mrb_c_and_ruby_extension_example_gem_init(mrb_state* mrb) { struct ...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mrbconf.h
null
null
null
null
null
null
C
2026-05-04T18:43:30.685160
/* ** mrbconf.h - mruby core configuration ** ** See Copyright Notice in mruby.h */ #ifndef MRUBYCONF_H #define MRUBYCONF_H /* architecture selection: */ /* specify -DMRB_32BIT or -DMRB_64BIT to override */ #if !defined(MRB_32BIT) && !defined(MRB_64BIT) #if UINT64_MAX == SIZE_MAX #define MRB_64BIT #else #define MRB_3...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
examples/mrbgems/cdata_extension_example/test/example.c
null
null
null
null
null
null
C
2026-05-04T18:43:30.690154
#include <mruby.h> void mrb_cdata_extension_example_gem_test(mrb_state *mrb) { /* test initializer in C */ }
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
examples/mrbgems/mruby-YOUR-bigint/core/bigint.c
null
null
null
null
null
null
C
2026-05-04T18:43:30.690643
/* * If placed under the "mruby/examples/mrbgems/mruby-YOUR-bigint" directory, * this file is available under the Creative Commons Zero License (CC0). * Note that file is incomplete. * * TODO: If this file is copied and another implementation is written, * remove this comment block from the copied file. */ #inc...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
benchmark/vm_dispatch_bench.c
null
null
null
null
null
null
C
2026-05-04T18:43:30.723543
/* * VM Dispatch Micro-benchmark * * This benchmark measures the raw dispatch overhead of the mruby VM * by executing minimal bytecode sequences. * * Compile: * cc -O2 -I include -I build/host/include \ * benchmark/vm_dispatch_bench.c \ * build/host/lib/libmruby.a -lm -o vm_dispatch_bench * * Run...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
examples/mrbgems/cdata_extension_example/src/example.c
null
null
null
null
null
null
C
2026-05-04T18:43:30.728841
#include <mruby.h> #include <mruby/string.h> #include <mruby/class.h> #include <mruby/data.h> #include <stdio.h> static void mrb_foo_free(mrb_state *mrb, void *ptr) { /* custom destructor */ mrb_free(mrb, ptr); } struct mrb_data_type mrb_foo_type = { "Foo", mrb_foo_free }; struct Foo { int bar; char baz[32]; ...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby.h
null
null
null
null
null
null
C
2026-05-04T18:43:30.770464
/* ** mruby - An embeddable Ruby implementation ** ** Copyright (c) mruby developers 2010- ** ** 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 limi...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/boxing_no.h
null
null
null
null
null
null
C
2026-05-04T18:43:31.274206
/** ** @file mruby/boxing_no.h - unboxed mrb_value definition ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_BOXING_NO_H #define MRUBY_BOXING_NO_H #define MRB_FIXNUM_SHIFT 0 #define MRB_SYMBOL_SHIFT 0 #define MRB_FIXNUM_MIN MRB_INT_MIN #define MRB_FIXNUM_MAX MRB_INT_MAX union mrb_value_union { #ifndef MRB_NO...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/class.h
null
null
null
null
null
null
C
2026-05-04T18:43:31.295325
/** ** @file mruby/class.h - Class class ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_CLASS_H #define MRUBY_CLASS_H #include "common.h" /** * Class class */ MRB_BEGIN_DECL struct RClass { MRB_OBJECT_HEADER; struct iv_tbl *iv; struct mrb_mt_tbl *mt; struct RClass *super; }; #define mrb_class_ptr...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/common.h
null
null
null
null
null
null
C
2026-05-04T18:43:31.307906
/** ** @file common.h - mruby common platform definition" ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_COMMON_H #define MRUBY_COMMON_H #ifdef __APPLE__ #ifndef __TARGETCONDITIONALS__ #include "TargetConditionals.h" #endif #endif #ifdef __cplusplus #ifdef MRB_USE_CXX_ABI #define MRB_BEGIN_DECL #define...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/boxing_nan.h
null
null
null
null
null
null
C
2026-05-04T18:43:31.309088
/** ** @file mruby/boxing_nan.h - nan boxing mrb_value definition ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_BOXING_NAN_H #define MRUBY_BOXING_NAN_H #ifdef MRB_USE_FLOAT32 # error ---->> MRB_NAN_BOXING and MRB_USE_FLOAT32 conflict <<---- #endif #ifdef MRB_NO_FLOAT # error ---->> MRB_NAN_BOXING and MRB_NO...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/boxing_word.h
null
null
null
null
null
null
C
2026-05-04T18:43:31.318987
/** ** @file mruby/boxing_word.h - word boxing mrb_value definition ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_BOXING_WORD_H #define MRUBY_BOXING_WORD_H #if defined(MRB_32BIT) && !defined(MRB_USE_FLOAT32) && !defined(MRB_WORDBOX_NO_INLINE_FLOAT) # define MRB_WORDBOX_NO_INLINE_FLOAT #endif #ifndef MRB_NO_...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/compile.h
null
null
null
null
null
null
C
2026-05-04T18:43:31.322368
/** ** @file mruby/compile.h - mruby parser ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_COMPILE_H #define MRUBY_COMPILE_H #include "common.h" #include "mruby/mempool.h" /** * mruby Compiler */ MRB_BEGIN_DECL #include <mruby.h> struct mrb_parser_state; /* load context */ typedef struct mrb_ccontext { ...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/data.h
null
null
null
null
null
null
C
2026-05-04T18:43:31.365297
/** ** @file mruby/data.h - Data class ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_DATA_H #define MRUBY_DATA_H #include "common.h" /** * Custom C wrapped data. * * Defining Ruby wrappers around native objects. */ MRB_BEGIN_DECL /** * Custom data type description. */ typedef struct mrb_data_type { ...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/debug.h
null
null
null
null
null
null
C
2026-05-04T18:43:31.386844
/** ** @file mruby/debug.h - mruby debug info ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_DEBUG_H #define MRUBY_DEBUG_H #include "common.h" /** * mruby Debugging. */ MRB_BEGIN_DECL typedef enum mrb_debug_line_type { mrb_debug_line_ary = 0, mrb_debug_line_flat_map, mrb_debug_line_packed_map } mrb_...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/endian.h
null
null
null
null
null
null
C
2026-05-04T18:43:31.388767
/** ** @file mruby/endian.h - detect endian-ness ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_ENDIAN_H #define MRUBY_ENDIAN_H #include <limits.h> MRB_BEGIN_DECL #if !defined(BYTE_ORDER) && defined(__BYTE_ORDER__) # define BYTE_ORDER __BYTE_ORDER__ #endif #if !defined(BIG_ENDIAN) && defined(__ORDER_BIG_END...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/dump.h
null
null
null
null
null
null
C
2026-05-04T18:43:31.406078
/** ** @file mruby/dump.h - mruby binary dumper (mrbc binary format) ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_DUMP_H #define MRUBY_DUMP_H #include <mruby.h> #include <mruby/irep.h> #include "common.h" /** * Dumping compiled mruby script. */ MRB_BEGIN_DECL /* flags for mrb_dump_irep{,_binary,_cfunc,_...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/gc.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.131839
/** ** @file mruby/gc.h - garbage collector for mruby ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_GC_H #define MRUBY_GC_H #include "common.h" /** * Uncommon memory management stuffs. */ MRB_BEGIN_DECL #define MRB_EACH_OBJ_OK 0 #define MRB_EACH_OBJ_BREAK 1 typedef int (mrb_each_object_callback)(mrb_stat...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/hash.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.159587
/** ** @file mruby/hash.h - Hash class ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_HASH_H #define MRUBY_HASH_H #include "common.h" /** * Hash class */ MRB_BEGIN_DECL /* offset of `iv` must match struct RObject */ struct RHash { MRB_OBJECT_HEADER; #ifdef MRB_64BIT uint32_t size; struct iv_tbl *iv;...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/istruct.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.163108
/** ** @file mruby/istruct.h - Inline structures ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_ISTRUCT_H #define MRUBY_ISTRUCT_H #include "common.h" #include <string.h> /** * Inline structures that fit in RVALUE * * They cannot have finalizer, and cannot have instance variables. */ MRB_BEGIN_DECL #defi...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/internal.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.165535
/** ** @file mruby/internal.h - Functions only called from within the library ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_INTERNAL_H #define MRUBY_INTERNAL_H #ifdef MRUBY_ARRAY_H void mrb_ary_decref(mrb_state*, mrb_shared_array*); mrb_value mrb_ary_subseq(mrb_state *mrb, mrb_value ary, mrb_int beg, mrb_int...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/mempool.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.312828
/* ** mempool.h - memory pool ** ** See Copyright Notice in mruby.h */ /* memory pool implementation */ typedef struct mempool mempool; MRB_API struct mempool* mempool_open(void); MRB_API void mempool_close(struct mempool*); MRB_API void* mempool_alloc(struct mempool*, size_t); MRB_API void* mempool_realloc(struct mem...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/khash.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.314163
/** ** @file mruby/khash.h - Hash for mruby ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_KHASH_H #define MRUBY_KHASH_H #include <string.h> #include <mruby.h> #include "common.h" /** * khash definitions used in mruby's hash table. */ MRB_BEGIN_DECL typedef uint32_t khint_t; typedef khint_t khiter_t; #i...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/error.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.402944
/** ** @file mruby/error.h - Exception class ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_ERROR_H #define MRUBY_ERROR_H #include "common.h" #include <string.h> /** * mruby error handling. */ MRB_BEGIN_DECL struct RException { MRB_OBJECT_HEADER; struct iv_tbl *iv; struct RBasic *mesg; // NU...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/irep.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.487642
/** ** @file mruby/irep.h - mrb_irep structure ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_IREP_H #define MRUBY_IREP_H #include "common.h" #include <mruby/compile.h> /** * Compiled mruby scripts. */ MRB_BEGIN_DECL enum irep_pool_type { IREP_TT_STR = 0, /* string (need free) */ IREP_TT_SSTR = 2, ...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/numeric.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.488865
/** ** @file mruby/numeric.h - Numeric, Integer, Float class ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_NUMERIC_H #define MRUBY_NUMERIC_H #include "common.h" /** * Numeric class and it's sub-classes. * * Integer and Float */ MRB_BEGIN_DECL #define TYPED_POSFIXABLE(f,t) ((f) <= (t)MRB_FIXNUM_MAX) #de...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/object.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.516276
/** ** @file mruby/object.h - mruby object definition ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_OBJECT_H #define MRUBY_OBJECT_H #define MRB_OBJECT_HEADER \ struct RClass *c; \ enum mrb_vtype tt:8; \ unsigned int gc_color:3; \ unsigned int frozen:1; \ uint32_t flags:20 #define MRB_FLA...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/opcode.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.717304
/** ** @file mruby/opcode.h - RiteVM operation codes ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_OPCODE_H #define MRUBY_OPCODE_H enum mrb_insn { #define OPCODE(x,_) OP_ ## x, #include <mruby/ops.h> #undef OPCODE }; /* backward compatibility aliases */ #define OP_LOADT OP_LOADTRUE #define OP_LOADF OP_LOADF...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/ops.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.761015
/* operand types: + Z: no operand + B: 8bit + BB: 8+8bit + BBB: 8+8+8bit + BS: 8+16bit + BSS: 8+16+16bit + S: 16bit + W: 24bit */ /*----------------------------------------------------------------------- operation code operands semantics -------------------------------------------------...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/presym.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.778920
/** ** @file mruby/presym.h - Preallocated Symbols ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_PRESYM_H #define MRUBY_PRESYM_H #if !defined(MRB_PRESYM_SCANNING) #include <mruby/presym/id.h> /* * Where `mrb_intern_lit` is allowed for symbol interning, it is directly * replaced by the symbol ID using the...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/presym/scanning.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.830120
/** ** @file mruby/presym/scanning.h - Scanning Preallocated Symbols ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_PRESYM_SCANNING_H #define MRUBY_PRESYM_SCANNING_H #define MRB_PRESYM_SCANNING_TAGGED(arg) <@! arg !@> #undef mrb_intern_lit #define mrb_intern_lit(mrb, name) MRB_PRESYM_SCANNING_TAGGED(name) #d...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/range.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.957308
/** ** @file mruby/range.h - Range class ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_RANGE_H #define MRUBY_RANGE_H #include "common.h" /** * Range class */ MRB_BEGIN_DECL #if defined(MRB_NAN_BOXING) && defined(MRB_64BIT) || defined(MRB_WORD_BOXING) # define MRB_RANGE_EMBED #endif #ifdef MRB_RANGE_EMBE...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/proc.h
null
null
null
null
null
null
C
2026-05-04T18:43:32.982407
/** ** @file mruby/proc.h - Proc class ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_PROC_H #define MRUBY_PROC_H #include "common.h" #include <mruby/irep.h> #include <string.h> /** * Proc class */ MRB_BEGIN_DECL /* * env object (for internal used) * * - don't create multiple envs on one ci. * - don't...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/re.h
null
null
null
null
null
null
C
2026-05-04T18:43:33.016751
/** ** @file mruby/re.h - Regexp class ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_RE_H #define MRUBY_RE_H MRB_BEGIN_DECL #define REGEXP_CLASS "Regexp" MRB_END_DECL #endif /* RE_H */
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/string.h
null
null
null
null
null
null
C
2026-05-04T18:43:33.109283
/** ** @file mruby/string.h - String class ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_STRING_H #define MRUBY_STRING_H #include "common.h" /** * String class */ MRB_BEGIN_DECL extern const char mrb_digitmap[]; #define RSTRING_EMBED_LEN_MAX \ ((mrb_int)(sizeof(void*) * 3 + sizeof(void*) - 32 / CHAR_B...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/value.h
null
null
null
null
null
null
C
2026-05-04T18:43:33.129247
/** ** @file mruby/value.h - mruby value definitions ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_VALUE_H #define MRUBY_VALUE_H #include "common.h" /* * mruby Value definition functions and macros. */ MRB_BEGIN_DECL /** * mruby Symbol. * @class mrb_sym * * You can create an mrb_sym by simply using m...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/throw.h
null
null
null
null
null
null
C
2026-05-04T18:43:33.147987
/** ** @file mruby/throw.h - mruby exception throwing handler ** ** See Copyright Notice in mruby.h ** ** WARNING: This header is for mruby core internal use only. ** Do not include this header in user code or mrbgems. ** ** When MRB_USE_CXX_EXCEPTION is defined, this header requires C++ ** compilation. C source files ...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/variable.h
null
null
null
null
null
null
C
2026-05-04T18:43:33.355212
/** ** @file mruby/variable.h - mruby variables ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_VARIABLE_H #define MRUBY_VARIABLE_H #if defined(__GNUC__) || defined(__clang__) #define MRB_MEM_PREFETCH(addr) __builtin_prefetch(addr, 0, 1) #else #define MRB_MEM_PREFETCH(addr) #endif #include "common.h" /** * ...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
mrbgems/hw-adc/include/mruby/adc.h
null
null
null
null
null
null
C
2026-05-04T18:43:33.373780
#ifndef MRUBY_ADC_H #define MRUBY_ADC_H #include <stdint.h> #ifdef __cplusplus extern "C" { #endif /* HAL functions - implemented in ports/<platform>/adc.c */ int mrb_adc_init(uint8_t pin); uint32_t mrb_adc_read_raw(uint8_t input); float mrb_adc_read_voltage(uint8_t input); #ifdef __cplusplus } #endif #end...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
include/mruby/version.h
null
null
null
null
null
null
C
2026-05-04T18:43:33.391088
/** ** @file mruby/version.h - mruby version definition ** ** See Copyright Notice in mruby.h */ #ifndef MRUBY_VERSION_H #define MRUBY_VERSION_H #include "common.h" /** * mruby version definition macros */ MRB_BEGIN_DECL /* * A passed in expression. */ #define MRB_STRINGIZE0(expr) #expr /* * Passes in an expr...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
mrbgems/hw-adc/ports/esp32/adc.c
null
null
null
null
null
null
C
2026-05-04T18:43:33.468533
#include <stdbool.h> #include "esp_adc/adc_oneshot.h" #include <mruby/adc.h> #define VOLTAGE_MAX 3.3f #define RESOLUTION 4095 #define UNIT_NUM 2 static adc_oneshot_unit_handle_t adc_handles[UNIT_NUM]; static bool adc_initialized; static adc_unit_t pin_to_unit(uint8_t pin) { switch (pin) { #if CONFIG_IDF_TARGET...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
mrbgems/hw-adc/ports/rp2040/adc.c
null
null
null
null
null
null
C
2026-05-04T18:43:33.531426
#include <stdbool.h> #include "hardware/adc.h" #include <mruby/adc.h> #define VOLTAGE_MAX 3.3f #define RESOLUTION 4095 #define TEMP_INPUT 4 static bool adc_initialized; int mrb_adc_init(uint8_t pin) { if (!adc_initialized) { adc_init(); adc_initialized = true; } uint input; switch (pin) { case 2...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
mrbgems/hw-gpio/include/mruby/gpio.h
null
null
null
null
null
null
C
2026-05-04T18:43:33.596302
#ifndef MRUBY_GPIO_H #define MRUBY_GPIO_H #include <stdint.h> #ifdef __cplusplus extern "C" { #endif /* direction/mode flags (bitmask) */ #define MRB_GPIO_IN 0x01 #define MRB_GPIO_OUT 0x02 #define MRB_GPIO_HIGH_Z 0x04 #define MRB_GPIO_PULL_UP 0x08 #define MRB_GPIO_PULL_DOWN 0x10 #define MRB_GP...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
mrbgems/hw-adc/src/adc.c
null
null
null
null
null
null
C
2026-05-04T18:43:33.596944
#include <mruby.h> #include <mruby/presym.h> #include <mruby/variable.h> #include <mruby/adc.h> /* ADC#__init(pin) */ static mrb_value mrb_adc_m_init(mrb_state *mrb, mrb_value self) { mrb_int pin; mrb_get_args(mrb, "i", &pin); int input = mrb_adc_init((uint8_t)pin); if (input < 0) { mrb_raise(mrb, E_ARGUME...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
mrbgems/hw-gpio/ports/rp2040/gpio.c
null
null
null
null
null
null
C
2026-05-04T18:43:33.713463
#include <stdbool.h> #include "hardware/gpio.h" #include <mruby/gpio.h> void mrb_gpio_init(uint8_t pin) { gpio_init(pin); } void mrb_gpio_set_dir(uint8_t pin, uint8_t flags) { if (flags & MRB_GPIO_IN) { gpio_set_dir(pin, false); } else if (flags & MRB_GPIO_OUT) { gpio_set_dir(pin, true); } /* HIGH...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
mrbgems/hw-gpio/ports/esp32/gpio.c
null
null
null
null
null
null
C
2026-05-04T18:43:33.747483
#include "driver/gpio.h" #include <mruby/gpio.h> void mrb_gpio_init(uint8_t pin) { gpio_reset_pin(pin); } void mrb_gpio_set_dir(uint8_t pin, uint8_t flags) { if (flags & MRB_GPIO_IN) { gpio_set_direction(pin, GPIO_MODE_INPUT); } else if (flags & MRB_GPIO_OUT) { gpio_set_direction(pin, GPIO_MODE_OUTPUT...
mruby/mruby
https://github.com/mruby/mruby
null
null
null
null
5,556
null
null
mit
null
null
null
null
null
null
null
mrbgems/hw-gpio/src/gpio.c
null
null
null
null
null
null
C
2026-05-04T18:43:33.806867
#include <mruby.h> #include <mruby/presym.h> #include <mruby/variable.h> #include <mruby/gpio.h> static mrb_value mrb_gpio_m_init(mrb_state *mrb, mrb_value self) { mrb_int pin; mrb_get_args(mrb, "i", &pin); mrb_gpio_init((uint8_t)pin); return mrb_nil_value(); } /* GPIO.set_dir_at(pin, flags) */ static mrb_val...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jdct.h
null
null
null
null
null
null
C
2026-05-04T18:43:36.659657
/* * jdct.h * * Copyright (C) 1994-1996, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This include file contains common declarations for the forward and * inverse DCT modules. These declarations are...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jchuff.h
null
null
null
null
null
null
C
2026-05-04T18:43:36.661788
/* * jchuff.h * * Copyright (C) 1991-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains declarations for Huffman entropy encoding routines * that are shared between the sequential ...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/bmp.h
null
null
null
null
null
null
C
2026-05-04T18:43:36.662934
/* * Copyright (C)2011 D. R. Commander. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, * this list of conditio...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jdhuff.h
null
null
null
null
null
null
C
2026-05-04T18:43:36.664844
/* * jdhuff.h * * Copyright (C) 1991-1997, Thomas G. Lane. * Copyright (C) 2010-2011, D. R. Commander. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains declarations for Huffman entropy decoding routin...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/cpu-features.h
null
null
null
null
null
null
C
2026-05-04T18:43:36.665458
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jconfig.h
null
null
null
null
null
null
C
2026-05-04T18:43:36.666344
/* jconfig.h. Generated from jconfig.h.in by configure. */ /* Version ID for the JPEG library. * Might be useful for tests like "#if JPEG_LIB_VERSION >= 60". */ #define JPEG_LIB_VERSION 62 /* Support arithmetic encoding */ #define C_ARITH_CODING_SUPPORTED 1 /* Support arithmetic decoding */ #define D_ARITH_CODING...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jerror.h
null
null
null
null
null
null
C
2026-05-04T18:43:36.668091
/* * jerror.h * * Copyright (C) 1994-1997, Thomas G. Lane. * Modified 1997-2009 by Guido Vollbeding. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file defines the error and message codes for the JPEG library. ...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/config.h
null
null
null
null
null
null
C
2026-05-04T18:43:37.275322
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* Build number */ #define BUILD "20110829" /* Support arithmetic encoding */ #define C_ARITH_CODING_SUPPORTED 1 /* Support arithmetic decoding */ #define D_ARITH_CODING_SUPPORTED 1 /* Define t...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/cdjpeg.h
null
null
null
null
null
null
C
2026-05-04T18:43:37.275849
/* * cdjpeg.h * * Copyright (C) 1994-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains common declarations for the sample applications * cjpeg and djpeg. It is NOT used by the co...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/cderror.h
null
null
null
null
null
null
C
2026-05-04T18:43:37.684104
/* * cderror.h * * Copyright (C) 1994-1997, Thomas G. Lane. * Modified 2009 by Guido Vollbeding. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file defines the error and message codes for the cjpeg/djpeg * appl...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jpegint.h
null
null
null
null
null
null
C
2026-05-04T18:43:38.059356
/* * jpegint.h * * Copyright (C) 1991-1997, Thomas G. Lane. * Modified 1997-2009 by Guido Vollbeding. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file provides common declarations for the various JPEG modules....
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jpegcomp.h
null
null
null
null
null
null
C
2026-05-04T18:43:38.076815
/* * jpegcomp.h * * Copyright (C) 2010, D. R. Commander * For conditions of distribution and use, see the accompanying README file. * * JPEG compatibility macros * These declarations are considered internal to the JPEG library; most * applications using the library shouldn't need to include this file. */ #if ...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jmemsys.h
null
null
null
null
null
null
C
2026-05-04T18:43:38.094572
/* * jmemsys.h * * Copyright (C) 1992-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This include file defines the interface between the system-independent * and system-dependent portions of the ...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jmorecfg.h
null
null
null
null
null
null
C
2026-05-04T18:43:38.109243
/* * jmorecfg.h * * Copyright (C) 1991-1997, Thomas G. Lane. * Copyright (C) 2009, 2011, D. R. Commander. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains additional configuration options that customi...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jinclude.h
null
null
null
null
null
null
C
2026-05-04T18:43:38.115008
/* * jinclude.h * * Copyright (C) 1991-1994, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file exists to provide a single place to fix any problems with * including the wrong system include file...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jsimdcfg.inc.h
null
null
null
null
null
null
C
2026-05-04T18:43:38.171665
// This file generates the include file for the assembly // implementations by abusing the C preprocessor. // // Note: Some things are manually defined as they need to // be mapped to NASM types. ; ; Automatically generated include file from jsimdcfg.inc.h ; #define JPEG_INTERNALS #include "../jpeglib.h" #include "....