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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/arch/aarch64/lib.h | null | null | null | null | null | null | C | 2026-05-04T18:31:03.716554 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_ARCH_AARCH64_LIB_H
#define LIBURING_ARCH_AARCH64_LIB_H
#include <elf.h>
#include "../../syscall.h"
static inline long __get_page_size(void)
{
Elf64_Off buf[2];
long ret = 4096;
int fd;
fd = __sys_open("/proc/self/auxv", O_RDONLY, 0);
if (fd < 0)
return ret;... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/zcrx.c | null | null | null | null | null | null | C | 2026-05-04T18:31:03.735497 | // SPDX-License-Identifier: GPL-2.0
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdarg.h>
#include <time.h>
#include <arpa/inet.h>
#include <linux/errqueue... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/send-zerocopy.c | null | null | null | null | null | null | C | 2026-05-04T18:31:03.741169 | /* SPDX-License-Identifier: MIT */
/* based on linux-kernel/tools/testing/selftests/net/msg_zerocopy.c */
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdbool.h>
#include <stdarg.h>
#include <string... |
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.c | null | null | null | null | null | null | C | 2026-05-04T18:31:03.742951 | /* SPDX-License-Identifier: MIT */
/*
* Sample program that can act either as a packet sink, where it just receives
* packets and doesn't do anything with them, or it can act as a proxy where it
* receives packets and then sends them to a new destination. The proxy can
* be unidirectional (-B0), or bi-direction (-B... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | examples/ucontext-cp.c | null | null | null | null | null | null | C | 2026-05-04T18:31:03.754822 | /* SPDX-License-Identifier: MIT */
/*
* gcc -Wall -O2 -D_GNU_SOURCE -o ucontext-cp ucontext-cp.c -luring
*/
#define _POSIX_C_SOURCE 199309L
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
#include <errno.h>
#include <ucontext.h>
#include <signal.h>... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/arch/generic/lib.h | null | null | null | null | null | null | C | 2026-05-04T18:31:04.463696 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_ARCH_GENERIC_LIB_H
#define LIBURING_ARCH_GENERIC_LIB_H
static inline long get_page_size(void)
{
long page_size;
page_size = sysconf(_SC_PAGESIZE);
if (page_size < 0)
page_size = 4096;
return page_size;
}
#endif /* #ifndef LIBURING_ARCH_GENERIC_LIB_H */
|
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/arch/syscall-defs.h | null | null | null | null | null | null | C | 2026-05-04T18:31:04.531274 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_ARCH_SYSCALL_DEFS_H
#define LIBURING_ARCH_SYSCALL_DEFS_H
#include <fcntl.h>
static inline int __sys_open(const char *pathname, int flags, mode_t mode)
{
/*
* Some architectures don't have __NR_open, but __NR_openat.
*/
#ifdef __NR_open
return (int) __do_sysca... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/arch/x86/syscall.h | null | null | null | null | null | null | C | 2026-05-04T18:31:04.532055 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_ARCH_X86_SYSCALL_H
#define LIBURING_ARCH_X86_SYSCALL_H
#if defined(__x86_64__)
/**
* Note for syscall registers usage (x86-64):
* - %rax is the syscall number.
* - %rax is also the return value.
* - %rdi is the 1st argument.
* - %rsi is the 2nd argument... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/ffi.c | null | null | null | null | null | null | C | 2026-05-04T18:31:04.533183 | /* SPDX-License-Identifier: MIT */
#define IOURINGINLINE
#ifdef __clang__
// clang doesn't seem to particularly like that we're including a header that
// deliberately contains function definitions so we explicitly silence it
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wmissing-prototypes"
#endif
... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/arch/x86/lib.h | null | null | null | null | null | null | C | 2026-05-04T18:31:04.534455 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_ARCH_X86_LIB_H
#define LIBURING_ARCH_X86_LIB_H
static inline long get_page_size(void)
{
return 4096;
}
#endif /* #ifndef LIBURING_ARCH_X86_LIB_H */
|
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/arch/generic/syscall.h | null | null | null | null | null | null | C | 2026-05-04T18:31:04.535945 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_ARCH_GENERIC_SYSCALL_H
#define LIBURING_ARCH_GENERIC_SYSCALL_H
#include <fcntl.h>
static inline int __sys_io_uring_register(unsigned int fd, unsigned int opcode,
const void *arg, unsigned int nr_args)
{
int ret;
ret = syscall(__NR_io_uring_register, fd, op... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/arch/riscv64/syscall.h | null | null | null | null | null | null | C | 2026-05-04T18:31:04.537244 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_ARCH_RISCV64_SYSCALL_H
#define LIBURING_ARCH_RISCV64_SYSCALL_H
#if defined(__riscv) && __riscv_xlen == 64
#define __do_syscallM(...) ({ \
__asm__ volatile ( \
"ecall" \
: "=r"(a0) \
: __VA_ARGS__ \
: "memory", "a1"); \
(long)... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/include/liburing.h | null | null | null | null | null | null | C | 2026-05-04T18:31:04.538699 | /* SPDX-License-Identifier: MIT */
#ifndef LIB_URING_H
#define LIB_URING_H
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/uio.h>
#include <errno.h>
#include <signal.h>
#include <stdbool.h>
#include <inttypes.h>
#include <time.h>
#include <fcntl.h>
#include <sched.h>
#include <linux/swab.h>
#include <linux... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/arch/riscv64/lib.h | null | null | null | null | null | null | C | 2026-05-04T18:31:04.787088 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_ARCH_RISCV64_LIB_H
#define LIBURING_ARCH_RISCV64_LIB_H
#include <elf.h>
#include <sys/auxv.h>
#include "../../syscall.h"
static inline long __get_page_size(void)
{
Elf64_Off buf[2];
long ret = 4096;
int fd;
fd = __sys_open("/proc/self/auxv", O_RDONLY, 0);
if ... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/arch/aarch64/syscall.h | null | null | null | null | null | null | C | 2026-05-04T18:31:05.000297 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_ARCH_AARCH64_SYSCALL_H
#define LIBURING_ARCH_AARCH64_SYSCALL_H
#if defined(__aarch64__)
#define __do_syscallN(...) ({ \
__asm__ volatile ( \
"svc 0" \
: "=r"(x0) \
: __VA_ARGS__ \
: "memory", "cc"); \
(long) x0; \
})
#... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/include/liburing/barrier.h | null | null | null | null | null | null | C | 2026-05-04T18:31:05.170726 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_BARRIER_H
#define LIBURING_BARRIER_H
/*
From the kernel documentation file refcount-vs-atomic.rst:
A RELEASE memory ordering guarantees that all prior loads and
stores (all po-earlier instructions) on the same CPU are completed
before the operation. It also guarante... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/include/liburing/sanitize.h | null | null | null | null | null | null | C | 2026-05-04T18:31:05.231691 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_SANITIZE_H
#define LIBURING_SANITIZE_H
#ifdef __cplusplus
#define LIBURING_NOEXCEPT noexcept
#else
#define LIBURING_NOEXCEPT
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct io_uring;
struct iovec;
#if defined(CONFIG_USE_SANITIZER)
void liburing_sanitize_ring(... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/int_flags.h | null | null | null | null | null | null | C | 2026-05-04T18:31:05.247429 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_INT_FLAGS
#define LIBURING_INT_FLAGS
#define INT_FLAGS_MASK (IORING_ENTER_REGISTERED_RING | \
IORING_ENTER_NO_IOWAIT)
enum {
INT_FLAG_REG_RING = IORING_ENTER_REGISTERED_RING,
INT_FLAG_NO_IOWAIT = IORING_ENTER_NO_IOWAIT,
INT_FLAG_REG_REG_RING = 1,
INT_FLAG_... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/include/liburing/io_uring/bpf_filter.h | null | null | null | null | null | null | C | 2026-05-04T18:31:05.250732 | /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */
/*
* Header file for the io_uring BPF filters.
*/
#ifndef LINUX_IO_URING_BPF_FILTER_H
#define LINUX_IO_URING_BPF_FILTER_H
#include <linux/types.h>
/*
* Struct passed to filters.
*/
struct io_uring_bpf_ctx {
__u64 user_data;
__u8 opcode;
__... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/lib.h | null | null | null | null | null | null | C | 2026-05-04T18:31:05.252226 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_LIB_H
#define LIBURING_LIB_H
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#if defined(__x86_64__) || defined(__i386__)
#include "arch/x86/lib.h"
#elif defined(__aarch64__)
#include "arch/aarch64/lib.h"
#elif defined(__riscv) && __riscv_xlen == 64
#inc... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/nolibc.c | null | null | null | null | null | null | C | 2026-05-04T18:31:05.254486 | /* SPDX-License-Identifier: MIT */
#ifndef CONFIG_NOLIBC
#error "This file should only be compiled for no libc build"
#endif
#include "lib.h"
#include "syscall.h"
void *__uring_memset(void *s, int c, size_t n)
{
size_t i;
unsigned char *p = s;
for (i = 0; i < n; i++) {
p[i] = (unsigned char) c;
/*
* An e... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/include/liburing/io_uring/query.h | null | null | null | null | null | null | C | 2026-05-04T18:31:05.258196 | /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */
/*
* Header file for the io_uring query interface.
*/
#ifndef LINUX_IO_URING_QUERY_H
#define LINUX_IO_URING_QUERY_H
#include <linux/types.h>
struct io_uring_query_hdr {
__u64 next_entry;
__u64 query_data;
__u32 query_op;
__u32 size;
__s32 ... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/include/liburing/io_uring.h | null | null | null | null | null | null | C | 2026-05-04T18:31:05.259256 | /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */
/*
* Header file for the io_uring interface.
*
* Copyright (C) 2019 Jens Axboe
* Copyright (C) 2019 Christoph Hellwig
*/
#ifndef LINUX_IO_URING_H
#define LINUX_IO_URING_H
#include <linux/fs.h>
#include <linux/types.h>
/*
* this file is share... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/queue.c | null | null | null | null | null | null | C | 2026-05-04T18:31:05.424883 | /* SPDX-License-Identifier: MIT */
#define _POSIX_C_SOURCE 200112L
#include "lib.h"
#include "syscall.h"
#include "liburing.h"
#include "int_flags.h"
#include "liburing/sanitize.h"
#include "liburing/io_uring.h"
/*
* Returns true if we're not using SQ thread (thus nobody submits but us)
* or if IORING_SQ_NEED_WAKEU... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/register.c | null | null | null | null | null | null | C | 2026-05-04T18:31:05.650288 | /* SPDX-License-Identifier: MIT */
#define _POSIX_C_SOURCE 200112L
#include "lib.h"
#include "syscall.h"
#include "liburing.h"
#include "setup.h"
#include "int_flags.h"
#include "liburing/io_uring/bpf_filter.h"
#include "liburing/io_uring.h"
#include "liburing/sanitize.h"
static inline int do_register(struct io_uring... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/sanitize.c | null | null | null | null | null | null | C | 2026-05-04T18:31:05.829440 | /* SPDX-License-Identifier: MIT */
#include "liburing/sanitize.h"
#include <sanitizer/asan_interface.h>
#include <stdlib.h>
#include "liburing.h"
static inline void sanitize_sqe_addr(struct io_uring_sqe *sqe)
{
if (__asan_address_is_poisoned((void *) (unsigned long) sqe->addr) != 0) {
__asan_describe_address((voi... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/setup.c | null | null | null | null | null | null | C | 2026-05-04T18:31:05.869117 | /* SPDX-License-Identifier: MIT */
#define _DEFAULT_SOURCE
#include "lib.h"
#include "syscall.h"
#include "liburing.h"
#include "int_flags.h"
#include "setup.h"
#include "liburing/io_uring.h"
#include <stdio.h>
#define KERN_MAX_ENTRIES 32768
#define KERN_MAX_CQ_ENTRIES (2 * KERN_MAX_ENTRIES)
static inline int __fls(... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/syscall.h | null | null | null | null | null | null | C | 2026-05-04T18:31:05.910518 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_SYSCALL_H
#define LIBURING_SYSCALL_H
#include <errno.h>
#include <signal.h>
#include <stdint.h>
#include <unistd.h>
#include <stdbool.h>
#include <sys/mman.h>
#include <sys/syscall.h>
#include <sys/resource.h>
#include <liburing.h>
/*
* Don't put this below the #in... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/version.c | null | null | null | null | null | null | C | 2026-05-04T18:31:05.918392 | /* SPDX-License-Identifier: MIT */
#include "liburing.h"
#include "liburing/io_uring_version.h"
int io_uring_major_version(void)
{
return IO_URING_VERSION_MAJOR;
}
int io_uring_minor_version(void)
{
return IO_URING_VERSION_MINOR;
}
bool io_uring_check_version(int major, int minor)
{
return major > io_uring_major... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | test/232c93d07b74.c | null | null | null | null | null | null | C | 2026-05-04T18:31:05.942205 | /* SPDX-License-Identifier: MIT */
/*
* Test case for socket read/write through IORING_OP_READV and
* IORING_OP_WRITEV, using both TCP and sockets and blocking and
* non-blocking IO.
*
* Heavily based on a test case from Hrvoje Zeba <zeba.hrvoje@gmail.com>
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdin... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/syscall.c | null | null | null | null | null | null | C | 2026-05-04T18:31:05.961593 | /* SPDX-License-Identifier: MIT */
#include "syscall.h"
#include <liburing.h>
int io_uring_enter(unsigned int fd, unsigned int to_submit,
unsigned int min_complete, unsigned int flags, sigset_t *sig)
{
return __sys_io_uring_enter(fd, to_submit, min_complete, flags, sig);
}
int io_uring_enter2(unsigned int fd, ... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | src/setup.h | null | null | null | null | null | null | C | 2026-05-04T18:31:05.982906 | /* SPDX-License-Identifier: MIT */
#ifndef LIBURING_SETUP_H
#define LIBURING_SETUP_H
int __io_uring_queue_init_params(unsigned entries, struct io_uring *ring,
struct io_uring_params *p, void *buf,
size_t buf_size);
void io_uring_unmap_rings(struct io_uring_sq *sq, struct io_uring_cq *cq);
int io_uring_mmap(i... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | test/500f9fbadef8.c | null | null | null | null | null | null | C | 2026-05-04T18:31:06.048657 | /* SPDX-License-Identifier: MIT */
/*
* Description: Single depth submit+wait poll hang test
*
*/
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include "helpers.h"
#include "liburing.h"
#define BLOCKS 4096
int main(int argc, char *argv[])
{
... |
axboe/liburing | https://github.com/axboe/liburing | null | null | null | null | 3,633 | null | null | mit | null | null | null | null | null | null | null | test/7ad0e4b2f83c.c | null | null | null | null | null | null | C | 2026-05-04T18:31:06.288654 | /* SPDX-License-Identifier: MIT */
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
#include "liburing.h"
#include "helpers.h"
int main(int argc, char *argv[])
{
struct __kernel_timespec ts1, ts2;
struct io_uring_cqe *cqe;
struct io_uring_sqe *sqe;
struct io_uring ring;
unsigned long msec;
struct timev... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/lkboot/commands.c | null | null | null | null | null | null | C | 2026-05-04T18:31:09.356945 | /*
* Copyright (c) 2014 Brian Swetland
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <platform.h>
#include <stdio.h>
#include <stdlib.h>
#include <lk/debug.h>
#include <string.h>
#include <endian.h>
... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/include/app.h | null | null | null | null | null | null | C | 2026-05-04T18:31:09.362521 | /*
* Copyright (c) 2009-2012 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
#include <stddef.h>
#include <lk/compiler.h>
#include <stdbool.h>
#include <sys/types.h>
__BEGIN_CDE... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/cdcserialtest/cdcserialtest.c | null | null | null | null | null | null | C | 2026-05-04T18:31:09.363766 | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Author: gkalsi@google.com (Gurjant Kalsi)
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <app.h>
#include <assert.h>
#include <lk/err.h>
#include... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/cdcserialtest/include/app/cdcserialtest/cdcserialtest.h | null | null | null | null | null | null | C | 2026-05-04T18:31:09.371826 | /*
* Copyright 2018 The Fuchsia Authors. All Rights Reserved.
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
#include <dev/usb/class/cdcserial.h>
/* This needs to be called before app_init. */
vo... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/lkboot/include/app/lkboot.h | null | null | null | null | null | null | C | 2026-05-04T18:31:09.407021 | /*
* Copyright (c) 2014 Brian Swetland
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
typedef struct LKB lkb_t;
// lkb_read/write may *only* be called from within a lkb_handler()
// len of 0 is i... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/accelerometer/accelerometer.c | null | null | null | null | null | null | C | 2026-05-04T18:31:09.417495 | /*
* Copyright (c) 2008 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <app.h>
#include <lk/debug.h>
#include <stdio.h>
#include <dev/accelerometer.h>
#include <lk/compiler.h>
#inclu... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/lkboot/dcc.c | null | null | null | null | null | null | C | 2026-05-04T18:31:09.424218 | /*
* Copyright (c) 2015 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include "lkboot.h"
#include <stdio.h>
#include <lk/debug.h>
#include <string.h>
#include <lk/compiler.h>
#include <lk/... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/app.c | null | null | null | null | null | null | C | 2026-05-04T18:31:09.464063 | /*
* Copyright (c) 2009 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include "app.h"
#include <stdio.h>
#include <string.h>
#include <lk/err.h>
#include <lk/console_cmd.h>
#include <kerne... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/inetsrv/inetsrv.c | null | null | null | null | null | null | C | 2026-05-04T18:31:09.469868 | /*
* Copyright (c) 2014 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <app.h>
#include <lk/err.h>
#include <lk/debug.h>
#include <lk/trace.h>
#include <stdio.h>
#include <stdlib.h>
... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/inetsrv/inetsrv.h | null | null | null | null | null | null | C | 2026-05-04T18:31:09.483024 | /*
* Copyright (c) 2014 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
|
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/lkboot/inet.c | null | null | null | null | null | null | C | 2026-05-04T18:31:09.954147 | /*
* Copyright (c) 2015 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#if WITH_LIB_MINIP
#include <app.h>
#include <platform.h>
#include <stdio.h>
#include <lk/debug.h>
#include <string.h>... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/lkboot/lkboot.c | null | null | null | null | null | null | C | 2026-05-04T18:31:09.990601 | /*
* Copyright (c) 2014 Brian Swetland
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include "lkboot.h"
#include <app.h>
#include <platform.h>
#include <stdio.h>
#include <lk/debug.h>
#include <string.h>
#i... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/lkboot/lkboot_protocol.h | null | null | null | null | null | null | C | 2026-05-04T18:31:09.998014 | /*
* Copyright (c) 2014 Brian Swetland
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
typedef struct {
unsigned char opcode;
unsigned char extra;
unsigned short length;
} msg_hdr_t;
//... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/lpcboot/lpc43xx-spifi.c | null | null | null | null | null | null | C | 2026-05-04T18:31:10.046695 | /*
* Copyright (c) 2015 Brian Swetland
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <lk/debug.h>
#include <string.h>
#include <stdlib.h>
#include <printf.h>
#include <lk/reg.h>
#include <platform/lp... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/lkboot/pdcc.h | null | null | null | null | null | null | C | 2026-05-04T18:31:10.067452 | /*
* Copyright (c) 2015 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
#include <stdint.h>
/* in memory and DCC descriptors for the PDCC protocol */
/* shared outside of lk re... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/lkboot/lkboot.h | null | null | null | null | null | null | C | 2026-05-04T18:31:10.074059 | /*
* Copyright (c) 2015 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
#include <sys/types.h>
#include <app/lkboot.h>
#include "lkboot_protocol.h"
/* private to lkboot app */
... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/loader/loader.c | null | null | null | null | null | null | C | 2026-05-04T18:31:10.122408 | /*
* Copyright (c) 2015 Carlos Pizano-Uribe <cpu@chromium.org>
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
#include <lib/tftp.... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/mdebug/jtag.c | null | null | null | null | null | null | C | 2026-05-04T18:31:10.151011 | /* swdp-m0sub.c
*
* Copyright 2015 Brian Swetland <swetland@frotz.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/mdebug/fw-m0sub.h | null | null | null | null | null | null | C | 2026-05-04T18:31:10.152136 | unsigned char zero_bin[] = {
0xf0, 0x3f, 0x00, 0x18, 0x25, 0x09, 0x00, 0x18, 0x49, 0x00, 0x00, 0x18,
0x49, 0x00, 0x00, 0x18, 0x49, 0x00, 0x00, 0x18, 0x49, 0x00, 0x00, 0x18,
0x49, 0x00, 0x00, 0x18, 0x49, 0x00, 0x00, 0x18, 0x49, 0x00, 0x00, 0x18,
0x49, 0x00, 0x00, 0x18, 0x49, 0x00, 0x00, 0x18, 0x49, 0x00, 0x00, 0... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/lpcboot/lpcboot.c | null | null | null | null | null | null | C | 2026-05-04T18:31:10.166992 | /*
* Copyright (c) 2015 Brian Swetland
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <app.h>
#include <lk/err.h>
#include <lk/debug.h>
#include <string.h>
#include <stdlib.h>
#include <printf.h>
#incl... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/mdebug/mdebug.c | null | null | null | null | null | null | C | 2026-05-04T18:31:10.695745 | /* mdebug.c
*
* Copyright 2015 Brian Swetland <swetland@frotz.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/mdebug/lpclink2.h | null | null | null | null | null | null | C | 2026-05-04T18:31:10.957405 |
// gpio configuration for JTAG
#define PIN_LED PIN(1,1)
#define PIN_RESET PIN(2,5)
#define PIN_RESET_TXEN PIN(2,6)
#define PIN_TMS_TXEN PIN(1,5) // SGPIO15=6
#define PIN_TMS PIN(1,6) // SGPIO14=6
#define PIN_TCK PIN(1,17) // SGPIO11=6
#define PIN_TDI PIN(1,18) // SGP... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/mdebug/swd-sgpio.c | null | null | null | null | null | null | C | 2026-05-04T18:31:11.118081 | /* swdp-sgpio.c
*
* Copyright 2015 Brian Swetland <swetland@frotz.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/moot/include/app/moot/fsboot.h | null | null | null | null | null | null | C | 2026-05-04T18:31:11.169450 | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Author: gkalsi@google.com (Gurjant Kalsi)
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
// The platform/target should implement this routin... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/moot/fsboot.c | null | null | null | null | null | null | C | 2026-05-04T18:31:11.169964 | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Author: gkalsi@google.com (Gurjant Kalsi)
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <app/moot/fsboot.h>
#include <app/moot/stubs.h>
#include... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/mdebug/rswdp.h | null | null | null | null | null | null | C | 2026-05-04T18:31:11.171609 | /* rswdp.h - remote serial wire debug protocol
*
* Copyright 2011 Brian Swetland <swetland@frotz.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lic... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/mdebug/swd.h | null | null | null | null | null | null | C | 2026-05-04T18:31:11.264227 | /* swd.h
*
* Copyright 2011 Brian Swetland <swetland@frotz.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/mdebug/rswd.c | null | null | null | null | null | null | C | 2026-05-04T18:31:11.324170 | /* rswd.c
*
* Copyright 2011-2015 Brian Swetland <swetland@frotz.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/mdebug/swo-uart1.c | null | null | null | null | null | null | C | 2026-05-04T18:31:11.418644 | /* swo-uart1.c
*
* Copyright 2015 Brian Swetland <swetland@frotz.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/moot/include/app/moot/stubs.h | null | null | null | null | null | null | C | 2026-05-04T18:31:11.852931 | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Author: gkalsi@google.com (Gurjant Kalsi)
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
#include <sys/types.h>
typedef struct moot_sysinfo... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/moot/include/app/moot/usbboot.h | null | null | null | null | null | null | C | 2026-05-04T18:31:11.854884 | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Author: gkalsi@google.com (Gurjant Kalsi)
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#ifndef APP_MOOT_USB_H_
#define APP_MOOT_USB_H_
#include <stdboo... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/moot/stubs.c | null | null | null | null | null | null | C | 2026-05-04T18:31:12.070524 | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Author: gkalsi@google.com (Gurjant Kalsi)
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <app/moot/stubs.h>
#include <lk/compiler.h>
#include <lk... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/mdebug/swd-m0sub.c | null | null | null | null | null | null | C | 2026-05-04T18:31:12.071848 | /* swdp-m0sub.c
*
* Copyright 2015 Brian Swetland <swetland@frotz.net>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/moot/usbboot.c | null | null | null | null | null | null | C | 2026-05-04T18:31:12.073545 | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Author: gkalsi@google.com (Gurjant Kalsi)
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <app/moot/usbboot.h>
#include <app/moot/stubs.h>
#inclu... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/moot/moot.c | null | null | null | null | null | null | C | 2026-05-04T18:31:12.102730 | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Author: gkalsi@google.com (Gurjant Kalsi)
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <app/moot/fsboot.h>
#include <app/moot/moot.h>
#include ... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/ndebugtest/ndebugtest.c | null | null | null | null | null | null | C | 2026-05-04T18:31:12.577525 | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Author: gkalsi@google.com (Gurjant Kalsi)
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*
******************************************************************... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/tests/port_tests.c | null | null | null | null | null | null | C | 2026-05-04T18:31:13.607229 | /*
* Copyright (c) 2015 Carlos Pizano-Uribe cpu@chromium.org
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include "tests.h"
#include <lk/debug.h>
#include <lk/err.h>
#include <rand.h>
#include <string.h>
#i... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/shell/shell.c | null | null | null | null | null | null | C | 2026-05-04T18:31:13.986738 | /*
* Copyright (c) 2009 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <app.h>
#include <lk/debug.h>
#include <lib/console.h>
static void shell_entry(const struct app_descriptor *ap... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/tests/benchmarks.c | null | null | null | null | null | null | C | 2026-05-04T18:31:14.022387 | /*
* Copyright (c) 2008-2012 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include "tests.h"
#include <inttypes.h>
#include <kernel/event.h>
#include <kernel/mutex.h>
#include <kernel/sema... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/tests/cache_tests.c | null | null | null | null | null | null | C | 2026-05-04T18:31:14.023131 | /*
* Copyright (c) 2014 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#if ARM_WITH_CACHE
#include "tests.h"
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/tests/tests.c | null | null | null | null | null | null | C | 2026-05-04T18:31:14.393035 | /*
* Copyright (c) 2008 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include "tests.h"
#include <app.h>
#include <lk/debug.h>
#include <lk/compiler.h>
#include <lk/console_cmd.h>
STATIC... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/udctest/udctest.c | null | null | null | null | null | null | C | 2026-05-04T18:31:14.702414 | /*
* Copyright (c) 2015 Brian Swetland
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <app.h>
#include <lk/debug.h>
#include <string.h>
#include <stdlib.h>
#include <printf.h>
#include <dev/udc.h>
ud... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/tests/tests.h | null | null | null | null | null | null | C | 2026-05-04T18:31:14.815762 | /*
* Copyright (c) 2008-2014 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
#include <lk/console_cmd.h>
int benchmarks(int argc, const console_cmd_args *argv);
int clock_tests(... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/tests/thread_tests.c | null | null | null | null | null | null | C | 2026-05-04T18:31:14.816428 | /*
* Copyright (c) 2008-2015 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include "tests.h"
#include <lk/debug.h>
#include <lk/trace.h>
#include <rand.h>
#include <lk/err.h>
#include <ass... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/moot/include/app/moot/moot.h | null | null | null | null | null | null | C | 2026-05-04T18:31:17.469598 | /*
* Copyright 2016 Google Inc. All Rights Reserved.
* Author: gkalsi@google.com (Gurjant Kalsi)
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
typedef enum {
BOOT_NOW,
NEXT_BOOT_STRATEGY... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/stringtests/string_tests.c | null | null | null | null | null | null | C | 2026-05-04T18:31:17.786871 | /*
* Copyright (c) 2008-2014 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <stdio.h>
#include <string.h>
#include <malloc.h>
#include <app.h>
#include <platform.h>
#include <kernel/... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/tests/fibo.c | null | null | null | null | null | null | C | 2026-05-04T18:31:17.848081 | /*
* Copyright (c) 2012 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include "tests.h"
#include <stdio.h>
#include <rand.h>
#include <lk/err.h>
#include <kernel/thread.h>
#include <kernel... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/tests/clock_tests.c | null | null | null | null | null | null | C | 2026-05-04T18:31:17.892109 | /*
* Copyright (c) 2012 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include "tests.h"
#include <stdio.h>
#include <rand.h>
#include <lk/err.h>
#include <kernel/thread.h>
#include <kernel... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/tests/mem_tests.c | null | null | null | null | null | null | C | 2026-05-04T18:31:17.930753 | /*
* Copyright (c) 2014 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <arch.h>
#include <arch/ops.h>
#include <lk/console_cmd.h>
#include <lk/debug.h>
#include <lk/err.h>
#include <... |
littlekernel/lk | https://github.com/littlekernel/lk | null | null | null | null | 3,632 | null | null | mit | null | null | null | null | null | null | null | app/tests/float.c | null | null | null | null | null | null | C | 2026-05-04T18:31:17.985589 | /*
* Copyright (c) 2013-2015 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#if !WITH_NO_FP
#include "tests.h"
#include <stdio.h>
#include <inttypes.h>
#include <rand.h>
#include <string.h>... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/gb/common/uncopyable.h | null | null | null | null | null | null | C | 2026-05-04T18:31:22.445818 | /***************************************************************************
* Copyright (C) 2009 by Sindre Aamås *
* aamas@stud.ntnu.no *
* *
* This pr... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/atari2600/stella/src/tools/convbdf.c | null | null | null | null | null | null | C | 2026-05-04T18:31:22.447485 | /*
* Convert BDF files to C++ source.
*
* Copyright (c) 2002 by Greg Haerr <greg@censoft.com>
*
* Originally writen for the Microwindows Project <http://microwindows.org>
*
* Greg then modified it for Rockbox <http://rockbox.haxx.se/>
*
* Max Horn took that version and changed it to work for ScummVM.
* Change... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/atari2600/libretro-common/include/compat/msvc/stdint.h | null | null | null | null | null | null | C | 2026-05-04T18:31:22.448000 | /* ISO C9x compliant stdint.h for Microsoft Visual Studio
* Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
*
* Copyright (c) 2006-2008 Alexander Chemeris
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/gb/libgambatte/include/gbint.h | null | null | null | null | null | null | C | 2026-05-04T18:31:22.457378 | /***************************************************************************
* Copyright (C) 2007 by Sindre Aamås *
* aamas@stud.ntnu.no *
* *
* This pr... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/atari2600/libretro-common/include/compat/msvc.h | null | null | null | null | null | null | C | 2026-05-04T18:31:22.463447 | /* Copyright (C) 2010-2016 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (msvc_compat.h).
* ---------------------------------------------------------------------------------------
*
* Perm... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/atari2600/stella/src/yacc/y.tab.c | null | null | null | null | null | null | C | 2026-05-04T18:31:22.474310 |
/* A Bison parser, made by GNU Bison 2.4.1. */
/* Skeleton implementation for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/atari2600/stella/src/yacc/y.tab.h | null | null | null | null | null | null | C | 2026-05-04T18:31:22.498579 |
/* A Bison parser, made by GNU Bison 2.4.1. */
/* Skeleton interface for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the term... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/gb/common/gambatte-array.h | null | null | null | null | null | null | C | 2026-05-04T18:31:22.905686 | /***************************************************************************
* Copyright (C) 2008 by Sindre Aamås *
* aamas@stud.ntnu.no *
* *
* This pr... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/gb/libgambatte/include/gambatte.h | null | null | null | null | null | null | C | 2026-05-04T18:31:22.907075 | /***************************************************************************
* Copyright (C) 2007 by Sindre Aamås *
* aamas@stud.ntnu.no *
* *
* This pr... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/atari2600/stella/src/yacc/calctest.c | null | null | null | null | null | null | C | 2026-05-04T18:31:22.958921 |
#include <stdio.h>
#include <string.h>
#include "YaccParser.hxx"
//extern int YaccParser::yyparse();
//extern void YaccParser::set_input(const char *);
//extern int yyrestart(FILE *);
int main(int argc, char **argv) {
#ifndef BM
YaccParser::parse(argv[1]);
printf("\n= %d\n", YaccParser::getResult()->evaluate());
... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/gb/libgambatte/libretro-common/include/retro_inline.h | null | null | null | null | null | null | C | 2026-05-04T18:31:23.572328 | /* Copyright (C) 2010-2017 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (retro_inline.h).
* ---------------------------------------------------------------------------------------
*
* Per... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/gb/libgambatte/libretro-common/include/memmap.h | null | null | null | null | null | null | C | 2026-05-04T18:31:23.573940 | /* Copyright (C) 2010-2017 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (memmap.h).
* ---------------------------------------------------------------------------------------
*
* Permissio... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/gb/libgambatte/libretro-common/include/compat/msvc.h | null | null | null | null | null | null | C | 2026-05-04T18:31:23.746449 | /* Copyright (C) 2010-2017 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (msvc.h).
* ---------------------------------------------------------------------------------------
*
* Permission ... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/gb/libgambatte/libretro-common/include/retro_common_api.h | null | null | null | null | null | null | C | 2026-05-04T18:31:23.786962 | /* Copyright (C) 2010-2017 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (retro_common_api.h).
* ---------------------------------------------------------------------------------------
*
*... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/gb/libgambatte/libretro-common/include/retro_miscellaneous.h | null | null | null | null | null | null | C | 2026-05-04T18:31:23.788179 | /* Copyright (C) 2010-2017 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (retro_miscellaneous.h).
* ---------------------------------------------------------------------------------------
*... |
openai/retro | https://github.com/openai/retro | null | null | null | null | 3,586 | null | null | mit | null | null | null | null | null | null | null | cores/gb/libgambatte/libretro-common/include/boolean.h | null | null | null | null | null | null | C | 2026-05-04T18:31:23.842889 | /* Copyright (C) 2010-2017 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (boolean.h).
* ---------------------------------------------------------------------------------------
*
* Permissi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.