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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
memovai/mimiclaw | https://github.com/memovai/mimiclaw | null | null | null | null | 5,336 | null | null | mit | null | null | null | null | null | null | null | main/tools/tool_gpio.c | null | null | null | null | null | null | C | 2026-05-04T18:43:56.207770 | #include "tools/tool_gpio.h"
#include "tools/gpio_policy.h"
#include "mimi_config.h"
#include "driver/gpio.h"
#include "esp_log.h"
#include "cJSON.h"
#include <string.h>
#include <stdio.h>
static const char *TAG = "tool_gpio";
esp_err_t tool_gpio_init(void)
{
ESP_LOGI(TAG, "GPIO tool initialized (pin range %d-%... |
memovai/mimiclaw | https://github.com/memovai/mimiclaw | null | null | null | null | 5,336 | null | null | mit | null | null | null | null | null | null | null | main/tools/tool_registry.h | null | null | null | null | null | null | C | 2026-05-04T18:43:56.379099 | #pragma once
#include "esp_err.h"
#include <stddef.h>
typedef struct {
const char *name;
const char *description;
const char *input_schema_json; /* JSON Schema string for input */
esp_err_t (*execute)(const char *input_json, char *output, size_t output_size);
} mimi_tool_t;
/**
* Initialize tool re... |
memovai/mimiclaw | https://github.com/memovai/mimiclaw | null | null | null | null | 5,336 | null | null | mit | null | null | null | null | null | null | null | main/wifi/wifi_manager.c | null | null | null | null | null | null | C | 2026-05-04T18:43:56.485720 | #include "wifi_manager.h"
#include "mimi_config.h"
#include <string.h>
#include <inttypes.h>
#include "esp_log.h"
#include "esp_wifi.h"
#include "esp_netif.h"
#include "nvs_flash.h"
#include "nvs.h"
static const char *TAG = "wifi";
static EventGroupHandle_t s_wifi_event_group;
static int s_retry_count = 0;
static ch... |
memovai/mimiclaw | https://github.com/memovai/mimiclaw | null | null | null | null | 5,336 | null | null | mit | null | null | null | null | null | null | null | main/tools/tool_web_search.h | null | null | null | null | null | null | C | 2026-05-04T18:43:56.486298 | #pragma once
#include "esp_err.h"
#include <stddef.h>
/**
* Initialize web search tool.
*/
esp_err_t tool_web_search_init(void);
/**
* Execute a web search.
*
* @param input_json JSON string with "query" field
* @param output Output buffer for formatted search results
* @param output_size Size of out... |
memovai/mimiclaw | https://github.com/memovai/mimiclaw | null | null | null | null | 5,336 | null | null | mit | null | null | null | null | null | null | null | main/tools/tool_web_search.c | null | null | null | null | null | null | C | 2026-05-04T18:43:56.546132 | #include "tool_web_search.h"
#include "mimi_config.h"
#include "proxy/http_proxy.h"
#include <string.h>
#include <stdlib.h>
#include "esp_log.h"
#include "esp_http_client.h"
#include "esp_crt_bundle.h"
#include "esp_heap_caps.h"
#include "nvs.h"
#include "cJSON.h"
static const char *TAG = "web_search";
typedef enum ... |
jedisct1/dsvpn | https://github.com/jedisct1/dsvpn | null | null | null | null | 5,326 | null | null | mit | null | null | null | null | null | null | null | include/os.h | null | null | null | null | null | null | C | 2026-05-04T18:43:59.014175 | #ifndef os_H
#define os_H 1
#include "vpn.h"
ssize_t safe_read(const int fd, void *const buf_, size_t count, const int timeout);
ssize_t safe_write(const int fd, const void *const buf_, size_t count, const int timeout);
ssize_t safe_read_partial(const int fd, void *const buf_, const size_t max_count);
ssize_t safe... |
jedisct1/dsvpn | https://github.com/jedisct1/dsvpn | null | null | null | null | 5,326 | null | null | mit | null | null | null | null | null | null | null | include/vpn.h | null | null | null | null | null | null | C | 2026-05-04T18:43:59.015573 | #ifndef vpn_H
#define vpn_H 1
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/wait.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <netdb.h>
#includ... |
jedisct1/dsvpn | https://github.com/jedisct1/dsvpn | null | null | null | null | 5,326 | null | null | mit | null | null | null | null | null | null | null | include/charm.h | null | null | null | null | null | null | C | 2026-05-04T18:43:59.016117 | #ifndef charm_H
#define charm_H 1
#include <stdint.h>
#include <stdlib.h>
void uc_state_init(uint32_t st[12], const unsigned char key[32], const unsigned char iv[16]);
void uc_encrypt(uint32_t st[12], unsigned char *msg, size_t msg_len, unsigned char tag[16]);
int uc_decrypt(uint32_t st[12], unsigned char *msg, siz... |
jedisct1/dsvpn | https://github.com/jedisct1/dsvpn | null | null | null | null | 5,326 | null | null | mit | null | null | null | null | null | null | null | src/charm.c | null | null | null | null | null | null | C | 2026-05-04T18:43:59.030166 | #include <stdint.h>
#include <stdlib.h>
#include <string.h>
#ifdef __SSSE3__
#include <x86intrin.h>
#endif
#if defined(__ARM_NEON) || defined(__aarch64__)
#include <arm_neon.h>
#endif
#ifdef __linux__
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sys/syscall.h>
#include <unistd.h>
#endif
#include "charm.h"
... |
jedisct1/dsvpn | https://github.com/jedisct1/dsvpn | null | null | null | null | 5,326 | null | null | mit | null | null | null | null | null | null | null | src/vpn.c | null | null | null | null | null | null | C | 2026-05-04T18:43:59.069265 | #include "vpn.h"
#include "charm.h"
#include "os.h"
static const int POLLFD_TUN = 0, POLLFD_LISTENER = 1, POLLFD_CLIENT = 2, POLLFD_COUNT = 3;
typedef struct __attribute__((aligned(16))) Buf_ {
#if TAG_LEN < 16 - 2
unsigned char _pad[16 - TAG_LEN - 2];
#endif
unsigned char len[2];
unsigned char tag[TAG_LE... |
jedisct1/dsvpn | https://github.com/jedisct1/dsvpn | null | null | null | null | 5,326 | null | null | mit | null | null | null | null | null | null | null | src/os.c | null | null | null | null | null | null | C | 2026-05-04T18:43:59.182482 | #include "os.h"
#include "vpn.h"
ssize_t safe_read(const int fd, void *const buf_, size_t count, const int timeout)
{
struct pollfd pfd;
unsigned char *buf = (unsigned char *) buf_;
ssize_t readnb = (ssize_t) -1;
while (readnb != 0 && count > (ssize_t) 0) {
while ((readnb = read(fd,... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/device.h | null | null | null | null | null | null | C | 2026-05-04T18:44:01.737626 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#ifndef DEVICE_H
#define DEVICE_H
#include <stdint.h>
#define CAP_MOUSE 0x1
#define CAP_MOUSE_ABS 0x2
#define CAP_KEYBOARD 0x4
#define CAP_KEY 0x8 // Can emit keys, but is not necessarily a keyboard
#define MAX_DEVICES 64
stru... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/config.c | null | null | null | null | null | null | C | 2026-05-04T18:44:01.750298 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#include <assert.h>
#include <fcntl.h>
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/types.h>
#include <unistd.h>
#include... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/dbg.c | null | null | null | null | null | null | C | 2026-05-04T18:44:01.751598 | #include "keyd.h"
static size_t dbg_print_device_bits(int fd, const char *name, int type, int max, char *out, size_t out_sz)
{
size_t i;
size_t j;
size_t sz = 0;
uint8_t arr[1024] = {0};
size_t n = (max+7)/8;
int has_set_bits = 0;
if (ioctl(fd, EVIOCGBIT(type, n), arr) == -1) {
perror("ioctl");
exit(-1);
... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/daemon.c | null | null | null | null | null | null | C | 2026-05-04T18:44:01.753184 | #include "keyd.h"
struct config_ent {
struct config config;
struct keyboard *kbd;
struct config_ent *next;
};
static int ipcfd = -1;
static struct vkbd *vkbd = NULL;
static struct config_ent *configs;
static uint8_t keystate[256];
static int listeners[32];
static size_t nr_listeners = 0;
static struct keyboard *... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/ext/evdev-input-codes.h | null | null | null | null | null | null | C | 2026-05-04T18:44:01.758774 | #ifndef EVDEV_INPUT_H
#define EVDEV_INPUT_H
#undef INPUT_PROP_POINTER
#undef INPUT_PROP_DIRECT
#undef INPUT_PROP_BUTTONPAD
#undef INPUT_PROP_SEMI_MT
#undef INPUT_PROP_TOPBUTTONPAD
#undef INPUT_PROP_POINTING_STICK
#undef INPUT_PROP_ACCELEROMETER
#undef INPUT_PROP_MAX
#undef INPUT_PROP_CNT
#undef EV_SYN
#undef EV_KEY
#u... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/evloop.c | null | null | null | null | null | null | C | 2026-05-04T18:44:01.771054 | #include "keyd.h"
#define MAX_AUX_FDS 32
static int aux_fds[MAX_AUX_FDS];
static size_t nr_aux_fds = 0;
struct device device_table[MAX_DEVICES];
size_t device_table_sz;
static void panic_check(uint8_t code, uint8_t pressed)
{
static uint8_t enter, backspace, escape;
switch (code) {
case KEYD_ENTER:
enter = pre... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/device.c | null | null | null | null | null | null | C | 2026-05-04T18:44:01.772477 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#include "keyd.h"
#include <stdio.h>
#include <pthread.h>
#include <string.h>
#include <sys/types.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <assert.h>
#include <errno.h>
#include <... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/config.h | null | null | null | null | null | null | C | 2026-05-04T18:44:01.776198 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#ifndef CONFIG_H
#define CONFIG_H
#include <limits.h>
#include "macro.h"
#define MAX_LAYER_NAME_LEN 64
#define MAX_DESCRIPTOR_ARGS 3
#define MAX_LAYERS 32
#define MAX_EXP_LEN 512
#ifndef PATH_MAX
#define PATH_MAX 1024
#endif... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/check.c | null | null | null | null | null | null | C | 2026-05-04T18:44:01.779718 | #include "keyd.h"
static int rc = 0;
static void validate(const char *path)
{
int ret;
struct config config;
keyd_log("Parsing b{%s}\n", path);
ret = config_parse(&config, path);
if (ret != 0) {
if (ret < 0)
keyd_log("\tr{FAILED} (file does not exist?)\n");
rc = -1;
}
}
int check(int argc, char *argv... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/ini.c | null | null | null | null | null | null | C | 2026-05-04T18:44:01.780938 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#include <ctype.h>
#include <string.h>
#include <assert.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/stat.h>
#include <assert.h>
#include "ini.h"
#define MAX_INI_SIZE 65536
/*
* ... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/keyboard.c | null | null | null | null | null | null | C | 2026-05-04T18:44:02.370478 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#include "keyd.h"
static long process_event(struct keyboard *kbd, uint8_t code, int pressed, long time);
/*
* Here be tiny dragons.
*/
static long get_time(void)
{
/* Close enough :/. Using a syscall is unnecessary. */
stat... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/ipc.c | null | null | null | null | null | null | C | 2026-05-04T18:44:02.375588 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#include "keyd.h"
/* TODO (maybe): settle on an API and publish the protocol. */
static void chgid(void)
{
struct group *g = getgrnam("keyd");
if (!g) {
fprintf(stderr,
"WARNING: failed to set effective group to \"keyd\"... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/ini.h | null | null | null | null | null | null | C | 2026-05-04T18:44:02.396257 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#ifndef INI_H
#define INI_H
#include <stdint.h>
#define MAX_SECTIONS 32
#define MAX_SECTION_ENTRIES 1024
struct ini_entry {
char *key;
char *val;
size_t lnum; // The line number in the original source file.
};
struct ini_s... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/keyd.h | null | null | null | null | null | null | C | 2026-05-04T18:44:02.418415 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#ifndef KEYD_H_
#define KEYD_H_
#include <assert.h>
#include <ctype.h>
#include <dirent.h>
#include <fcntl.h>
#include <grp.h>
#include <limits.h>
#include <poll.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#inclu... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/keyboard.h | null | null | null | null | null | null | C | 2026-05-04T18:44:02.419817 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#ifndef KEYBOARD_H
#define KEYBOARD_H
#include "keyd.h"
#include "keys.h"
#include "unicode.h"
#include "config.h"
#include "device.h"
#define MAX_ACTIVE_KEYS 32
#define CACHE_SIZE 16 //Effectively nkro
struct keyboard;
struct ... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/keys.c | null | null | null | null | null | null | C | 2026-05-04T18:44:02.427942 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#include <stdint.h>
#include <string.h>
#include "keys.h"
const struct modifier modifiers[MAX_MOD] = {
{MOD_ALT, KEYD_LEFTALT},
{MOD_ALT_GR, KEYD_RIGHTALT},
{MOD_SHIFT, KEYD_LEFTSHIFT},
{MOD_SUPER, KEYD_LEFTMETA},
{MOD_CTRL, ... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/keyd.c | null | null | null | null | null | null | C | 2026-05-04T18:44:02.447383 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#include "keyd.h"
static int ipc_exec(int type, const char *data, size_t sz, uint32_t timeout)
{
struct ipc_message msg;
assert(sz <= sizeof(msg.data));
msg.type = type;
msg.sz = sz;
msg.timeout = timeout;
memcpy(msg.data... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/log.h | null | null | null | null | null | null | C | 2026-05-04T18:44:02.453436 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#ifndef KEYD_LOG_H
#define KEYD_LOG_H
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#define keyd_log(fmt, ...) _keyd_log(0, fmt, ##__VA_ARGS__);
#define dbg(fmt, ...) _keyd_log(1, "r{DEBUG:} b{%s... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/log.c | null | null | null | null | null | null | C | 2026-05-04T18:44:02.454637 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#include "log.h"
#include <time.h>
#include <pthread.h>
char errstr[2048];
static pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER;
int log_level = 0;
int suppress_colours = 0;
static const char *colorize(const char *s)
{
int i... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/keys.h | null | null | null | null | null | null | C | 2026-05-04T18:44:02.543601 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#ifndef _KEYS_H_
#define _KEYS_H_
#define _KEYS_H_
#include <stdint.h>
#include <stdlib.h>
#define MOD_ALT_GR 0x10
#define MOD_CTRL 0x8
#define MOD_SHIFT 0x4
#define MOD_SUPER 0x2
#define MOD_ALT 0x1
#define MAX_MOD 5
struct k... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/macro.c | null | null | null | null | null | null | C | 2026-05-04T18:44:02.985090 | #include "keyd.h"
/*
* Parses expressions of the form: C-t hello enter.
* Returns 0 on success. Mangles the input string.
*/
int macro_parse(char *s, struct macro *macro)
{
char *tok;
#define ADD_ENTRY(t, d) do { \
if (macro->sz >= ARRAY_SIZE(macro->entries)) { \
err("maximum macro size (%d) exceeded", ARR... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/monitor.c | null | null | null | null | null | null | C | 2026-05-04T18:44:02.990644 | #include "keyd.h"
static int time_flag = 0;
static void set_tflags(tcflag_t flags, int val)
{
if (!isatty(0))
return;
struct termios tinfo;
tcgetattr(0, &tinfo);
if (val)
tinfo.c_lflag |= flags;
else
tinfo.c_lflag &= ~flags;
tcsetattr(0, TCSANOW, &tinfo);
}
static void cleanup(void)
{
/* Drain STDIN... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/macro.h | null | null | null | null | null | null | C | 2026-05-04T18:44:03.002841 | #ifndef MACRO_H
#define MACRO_H
#include <stdint.h>
#include <stdlib.h>
struct macro_entry {
enum {
MACRO_KEYSEQUENCE,
MACRO_HOLD,
MACRO_RELEASE,
MACRO_UNICODE,
MACRO_TIMEOUT
} type;
uint16_t data;
};
/*
* A series of key sequences optionally punctuated by
* timeouts
*/
struct macro {
struct macro_... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/unicode.h | null | null | null | null | null | null | C | 2026-05-04T18:44:03.018810 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#ifndef UNICODE_H
#define UNICODE_H
#include <stdint.h>
/*
* Overview
*
* Unicode input is accomplished using one of several 'input methods' or
* 'IMEs'. The X input method (xim) is the name of the default input method
* whi... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/string.h | null | null | null | null | null | null | C | 2026-05-04T18:44:03.039368 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#ifndef STRING_H
#define STRING_H
#include <stdint.h>
#include <stdlib.h>
int utf8_read_char(const char *_s, uint32_t *code);
int utf8_strlen(const char *s);
int is_timeval(const char *s);
size_t str_escape(char *s);
#endif
|
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/util.c | null | null | null | null | null | null | C | 2026-05-04T18:44:03.083388 | #include "keyd.h"
void xwrite(int fd, const void *buf, size_t sz)
{
size_t nwr = 0;
ssize_t n;
while(sz != nwr) {
n = write(fd, buf+nwr, sz-nwr);
if (n < 0) {
perror("write");
exit(-1);
}
nwr += n;
}
}
void xread(int fd, void *buf, size_t sz)
{
size_t nrd = 0;
ssize_t n;
while(sz != nrd) {
n ... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/vkbd/stdout.c | null | null | null | null | null | null | C | 2026-05-04T18:44:03.088927 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
/* Build with make vkbd-stdout. */
#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <unistd.h>
#include <linux/uinput.h>
#include "../vkbd.h"
#include "../keys.h"
struct vkbd {};
struct ... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/string.c | null | null | null | null | null | null | C | 2026-05-04T18:44:03.099166 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#include <assert.h>
#include "string.h"
int utf8_read_char(const char *_s, uint32_t *code)
{
const unsigned char *s = (const unsigned char*)_s;
if (!s[0])
return 0;
if (s[0] >= 0xF0) {
assert(s[1]);
assert(s[2]);
ass... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/vkbd.h | null | null | null | null | null | null | C | 2026-05-04T18:44:03.106140 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#ifndef VIRTUAL_KEYBOARD_H
#define VIRTUAL_KEYBOARD_H
#include <stdint.h>
struct vkbd;
struct vkbd *vkbd_init(const char *name);
void vkbd_mouse_move(const struct vkbd *vkbd, int x, int y);
void vkbd_mouse_move_abs(const struct... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/vkbd/uinput.c | null | null | null | null | null | null | C | 2026-05-04T18:44:03.197581 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
*/
#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <unistd.h>
#include <pthread.h>
#include <time.h>
#include <errno.h>
#ifdef __FreeBSD__
#include <dev/evdev/uinput.h>
#include <dev/evdev... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/vkbd/usb-gadget.c | null | null | null | null | null | null | C | 2026-05-04T18:44:03.609776 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
* © 2021 Giorgi Chavchanidze
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include "../keys.h"
#include "usb-gadget.h"
static uint8_t mods = 0;
static uint... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | src/vkbd/usb-gadget.h | null | null | null | null | null | null | C | 2026-05-04T18:44:03.610501 | /*
* keyd - A key remapping daemon.
*
* © 2019 Raheman Vaiya (see also: LICENSE).
* © 2021 Giorgi Chavchanidze
*/
#ifndef _USBGADGET_H_
#define _USBGADGET_H_
#define _USBGADGET_H_
#include "../keys.h"
#define HID_CTRL 0x1
#define HID_RIGHTCTRL 0x10
#define HID_SHIFT 0x2
#define HID_RIGHTSHIFT 0x20
#define HID_AL... |
rvaiya/keyd | https://github.com/rvaiya/keyd | null | null | null | null | 5,303 | null | null | mit | null | null | null | null | null | null | null | t/test-io.c | null | null | null | null | null | null | C | 2026-05-04T18:44:03.644435 | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "../src/keyd.h"
#define MAX_EVENTS 1024
struct key_event output[MAX_EVENTS];
size_t noutput = 0;
static uint64_t get_time_ns()
{
struct timespec ts;
clock_gettime(CLOCK_MONOTONIC, &ts);
return (uint64_t)(ts.tv_sec*1E9)+(uint64_t)ts.tv_nsec;
}
sta... |
DualCoder/vgpu_unlock | https://github.com/DualCoder/vgpu_unlock | null | null | null | null | 5,245 | null | null | mit | null | null | null | null | null | null | null | vgpu_unlock_hooks.c | null | null | null | null | null | null | C | 2026-05-04T18:44:06.392615 | /*
* vGPU unlock hooks.
*
* This file is designed to be included into a single translation unit of the
* vGPU driver's kernel module. It hooks the nv_ioremap_* functions and memcpy
* for that translation unit and applies the vgpu_unlock patch when the magic
* and key values has been accessed by the driver.
*
* ... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_1/test/TestProductionCode.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.179526 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_1/src/ProductionCode2.h | null | null | null | null | null | null | C | 2026-05-04T18:44:11.180031 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_1/src/ProductionCode2.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.219439 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_1/src/ProductionCode.h | null | null | null | null | null | null | C | 2026-05-04T18:44:11.236903 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_1/test/TestProductionCode2.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.240776 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_2/src/ProductionCode.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.241680 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_2/src/ProductionCode.h | null | null | null | null | null | null | C | 2026-05-04T18:44:11.251821 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_1/src/ProductionCode.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.289088 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_2/src/ProductionCode2.h | null | null | null | null | null | null | C | 2026-05-04T18:44:11.818267 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_2/src/ProductionCode2.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.836017 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_2/test/test_runners/TestProductionCode_Runner.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.916925 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_2/test/test_runners/all_tests.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.918206 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_3/helper/UnityHelper.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.923404 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_2/test/TestProductionCode2.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.925003 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_2/test/TestProductionCode.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.926049 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_3/helper/UnityHelper.h | null | null | null | null | null | null | C | 2026-05-04T18:44:11.932125 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_2/test/test_runners/TestProductionCode2_Runner.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.948538 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_3/src/ProductionCode.c | null | null | null | null | null | null | C | 2026-05-04T18:44:11.979932 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_3/src/ProductionCode.h | null | null | null | null | null | null | C | 2026-05-04T18:44:12.479371 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_3/src/ProductionCode2.c | null | null | null | null | null | null | C | 2026-05-04T18:44:12.521984 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_4/src/ProductionCode.c | null | null | null | null | null | null | C | 2026-05-04T18:44:12.542471 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_4/src/ProductionCode.h | null | null | null | null | null | null | C | 2026-05-04T18:44:12.543562 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_3/test/TestProductionCode.c | null | null | null | null | null | null | C | 2026-05-04T18:44:12.572273 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_3/src/ProductionCode2.h | null | null | null | null | null | null | C | 2026-05-04T18:44:12.573690 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_3/test/TestProductionCode2.c | null | null | null | null | null | null | C | 2026-05-04T18:44:12.579589 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_4/src/ProductionCode2.c | null | null | null | null | null | null | C | 2026-05-04T18:44:12.580731 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_4/test/TestProductionCode.c | null | null | null | null | null | null | C | 2026-05-04T18:44:12.612275 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_4/src/ProductionCode2.h | null | null | null | null | null | null | C | 2026-05-04T18:44:12.634549 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_4/test/TestProductionCode2.c | null | null | null | null | null | null | C | 2026-05-04T18:44:13.307310 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_5/test/unity_detail_config.h | null | null | null | null | null | null | C | 2026-05-04T18:44:13.480827 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_5/src/ProductionCode.h | null | null | null | null | null | null | C | 2026-05-04T18:44:13.493294 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_5/src/ProductionCode.c | null | null | null | null | null | null | C | 2026-05-04T18:44:13.921339 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/example_5/test/TestProductionCode.c | null | null | null | null | null | null | C | 2026-05-04T18:44:14.039594 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | examples/unity_config.h | null | null | null | null | null | null | C | 2026-05-04T18:44:14.302857 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | extras/fixture/src/unity_fixture.h | null | null | null | null | null | null | C | 2026-05-04T18:44:14.372073 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | extras/fixture/src/unity_fixture.c | null | null | null | null | null | null | C | 2026-05-04T18:44:14.401954 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | extras/fixture/src/unity_fixture_internals.h | null | null | null | null | null | null | C | 2026-05-04T18:44:14.403555 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | extras/bdd/src/unity_bdd.h | null | null | null | null | null | null | C | 2026-05-04T18:44:14.415478 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | extras/fixture/test/main/AllTests.c | null | null | null | null | null | null | C | 2026-05-04T18:44:14.528523 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | extras/fixture/test/template_fixture_tests.c | null | null | null | null | null | null | C | 2026-05-04T18:44:14.678826 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | extras/fixture/test/unity_fixture_Test.c | null | null | null | null | null | null | C | 2026-05-04T18:44:14.935611 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | extras/bdd/test/test_bdd.c | null | null | null | null | null | null | C | 2026-05-04T18:44:14.943744 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | extras/fixture/test/unity_fixture_TestRunner.c | null | null | null | null | null | null | C | 2026-05-04T18:44:14.972382 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | extras/memory/src/unity_memory.c | null | null | null | null | null | null | C | 2026-05-04T18:44:15.040184 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
ThrowTheSwitch/Unity | https://github.com/ThrowTheSwitch/Unity | null | null | null | null | 5,191 | null | null | mit | null | null | null | null | null | null | null | extras/memory/src/unity_memory.h | null | null | null | null | null | null | C | 2026-05-04T18:44:15.050227 | /* =========================================================================
Unity - A Test Framework for C
ThrowTheSwitch.org
Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
SPDX-License-Identifier: MIT
========================================================================= */
... |
osaurus-ai/osaurus | https://github.com/osaurus-ai/osaurus | null | null | null | null | 5,186 | null | null | mit | null | null | null | null | null | null | null | Packages/OsaurusCore/SQLCipher/include/OsaurusSQLCipher.h | null | null | null | null | null | null | C | 2026-05-04T18:44:19.437785 | /*
* OsaurusSQLCipher.h
*
* Module umbrella header for the vendored SQLCipher amalgamation.
* Consumers `import OsaurusSQLCipher` (Swift) and call the standard
* SQLite C API plus the SQLCipher codec functions.
*
* ⚠️ LOAD-BEARING: this file is NOT just a re-export of
* `sqlite3.h`. It force-defines ... |
osaurus-ai/osaurus | https://github.com/osaurus-ai/osaurus | null | null | null | null | 5,186 | null | null | mit | null | null | null | null | null | null | null | Packages/OsaurusCore/SQLCipher/include/sqlite3ext.h | null | null | null | null | null | null | C | 2026-05-04T18:44:19.443342 | /*
** 2006 June 7
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*************************... |
osaurus-ai/osaurus | https://github.com/osaurus-ai/osaurus | null | null | null | null | 5,186 | null | null | mit | null | null | null | null | null | null | null | Packages/OsaurusCore/Tools/PluginABI/osaurus_plugin.h | null | null | null | null | null | null | C | 2026-05-04T18:44:19.447515 | // osaurus_plugin.h
#ifndef OSAURUS_PLUGIN_H
#define OSAURUS_PLUGIN_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#define OSR_ABI_VERSION_1 1
#define OSR_ABI_VERSION_2 2
// Opaque context provided by the plugin, passed back to all function calls.
typedef void* osr_plugin_ctx_t;
// ── Plugin → Host c... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/lwip/app/dhcpserver_common.h | null | null | null | null | null | null | C | 2026-05-04T18:44:21.903429 | #ifndef __DHCPS_COMMON_H__
#define __DHCPS_COMMON_H__
#define USE_DNS
typedef struct dhcps_state{
sint16_t state;
} dhcps_state;
// ����dhcpclient�Զ����һ��DHCP msg�ṹ��
typedef struct dhcps_msg {
uint8_t op, htype, hlen, hops;
uint8_t xid[4];
uint16_t secs, flags;
... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | easygpio/easygpio.c | null | null | null | null | null | null | C | 2026-05-04T18:44:21.905549 | /*
* easygpio.c
*
* Copyright (c) 2015, eadf (https://github.com/eadf)
* 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,
... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/lwip/app/dhcpserver.h | null | null | null | null | null | null | C | 2026-05-04T18:44:21.907086 | #ifndef __DHCPS_H__
#define __DHCPS_H__
#define dhcps_router_enabled(offer) ((offer & OFFER_ROUTER) != 0)
#include "dhcpserver_common.h"
#define DHCPS_DEBUG 0
extern uint32 dhcps_lease_time;
#define DHCPS_LEASE_TIMER dhcps_lease_time //0x05A0
void dhcps_start(struct ip_info *info);
void dhcps... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/driver/spi_register.h | null | null | null | null | null | null | C | 2026-05-04T18:44:21.910925 | /*
* Copyright (c) 2010 - 2011 Espressif System
* Modified by David Ogilvy (MetalPhreak)
* Based on original file included in SDK 1.0.0
*
* Missing defines from previous SDK versions have
* been added and are noted with comments. The
* names of these defines are likely to change.
*/
#ifndef SP... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | easygpio/easygpio.h | null | null | null | null | null | null | C | 2026-05-04T18:44:21.912975 | /*
* easygpio.h
*
* Copyright (c) 2015, eadf (https://github.com/eadf)
* 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,
... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | include/driver/spi.h | null | null | null | null | null | null | C | 2026-05-04T18:44:21.928046 | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 David Ogilvy (MetalPhreak)
*
* 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 rig... |
martin-ger/esp_wifi_repeater | https://github.com/martin-ger/esp_wifi_repeater | null | null | null | null | 5,167 | null | null | mit | null | null | null | null | null | null | null | driver/spi.c | null | null | null | null | null | null | C | 2026-05-04T18:44:21.929849 | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 David Ogilvy (MetalPhreak)
*
* 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 r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.