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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ptitSeb/box86 | https://github.com/ptitSeb/box86 | null | null | null | null | 3,767 | null | null | mit | null | null | null | null | null | null | null | src/dynarec/dynarec_arm_helper.h | null | null | null | null | null | null | C | 2026-05-04T18:30:46.705257 | #ifndef __DYNAREC_ARM_HELPER_H__
#define __DYNAREC_ARM_HELPER_H__
#if STEP == 0
#include "dynarec_arm_pass0.h"
#elif STEP == 1
#include "dynarec_arm_pass1.h"
#elif STEP == 2
#include "dynarec_arm_pass2.h"
#elif STEP == 3
#include "dynarec_arm_pass3.h"
#endif
#include "debug.h"
#include "arm_emitter.h"
#include "../em... |
ptitSeb/box86 | https://github.com/ptitSeb/box86 | null | null | null | null | 3,767 | null | null | mit | null | null | null | null | null | null | null | src/dynarec/dynarec_arm_helper.c | null | null | null | null | null | null | C | 2026-05-04T18:30:46.759777 | #include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <pthread.h>
#include <errno.h>
#include <assert.h>
#include <string.h>
#include "debug.h"
#include "box86context.h"
#include "dynarec.h"
#include "emu/x86emu_private.h"
#include "emu/x86run_private.h"
#include "x86run.h"
#include "x86emu.h"
#include "... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_err_code.c | null | null | null | null | null | null | C | 2026-05-04T18:30:49.600109 | // This file is used to test the accuracy of the error codes of
// json_read and json_write.
#include "yyjson.h"
#include "yy_test_utils.h"
#define is_json_space(x) \
(((u8)x) == ' ' || ((u8)x) == '\r' || ((u8)x) == '\n' || ((u8)x) == '\t')
#define is_alphabet(x) \
(('a' <= ((u8)x) && ((u8)x) <= 'z') || (... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_allocator.c | null | null | null | null | null | null | C | 2026-05-04T18:30:49.628408 | // This file is used to test the built-in pool memory allocator.
#include "yyjson.h"
#include "yy_test_utils.h"
#define NUM_PTR 16
#define BUF_SIZE 1024
static void test_alc_pool_init(void) {
yyjson_alc alc;
usize size;
void *buf;
yy_assert(!yyjson_alc_pool_init(NULL, NULL, 0));
memset... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | misc/make_tables.c | null | null | null | null | null | null | C | 2026-05-04T18:30:49.629982 | /*==============================================================================
* Make look-up tables for yyjson.
* Copyright (C) 2020 Yaoyuan <ibireme@gmail.com>.
*
* Released under the MIT License:
* https://github.com/ibireme/yyjson/blob/master/LICENSE
*========================================================... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | misc/jsoninfo.c | null | null | null | null | null | null | C | 2026-05-04T18:30:49.642208 | /*==============================================================================
* A command line tool to print JSON info and rewrite JSON.
* Copyright (C) 2020 Yaoyuan <ibireme@gmail.com>.
*
* Released under the MIT License:
* https://github.com/ibireme/yyjson/blob/master/LICENSE
*===============================... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | misc/experiment_depth_limit.c | null | null | null | null | null | null | C | 2026-05-04T18:30:49.645254 | #include "yyjson.h"
#if YYJSON_READER_DEPTH_LIMIT
static void make_nested_json_arrays(char *json, int depth)
{
char *jsonp = json;
for (int i = 0; i < depth; i++) {
*jsonp++ = '[';
}
*jsonp++ = '8';
for (int i = 0; i < depth; i++) {
*jsonp++ = ']';
}
*jsonp = 0;
}
static voi... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | fuzz/fuzzer.c | null | null | null | null | null | null | C | 2026-05-04T18:30:49.664487 | #include <yyjson.h>
static void test_with_flags(const uint8_t *data, size_t size,
yyjson_read_flag rflg, yyjson_write_flag wflg) {
yyjson_doc *idoc = yyjson_read((const char *)data, size, rflg);
yyjson_mut_doc *mdoc = yyjson_doc_mut_copy(idoc, NULL);
char *ijson = yyjson_write(i... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/compile_ansi.c | null | null | null | null | null | null | C | 2026-05-04T18:30:49.665782 | /*
This file is used to test the compatibility of ANSI C.
It should be able to compile successfully in strict ANSI C environments.
*/
#include "yyjson.c"
int main(void) {
yyjson_mut_doc *mdoc = yyjson_mut_doc_new(NULL);
yyjson_mut_val *root = yyjson_mut_int(mdoc, 0);
yyjson_mut_doc_set_root(mdoc, root... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_json_mut_val.c | null | null | null | null | null | null | C | 2026-05-04T18:30:49.667214 | // This file is used to test the functions related to `yyjson_mut_val`.
#include "yyjson.h"
#include "yy_test_utils.h"
/*==============================================================================
* MARK: - Val
*============================================================================*/
/// Validate value ... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_json_merge_patch.c | null | null | null | null | null | null | C | 2026-05-04T18:30:49.683652 | // This file is used to test the `JSON Merge Patch` functions.
#include "yyjson.h"
#include "yy_test_utils.h"
#if !YYJSON_DISABLE_UTILS
static void test_one(const char *orig_json,
const char *patch_json,
const char *expt_json) {
#if !YYJSON_DISABLE_READER
yyjson_doc *i_o... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/compile_smoke.c | null | null | null | null | null | null | C | 2026-05-04T18:30:49.684881 | /* Smoke test for old compilers and environments without CMake support */
#include "yyjson.h"
#define yy_assert(expr) do { \
if (!(expr)) { \
fprintf(stderr, "Assertion failed: %s (%s:%d)\n", \
#expr, __FILE__, __LINE__); \
abort(); \
} \
} while (0)
static void test_read(void... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_json_patch.c | null | null | null | null | null | null | C | 2026-05-04T18:30:50.254408 | // This file is used to test the `JSON Patch` functions.
#include "yyjson.h"
#include "yy_test_utils.h"
#if !YYJSON_DISABLE_READER && !YYJSON_DISABLE_WRITER && !YYJSON_DISABLE_UTILS
typedef struct {
const char *src;
const char *patch;
const char *dst;
yyjson_patch_err err;
} patch_data;
// ---------... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_json_pointer.c | null | null | null | null | null | null | C | 2026-05-04T18:30:50.264314 | // This file is used to test the `JSON Pointer` functions.
#include "yyjson.h"
#include "yy_test_utils.h"
#if !YYJSON_DISABLE_READER && !YYJSON_DISABLE_WRITER && !YYJSON_DISABLE_UTILS
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#elif defined(__GNUC__)
#pragma GCC diagnostic ig... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_json_writer.c | null | null | null | null | null | null | C | 2026-05-04T18:30:50.266885 | // This file is used to test the functionality of JSON writer.
#include "yyjson.h"
#include "yy_test_utils.h"
#include "goo_double_conv.h"
#if !YYJSON_DISABLE_WRITER
static yy_inline bool f64_isfinite(double x) {
#if GOO_HAS_IEEE_754
u64 u; memcpy(&u, &x, 8);
return ((u >> 52) & 0x7FF) != 0x7FF;
#else
r... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_json_reader.c | null | null | null | null | null | null | C | 2026-05-04T18:30:50.285112 | // This file is used to test the functionality of JSON reader.
#include "yyjson.h"
#include "yy_test_utils.h"
#if !YYJSON_DISABLE_READER
// Expect result
typedef enum {
EXPECT_NONE,
EXPECT_PASS,
EXPECT_FAIL,
} expect_type;
// All feature flags
static const yyjson_read_flag ALL_FLAGS[] = {
1 << 1, ... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_roundtrip.c | null | null | null | null | null | null | C | 2026-05-04T18:30:50.315057 | // This file is used to test the round-trip JSON reading and writing.
#include "yyjson.h"
#include "yy_test_utils.h"
#include <locale.h>
void test_roundtrip_locale(void) {
// Check version
yy_assert(yyjson_version() == YYJSON_VERSION_HEX);
uint32_t ver = (YYJSON_VERSION_MAJOR << 16) +
... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_string.c | null | null | null | null | null | null | C | 2026-05-04T18:30:50.367721 | // This file is used to test string processing and Unicode encoding validation.
// This file must be compiled with UTF-8 encoding.
#include "yyjson.h"
#include "yy_test_utils.h"
/// A string value with length.
typedef struct {
const char *str;
usize len;
} string_val;
/// A string set for different flags.
... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_json_val.c | null | null | null | null | null | null | C | 2026-05-04T18:30:50.379233 | // This file is used to test the functions related to `yyjson_val`.
#include "yyjson.h"
#include "yy_test_utils.h"
#if !YYJSON_DISABLE_READER
/// Validate value type
static bool validate_val_type(yyjson_val *val,
yyjson_type type,
yyjson_subtype subtype) {
... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/util/goo_double_conv.h | null | null | null | null | null | null | C | 2026-05-04T18:30:50.385691 | #ifndef goo_double_conv_h
#define goo_double_conv_h
/// IEEE 754 floating-point binary representation detection.
/// The functions below may produce incorrect results if `GOO_HAS_IEEE_754 == 0`.
#include <float.h>
#if defined(__STDC_IEC_559__) || defined(__STDC_IEC_60559_BFP__)
# define GOO_HAS_IEEE_754 1
#elif FLT_... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/test_number.c | null | null | null | null | null | null | C | 2026-05-04T18:30:50.389853 | // This file is used to test the functionality of number reading and writing.
// It contains various test data to detect how numbers are handled in different
// boundary cases. The results are compared with google/double-conversion to
// ensure accuracy.
#include "yyjson.h"
#include "yy_test_utils.h"
#include "goo_dou... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/util/yy_test_utils.c | null | null | null | null | null | null | C | 2026-05-04T18:30:50.397935 | /*==============================================================================
* Utilities for single thread test (C99, Win/Mac/Linux).
*
* Copyright (C) 2018 YaoYuan <ibireme@gmail.com>.
* Released under the MIT license (MIT).
*============================================================================*/
#inc... |
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/xctest/yy_xctest.h | null | null | null | null | null | null | C | 2026-05-04T18:30:50.922938 | #ifndef xctest_h
#define xctest_h
#ifndef YYJSON_TEST_DATA_PATH
extern const char *yyjson_test_data_path(void);
#define YYJSON_TEST_DATA_PATH yyjson_test_data_path()
#endif
#endif
|
ibireme/yyjson | https://github.com/ibireme/yyjson | null | null | null | null | 3,727 | null | null | mit | null | null | null | null | null | null | null | test/util/yy_test_utils.h | null | null | null | null | null | null | C | 2026-05-04T18:30:50.950521 | /*==============================================================================
* Utilities for single thread test (C99, Win/Mac/Linux).
*
* Copyright (C) 2018 YaoYuan <ibireme@gmail.com>.
* Released under the MIT license (MIT).
*============================================================================*/
#ifn... |
InterceptSuite/ProxyBridge | https://github.com/InterceptSuite/ProxyBridge | null | null | null | null | 3,707 | null | null | mit | null | null | null | null | null | null | null | Linux/src/ProxyBridge.h | null | null | null | null | null | null | C | 2026-05-04T18:30:53.539720 | #ifndef PROXYBRIDGE_H
#define PROXYBRIDGE_H
#define PROXYBRIDGE_VERSION "3.2.0"
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*LogCallback)(const char* message);
typedef void (*ConnectionCallback)(const char* process_name, uint32_t pid, const char* dest_ip, uint16_t d... |
InterceptSuite/ProxyBridge | https://github.com/InterceptSuite/ProxyBridge | null | null | null | null | 3,707 | null | null | mit | null | null | null | null | null | null | null | Linux/gui/gui_settings.c | null | null | null | null | null | null | C | 2026-05-04T18:30:53.541185 | #include "gui.h"
// settings stuff
static gboolean on_test_done(gpointer user_data) {
TestResultData *data = (TestResultData *)user_data;
gtk_text_buffer_set_text(data->buffer, data->result_text, -1);
gtk_widget_set_sensitive(data->btn, TRUE);
free(data->result_text);
free(data);
return FALSE... |
InterceptSuite/ProxyBridge | https://github.com/InterceptSuite/ProxyBridge | null | null | null | null | 3,707 | null | null | mit | null | null | null | null | null | null | null | Linux/gui/gui_utils.c | null | null | null | null | null | null | C | 2026-05-04T18:30:53.541777 | #include "gui.h"
// safer way to turn string to int
long safe_strtol(const char *nptr) {
if (!nptr) return 0; // null check
char *endptr;
long val = strtol(nptr, &endptr, 10);
if (endptr == nptr) return 0; // bad input
return val;
}
// show popup msg
void show_message(GtkWindow *parent, GtkMessage... |
InterceptSuite/ProxyBridge | https://github.com/InterceptSuite/ProxyBridge | null | null | null | null | 3,707 | null | null | mit | null | null | null | null | null | null | null | Linux/gui/gui.h | null | null | null | null | null | null | C | 2026-05-04T18:30:53.545870 | #ifndef PROXYBRIDGE_GUI_H
#define PROXYBRIDGE_GUI_H
#include <unistd.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <pthread.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include "ProxyBridge.h"
typedef struct {... |
InterceptSuite/ProxyBridge | https://github.com/InterceptSuite/ProxyBridge | null | null | null | null | 3,707 | null | null | mit | null | null | null | null | null | null | null | Linux/gui/gui_rules.c | null | null | null | null | null | null | C | 2026-05-04T18:30:53.546525 | #include "gui.h"
static GtkWidget *rules_list_box = NULL;
static GtkWidget *btn_select_all_header = NULL;
// forward
static void refresh_rules_ui();
static void free_rule_data(RuleData *rule) {
if (rule) {
if (rule->process_name) free(rule->process_name);
if (rule->target_hosts) free(rule->target... |
InterceptSuite/ProxyBridge | https://github.com/InterceptSuite/ProxyBridge | null | null | null | null | 3,707 | null | null | mit | null | null | null | null | null | null | null | Linux/gui/gui_logs.c | null | null | null | null | null | null | C | 2026-05-04T18:30:53.548050 | #include "gui.h"
// filter logs based on search
static void filter_text_view(GtkTextBuffer *buffer, const char *text) {
if (!buffer) return;
GtkTextIter start, end;
gtk_text_buffer_get_bounds(buffer, &start, &end);
gtk_text_buffer_remove_tag_by_name(buffer, "hidden", &start, &end);
if (!text || s... |
InterceptSuite/ProxyBridge | https://github.com/InterceptSuite/ProxyBridge | null | null | null | null | 3,707 | null | null | mit | null | null | null | null | null | null | null | Linux/gui/gui_config.c | null | null | null | null | null | null | C | 2026-05-04T18:30:53.559233 | #include "gui.h"
#define CONFIG_DIR "/etc/proxybridge"
#define CONFIG_PATH "/etc/proxybridge/config.ini"
// save config
void save_config() {
struct stat st = {0};
if (stat(CONFIG_DIR, &st) == -1) {
if (mkdir(CONFIG_DIR, 0755) != 0) {
perror("failed to create config dir");
retur... |
InterceptSuite/ProxyBridge | https://github.com/InterceptSuite/ProxyBridge | null | null | null | null | 3,707 | null | null | mit | null | null | null | null | null | null | null | Linux/gui/main.c | null | null | null | null | null | null | C | 2026-05-04T18:30:53.572164 | #include "gui.h"
// widgets
GtkWidget *window;
GtkTextView *conn_view;
GtkTextBuffer *conn_buffer;
GtkTextView *log_view;
GtkTextBuffer *log_buffer;
GtkWidget *status_bar;
guint status_context_id;
// default config
char g_proxy_ip[256] = "";
uint16_t g_proxy_port = 0;
ProxyType g_proxy_type = PROXY_TYPE_SOCKS5;
char ... |
InterceptSuite/ProxyBridge | https://github.com/InterceptSuite/ProxyBridge | null | null | null | null | 3,707 | null | null | mit | null | null | null | null | null | null | null | Linux/src/ProxyBridge.c | null | null | null | null | null | null | C | 2026-05-04T18:30:53.590880 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <unistd.h>
#include <pthread.h>
#include <errno.h>
#include <ctype.h>
#include <dirent.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/epoll.h>
#include <poll.h>
#include <netine... |
InterceptSuite/ProxyBridge | https://github.com/InterceptSuite/ProxyBridge | null | null | null | null | 3,707 | null | null | mit | null | null | null | null | null | null | null | Linux/cli/main.c | null | null | null | null | null | null | C | 2026-05-04T18:30:53.620417 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <stdbool.h>
#include <ctype.h>
#include "../src/ProxyBridge.h"
#define MAX_RULES 100
#define MAX_RULE_STR 512
typedef struct {
char process_name[256];
char target_hosts[256];
char target_ports[256];... |
InterceptSuite/ProxyBridge | https://github.com/InterceptSuite/ProxyBridge | null | null | null | null | 3,707 | null | null | mit | null | null | null | null | null | null | null | Windows/src/ProxyBridge.h | null | null | null | null | null | null | C | 2026-05-04T18:30:54.214003 | #ifndef PROXYBRIDGE_H
#define PROXYBRIDGE_H
#include <windows.h>
#ifdef PROXYBRIDGE_EXPORTS
#define PROXYBRIDGE_API __declspec(dllexport)
#else
#define PROXYBRIDGE_API __declspec(dllimport)
#endif
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*LogCallback)(const char* message);
typedef void (*ConnectionCallb... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/core.h | null | null | null | null | null | null | C | 2026-05-04T18:30:56.701833 | /**
* Core.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#if __has_include("../externals/core.h")
#include <../externals/core.h>
#else
#error "Orbital depends on an unreleased ... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/crypto.h | null | null | null | null | null | null | C | 2026-05-04T18:30:56.702395 | /**
* Cryptography.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <botan/botan.h>
#include <filesystem>
#include <string>
#include <string_v... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/aeolia_mem.h | null | null | null | null | null | null | C | 2026-05-04T18:30:56.732149 | /**
* Aeolia memory device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
AEOLIA_MEM_DEV = 0x14,
AEOLIA_MEM_FNC = 0x6,
};
constexpr U32... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/aeolia_ahci.h | null | null | null | null | null | null | C | 2026-05-04T18:30:56.733222 | /**
* Aeolia AHCI device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
AEOLIA_AHCI_DEV = 0x14,
AEOLIA_AHCI_FNC = 0x2,
};
constexpr aut... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/aeolia_acpi.h | null | null | null | null | null | null | C | 2026-05-04T18:30:56.741282 | /**
* Aeolia ACPI device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
AEOLIA_ACPI_DEV = 0x14,
AEOLIA_ACPI_FNC = 0x0,
};
constexpr aut... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/aeolia_dmac.h | null | null | null | null | null | null | C | 2026-05-04T18:30:56.742243 | /**
* Aeolia DMAC device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
AEOLIA_DMAC_DEV = 0x14,
AEOLIA_DMAC_FNC = 0x5,
};
constexpr aut... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/aeolia_gbe.h | null | null | null | null | null | null | C | 2026-05-04T18:30:56.756339 | /**
* Aeolia GBE device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
AEOLIA_GBE_DEV = 0x14,
AEOLIA_GBE_FNC = 0x1,
};
constexpr auto A... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/aeolia_sdhci.h | null | null | null | null | null | null | C | 2026-05-04T18:30:56.756859 | /**
* Aeolia SDHCI device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
AEOLIA_SDHCI_DEV = 0x14,
AEOLIA_SDHCI_FNC = 0x3,
};
constexpr ... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/aeolia_pcie.h | null | null | null | null | null | null | C | 2026-05-04T18:30:56.815053 | /**
* Aeolia PCIe device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include "icc/icc.h"
#include "hpet/aeolia_hpet.h"
#include "msic/aeolia_msic.h"
#include "nvs/aeolia_nvs.... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/crypto_ps4.h | null | null | null | null | null | null | C | 2026-05-04T18:30:56.834184 | /**
* PS4 cryptography.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/crypto.h>
/**
* Returns the global Crypto object that stores/uses PS4 keys.
* Ideal... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/hpet/aeolia_hpet.h | null | null | null | null | null | null | C | 2026-05-04T18:30:57.302584 | /**
* Aeolia High-Precision Event Timer (HPET) device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
struct HPETTimer {
union {
U64 value;
... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/aeolia_xhci.h | null | null | null | null | null | null | C | 2026-05-04T18:30:57.353329 | /**
* Aeolia XHCI device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
AEOLIA_XHCI_DEV = 0x14,
AEOLIA_XHCI_FNC = 0x7,
};
constexpr aut... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/icc/icc.h | null | null | null | null | null | null | C | 2026-05-04T18:30:57.377395 | /**
* Sony ICC protocol.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
/* ICC commands */
enum IccCommand : U16 {
ICC_CMD_SERVICE ... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/msic/aeolia_msic.h | null | null | null | null | null | null | C | 2026-05-04T18:30:57.399772 | /**
* Aeolia MSI Controller (MSIC) device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
// List of subfunctions for function #4 (PCIe)
#define APCIE_M... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/uart/aeolia_uart.h | null | null | null | null | null | null | C | 2026-05-04T18:30:57.401149 | /**
* Aeolia UART device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
struct AeoliaUARTDeviceConfig : DeviceConfig {
CharHost* backend = nullptr;... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/amd_regs.h | null | null | null | null | null | null | C | 2026-05-04T18:30:57.415886 | /**
* AMD utility macros for registers.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#define REG_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT
#define REG_FIELD_MASK(reg, fiel... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/aeolia/nvs/aeolia_nvs.h | null | null | null | null | null | null | C | 2026-05-04T18:30:57.416875 | /**
* Aeolia Non-Volatile Storage (NVS).
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <array>
#define NVS_RANGE(base, size, ...) \
struc... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/amd_ucode.h | null | null | null | null | null | null | C | 2026-05-04T18:30:57.450338 | /**
* Liverpool F32 ucode utilities.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
template <size_t N>
struct AmdUcode {
U32 data[N];
U32 addr;... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/acp/acp.h | null | null | null | null | null | null | C | 2026-05-04T18:30:57.451620 | /**
* AMD ACP device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
// ACP Control registers
#define mmACP_CONTROL 0x00005286
#define mmACP_STA... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/bif/bif_4_1_d.h | null | null | null | null | null | null | C | 2026-05-04T18:30:57.467606 | /*
* BIF_4_1 Register documentation
*
* Copyright (C) 2014 Advanced Micro Devices, Inc.
*
* 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 limita... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/bif/bif_regs.h | null | null | null | null | null | null | C | 2026-05-04T18:30:57.978527 | /**
* AMD Bus Interface (BIF) device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include "bif/bif_4_1_d.h"
#include "bif/bif_4_1_sh_mask.h"
// Undocumented registers
#define... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/gca/pm4.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.037812 | /**
* AMD PM4 packets.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
PM4_PACKET_TYPE0 = 0x00,
PM4_PACKET_TYPE1 ... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/liverpool_hdac.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.059079 | /**
* Liverpool HD Audio Controller (HDAC) PCI device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
LIVERPOOL_HDAC_DEV = 0x1,
LIVERPOOL... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/gca/gfx.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.081114 | /**
* AMD Graphics and Compute Array (GCA aka GFX).
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <orbital/hardware/liverpool/amd_ucode.h>
#inc... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/liverpool_rc.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.112662 | /**
* Liverpool Root Complex (RC) PCI device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
// Forward declarations
class SmuDevice;
enum {
LIVERP... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/liverpool_iommu.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.142557 | /**
* Liverpool IOMMU PCI device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
LIVERPOOL_IOMMU_DEV = 0x0,
LIVERPOOL_IOMMU_FNC = 0x2,
};... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/liverpool_gc.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.172438 | /**
* Liverpool Graphics Controller (GC/Starsha) PCI device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <orbital/hardware/liverpool/amd_ucod... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/liverpool_nb.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.184063 | /**
* Liverpool North Bridge (NB) PCI device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
LIVERPOOL_NB_DEV = 0x18,
LIVERPOOL_NB_FNC0 =... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/gmc/gmc.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.234366 | /**
* AMD Graphics Memory Controller (GMC).
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <orbital/offset_range.h>
#include <array>
// Forwar... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/dce/dce_8_0_enum.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.255148 | /*
* DCE_8_0 Register documentation
*
* Copyright (C) 2016 Advanced Micro Devices, Inc.
*
* 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 limita... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/oss/ih.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.674290 | /**
* AMD Interrupt Handler (IH) device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <orbital/offset_range.h>
#include <mutex>
// Forward d... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/sam/ccp.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.675548 | /**
* AMD Cryptographic Co-Processor (CCP) device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum CcpOp {
CCP_OP_AES = 0,
CCP_OP... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/liverpool_rp.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.691276 | /**
* Liverpool Root Port (RP) PCI device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
enum {
LIVERPOOL_RP_DEV = 0x2,
LIVERPOOL_RP_FNC = 0x0,... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/sam/sam.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.734420 | /**
* AMD Secure Asset Management Unit (SAMU) device.
*
* Based on research from: Alexey Kulaev (@flatz).
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/oss/oss_2_0_d.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.735697 | /*
* OSS_2_0 Register documentation
*
* Copyright (C) 2014 Advanced Micro Devices, Inc.
*
* 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 limita... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool_pci.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.828962 | /**
* Liverpool PCI Host/Bus devices.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
// Liverpool PCI Bus
class LiverpoolBus : public PCIeBus {
public:
... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/sam/sam_regs.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.844986 | /**
* AMD Secure Asset Management Unit (SAMU) device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
// SAM block
#define mmSAM_IX_INDEX 0x8800
#define mmSAM_I... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/ps4.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.896750 | /**
* PlayStation 4 machine.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <filesystem>
// Forward declarations
class AeoliaACPIDevice;
class... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/smu/smu.h | null | null | null | null | null | null | C | 2026-05-04T18:30:58.945359 | /**
* AMD System Management Unit (SMU) device.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <orbital/offset_range.h>
// Forward declarations... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/hardware/liverpool/smu/smu_7_1_2_enum.h | null | null | null | null | null | null | C | 2026-05-04T18:30:59.029091 | /*
* SMU_7_1_2 Register documentation
*
* Copyright (C) 2014 Advanced Micro Devices, Inc.
*
* 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... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/host/graphics/vulkan.h | null | null | null | null | null | null | C | 2026-05-04T18:30:59.323743 | /**
* Vulkan graphics backend.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <vulkan/vulkan.h>
#include <iostream>
#include <set>
#include <source_location>
#include <s... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/offset_range.h | null | null | null | null | null | null | C | 2026-05-04T18:30:59.336322 | /**
* Offset range helper.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
struct OffsetRange {
uint64_t base;
uint64_t size;
constexpr OffsetRange(uint64_t base, uint... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/software/elf.h | null | null | null | null | null | null | C | 2026-05-04T18:30:59.354554 | /**
* ELF Loader.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
// ELF conversion
enum class ElfType {
LE_32,
BE_32,
LE_64,
BE_64,
};
... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/software/cf.h | null | null | null | null | null | null | C | 2026-05-04T18:30:59.369116 | /**
* Common Format (CF) format.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
struct CfSegment {
enum AttrFlags {
FLAGS_INFO = (1 <... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/software/bls.h | null | null | null | null | null | null | C | 2026-05-04T18:30:59.438725 | /**
* BLS format.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <string>
#include <string_view>
#include <vector>
// Forward declarations
cla... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/software/self.h | null | null | null | null | null | null | C | 2026-05-04T18:30:59.451338 | /**
* SELF format.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <orbital/software/cf.h>
#include <orbital/software/elf.h>
#include <memory>
#... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/software/pup.h | null | null | null | null | null | null | C | 2026-05-04T18:30:59.481943 | /**
* PUP format.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <orbital/software/cf.h>
#include <vector>
struct PupHeader {
LE<U32> magi... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/ui.h | null | null | null | null | null | null | C | 2026-05-04T18:30:59.552233 | /**
* SDL/ImGui-based user interface.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
#include <vulkan/vulkan.h>
#define SDL_MAIN_HANDLED
#include <SDL... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/ui/charhost_imgui.h | null | null | null | null | null | null | C | 2026-05-04T18:30:59.564303 | /**
* ImguiCharHost.
*
* Copyright 2017-2021. Orbital project.
* Released under MIT license. Read LICENSE for more details.
*
* Authors:
* - Alexandro Sanchez Bach <alexandro@phi.nz>
*/
#pragma once
#include <orbital/core.h>
// Forward declarations
class ToolLogs;
struct ImguiCharHostConfig {
ToolLogs* ... |
AlexAltea/orbital | https://github.com/AlexAltea/orbital | null | null | null | null | 3,648 | null | null | mit | null | null | null | null | null | null | null | src/orbital/ui/imgui/imgui_impl_sdl.h | null | null | null | null | null | null | C | 2026-05-04T18:30:59.665871 | // dear imgui: Platform Backend for SDL2
// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..)
// (Info: SDL2 is a cross-platform general purpose library for handling windows, inputs, graphics context creation, etc.)
// Implemented features:
// [X] Platform: Mouse cursor shape and visibil... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | .github/workflows/test_build.c | null | null | null | null | null | null | C | 2026-05-04T18:31:02.974598 | #include <liburing.h>
int main(void)
{
struct io_uring ring;
io_uring_queue_init(8, &ring, 0);
io_uring_queue_exit(&ring);
return 0;
}
|
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/helpers.h | null | null | null | null | null | null | C | 2026-05-04T18:31:02.975439 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_EX_HELPERS_H
#define LIBURING_EX_HELPERS_H
#include <stddef.h>
#define T_ALIGN_UP(v, align) (((v) + (align) - 1) & ~((align) - 1))
int setup_listening_socket(int port, int ipv6);
/*
* Some Android versions lack aligned_alloc in stdlib.h.
* To avoid making large ... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/link-cp.c | null | null | null | null | null | null | C | 2026-05-04T18:31:02.977547 | /* SPDX-License-Identifier: MIT */
/*
* Very basic proof-of-concept for doing a copy with linked SQEs. Needs a
* bit of error handling and short read love.
*/
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
#include <errno.h>
#include <inttypes.h>... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/helpers.c | null | null | null | null | null | null | C | 2026-05-04T18:31:02.978808 | /* SPDX-License-Identifier: MIT */
#include <fcntl.h>
#include <stdint.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <unistd.h>
#include <stdarg.h>
#include "helpers.h"
#ifndef CONFIG_HAVE_MEMFD_CREAT... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/io_uring-udp.c | null | null | null | null | null | null | C | 2026-05-04T18:31:02.979994 | /* SPDX-License-Identifier: MIT */
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <string.h>
#include <netinet/udp.h>
#include <arpa/inet.h>
#include "liburing.h"
#define QD 64
#define BUF_SHIFT 12 /* 4k */
#define CQES (QD * 16)
#define BUFFERS CQES
#def... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/io_uring-test.c | null | null | null | null | null | null | C | 2026-05-04T18:31:02.982491 | /* SPDX-License-Identifier: MIT */
/*
* Simple app that demonstrates how to setup an io_uring interface,
* submit and complete IO against it, and then tear it down.
*
* gcc -Wall -O2 -D_GNU_SOURCE -o io_uring-test io_uring-test.c -luring
*/
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/kdigest.c | null | null | null | null | null | null | C | 2026-05-04T18:31:02.984533 | /* SPDX-License-Identifier: MIT */
/*
* Proof-of-concept for doing file digests using the kernel's AF_ALG API.
* Needs a bit of error handling.
*/
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
#include <errno.h>
#include <inttypes.h>
#include <s... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/io_uring-cp.c | null | null | null | null | null | null | C | 2026-05-04T18:31:03.015048 | /* SPDX-License-Identifier: MIT */
/*
* gcc -Wall -O2 -D_GNU_SOURCE -o io_uring-cp io_uring-cp.c -luring
*/
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
#include <errno.h>
#include <inttypes.h>
#include <sys/types.h>
#include <sys/stat.h>
#inclu... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/napi-busy-poll-client.c | null | null | null | null | null | null | C | 2026-05-04T18:31:03.045859 | /* SPDX-License-Identifier: MIT */
/*
* Simple ping/pong client which can use the io_uring NAPI support.
*
* Needs to be run as root because it sets SCHED_FIFO scheduling class,
* but will work without that.
*
* Example:
*
* sudo examples/napi-busy-poll-client -a 192.168.2.2 -n100000 -p4444 \
* -b -t10 -u
*
... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/io_uring-close-test.c | null | null | null | null | null | null | C | 2026-05-04T18:31:03.046372 | /* SPDX-License-Identifier: MIT */
/*
* Simple app that demonstrates how to setup an io_uring interface, and use it
* via a registered ring fd, without leaving the original fd open.
*
* gcc -Wall -O2 -D_GNU_SOURCE -o io_uring-close-test io_uring-close-test.c -luring
*/
#include <stdio.h>
#include <fcntl.h>
#includ... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/napi-busy-poll-server.c | null | null | null | null | null | null | C | 2026-05-04T18:31:03.600660 | /* SPDX-License-Identifier: MIT */
/*
* Simple ping/pong backend which can use the io_uring NAPI support.
*
* Needs to be run as root because it sets SCHED_FIFO scheduling class,
* but will work without that.
*
* Example:
*
* sudo examples/napi-busy-poll-server -l -a 192.168.2.2 -n100000 \
* -p4444 -t10 -b -u
... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/rsrc-update-bench.c | null | null | null | null | null | null | C | 2026-05-04T18:31:03.644833 | /* SPDX-License-Identifier: MIT */
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <poll.h>
#include <sys/time.h>
#include <sys/wait.h>
#include "liburing.h"
static unsigned long runtime_ms = 10000;
static unsigned long gettimeofday_ms(vo... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/poll-bench.c | null | null | null | null | null | null | C | 2026-05-04T18:31:03.645357 | /* SPDX-License-Identifier: MIT */
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <poll.h>
#include <sys/time.h>
#include <sys/wait.h>
#include "liburing.h"
static char buf[4096];
static unsigned long runtime_ms = 10000;
static unsigned ... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/reg-wait.c | null | null | null | null | null | null | C | 2026-05-04T18:31:03.676833 | /* SPDX-License-Identifier: MIT */
/*
* Sample program that shows how to use registered waits.
*
* (C) 2024 Jens Axboe <axboe@kernel.dk>
*/
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <assert.h>
#include <sys/time.h>
#include <liburing.h>
#include "he... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/proxy.h | null | null | null | null | null | null | C | 2026-05-04T18:31:03.706085 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_PROXY_H
#define LIBURING_PROXY_H
#include <sys/time.h>
/*
* Generic opcode agnostic encoding to sqe/cqe->user_data
*/
struct userdata {
union {
struct {
uint16_t op_tid; /* 4 bits op, 12 bits tid */
uint16_t bid;
uint16_t fd;
};
uint64_t val;
};
}... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.