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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | UACBypassJF_RpcALPC/src/consts.h | null | null | null | null | null | null | C | 2026-05-04T19:01:44.970284 | /*******************************************************************************
*
* (C) COPYRIGHT AUTHORS, 2015 - 2022
*
* TITLE: CONSTS.H
*
* VERSION: 3.59
*
* DATE: 04 Feb 2022
*
* Global consts definition file.
*
* If you are looking for unique enough pattern look for values/regions marked as... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | UACBypassJF_RpcALPC/src/ntlib/nttpp.h | null | null | null | null | null | null | C | 2026-05-04T19:01:44.974407 | /**
Copyright © 2019 Odzhan. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the followi... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | UACBypassJF_RpcALPC/src/ntlib/ntdll_types.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.004268 | #pragma once
/*
based on: pstype.h by Alex Ionescu
*/
//
// Flags for NtCreateProcessEx
//
#define PROCESS_CREATE_FLAGS_BREAKAWAY 0x00000001
#define PROCESS_CREATE_FLAGS_NO_DEBUG_INHERIT 0x00000002
#define PROCESS_CREATE_FLAGS_INHERIT_HANDLES 0x00000004
#define PROCESS_CREATE_FLAGS_OVERRIDE_ADDRESS_SPACE ... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | UACBypassJF_RpcALPC/src/appinfo/x64/appinfo64.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.005502 |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.01.0622 */
/* at Mon Jan 18 19:14:07 2038
*/
/* Compiler settings for appinfo.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.01.0622
protocol : dce , ms_ext, c_ext, robust... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | UACBypassJF_RpcALPC/src/ntlib/util.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.014443 | /**
Copyright © 2019 Odzhan. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the followi... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniCreateProcessEx/src/ntlib/ntdll_types.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.623936 | #pragma once
/*
based on: pstype.h by Alex Ionescu
*/
//
// Flags for NtCreateProcessEx
//
#define PROCESS_CREATE_FLAGS_BREAKAWAY 0x00000001
#define PROCESS_CREATE_FLAGS_NO_DEBUG_INHERIT 0x00000002
#define PROCESS_CREATE_FLAGS_INHERIT_HANDLES 0x00000004
#define PROCESS_CREATE_FLAGS_OVERRIDE_ADDRESS_SPACE ... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniCreateProcessEx/src/misc.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.653039 | #pragma once
NTSTATUS(NTAPI* NtCreateThreadEx) (
OUT PHANDLE ThreadHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
IN HANDLE ProcessHandle,
IN PVOID StartRoutine,
IN PVOID Argument OPTIONAL,
IN ULONG CreateFlags,
IN ULONG_PTR ZeroBits,
... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniCreateProcessEx/src/ntlib/util.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.653760 | /**
Copyright © 2019 Odzhan. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the followi... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniGhosting/src/ntlib/nttpp.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.656796 | /**
Copyright © 2019 Odzhan. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the followi... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniGhosting/src/ntlib/util.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.669544 | /**
Copyright © 2019 Odzhan. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the followi... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniGhosting/src/ntlib/ntdll_types.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.681564 | #pragma once
/*
based on: pstype.h by Alex Ionescu
*/
//
// Flags for NtCreateProcessEx
//
#define PROCESS_CREATE_FLAGS_BREAKAWAY 0x00000001
#define PROCESS_CREATE_FLAGS_NO_DEBUG_INHERIT 0x00000002
#define PROCESS_CREATE_FLAGS_INHERIT_HANDLES 0x00000004
#define PROCESS_CREATE_FLAGS_OVERRIDE_ADDRESS_SPACE ... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniHerpaderping/src/ntlib/ntdll_types.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.682081 | #pragma once
/*
based on: pstype.h by Alex Ionescu
*/
//
// Flags for NtCreateProcessEx
//
#define PROCESS_CREATE_FLAGS_BREAKAWAY 0x00000001
#define PROCESS_CREATE_FLAGS_NO_DEBUG_INHERIT 0x00000002
#define PROCESS_CREATE_FLAGS_INHERIT_HANDLES 0x00000004
#define PROCESS_CREATE_FLAGS_OVERRIDE_ADDRESS_SPACE ... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniCreateProcessEx/src/ntlib/nttpp.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.682945 | /**
Copyright © 2019 Odzhan. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the followi... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniHerpaderping/src/misc.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.683435 | #pragma once
NTSTATUS(NTAPI* NtCreateThreadEx) (
OUT PHANDLE ThreadHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
IN HANDLE ProcessHandle,
IN PVOID StartRoutine,
IN PVOID Argument OPTIONAL,
IN ULONG CreateFlags,
IN ULONG_PTR ZeroBits,
... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniGhosting/src/misc.h | null | null | null | null | null | null | C | 2026-05-04T19:01:45.713901 | #pragma once
NTSTATUS(NTAPI* NtCreateThreadEx) (
OUT PHANDLE ThreadHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL,
IN HANDLE ProcessHandle,
IN PVOID StartRoutine,
IN PVOID Argument OPTIONAL,
IN ULONG CreateFlags,
IN ULONG_PTR ZeroBits,
... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniHerpaderping/src/ntlib/nttpp.h | null | null | null | null | null | null | C | 2026-05-04T19:01:46.262754 | /**
Copyright © 2019 Odzhan. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the followi... |
aaaddress1/PR0CESS | https://github.com/aaaddress1/PR0CESS | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | miniHerpaderping/src/ntlib/util.h | null | null | null | null | null | null | C | 2026-05-04T19:01:46.278180 | /**
Copyright © 2019 Odzhan. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the followi... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | main.c | null | null | null | null | null | null | C | 2026-05-04T19:01:50.668289 | #include <stdio.h>
#include "debug.h"
#include "config.h"
#include "ib.h"
#include "setup_ib.h"
#include "client.h"
#include "server.h"
FILE *log_fp = NULL;
int init_env ();
void destroy_env ();
int main (int argc, char *argv[])
{
int ret = 0;
if (argc != 3) {
printf ("Usage: %s config_file sock_p... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | config.h | null | null | null | null | null | null | C | 2026-05-04T19:01:50.698477 | #ifndef CONFIG_H_
#define CONFIG_H_
#include <stdbool.h>
#include <inttypes.h>
enum ConfigFileAttr {
ATTR_SERVERS = 1,
ATTR_CLIENTS,
ATTR_MSG_SIZE,
ATTR_NUM_CONCURR_MSGS,
};
struct ConfigInfo {
int num_servers;
int num_clients;
char **servers; /* list of servers */
char **c... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | config.c | null | null | null | null | null | null | C | 2026-05-04T19:01:50.699504 | #include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <sys/utsname.h>
#include "debug.h"
#include "config.h"
struct ConfigInfo config_info;
/* remove space, tab and line return from the line */
void clean_up_line (char *line)
{
char *i = line;
char *j = line;
while (*j ... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | ib.c | null | null | null | null | null | null | C | 2026-05-04T19:01:50.726822 | #include <arpa/inet.h>
#include <unistd.h>
#include "ib.h"
#include "debug.h"
int modify_qp_to_rts (struct ibv_qp *qp, uint32_t target_qp_num, uint16_t target_lid)
{
int ret = 0;
/* change QP state to INIT */
{
struct ibv_qp_attr qp_attr = {
.qp_state = IBV_QPS_INIT,
.pkey_index = ... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | ib.h | null | null | null | null | null | null | C | 2026-05-04T19:01:50.727860 | #ifndef IB_H_
#define IB_H_
#include <inttypes.h>
#include <sys/types.h>
#include <endian.h>
#include <byteswap.h>
#include <infiniband/verbs.h>
#include <arpa/inet.h>
#define IB_MTU IBV_MTU_4096
#define IB_PORT 1
#define IB_SL 0
#define IB_WR_ID_STOP 0xE000000000000000
#define NUM_WARMING_UP_OPS 500000
#... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | client.c | null | null | null | null | null | null | C | 2026-05-04T19:01:50.730332 | #define _GNU_SOURCE
#include <stdlib.h>
#include <stdbool.h>
#include <sys/time.h>
#include "debug.h"
#include "config.h"
#include "setup_ib.h"
#include "ib.h"
#include "client.h"
void *client_thread_func (void *arg)
{
int ret = 0, n = 0, i = 0, j = 0;
long thread_id = (long) arg;
int m... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | server.c | null | null | null | null | null | null | C | 2026-05-04T19:01:50.731121 | #define _GNU_SOURCE
#include <stdlib.h>
#include <stdbool.h>
#include <sys/time.h>
#include "debug.h"
#include "ib.h"
#include "setup_ib.h"
#include "config.h"
#include "server.h"
void *server_thread (void *arg)
{
int ret = 0, i = 0, j = 0, n = 0;
long thread_id = (long) arg;
int ... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | debug.h | null | null | null | null | null | null | C | 2026-05-04T19:01:50.760756 | /*
* code from : http://c.learncodethehardway.org/book/ex20.html
*/
#ifndef DEBUG_H_
#define DEBUG_H_
#include <stdio.h>
#include <errno.h>
#include <string.h>
#define LOG_HEADER "\n================ %s ================\n"
#define LOG_SUB_HEADER "\n************ %s ************\n"
extern FILE *log_fp;
#define ... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | sock.c | null | null | null | null | null | null | C | 2026-05-04T19:01:51.611743 | #define _GNU_SOURCE
#include <sys/socket.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <string.h>
#include "debug.h"
#include "sock.h"
ssize_t sock_read (int sock_fd, void *buffer, size_t len)
{
ssize_t nr, tot_read;
char *buf = buffer; // avoid pointer arithmetic on void pointer ... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | setup_ib.c | null | null | null | null | null | null | C | 2026-05-04T19:01:51.612425 | #include <arpa/inet.h>
#include <unistd.h>
#include <malloc.h>
#include "sock.h"
#include "ib.h"
#include "debug.h"
#include "config.h"
#include "setup_ib.h"
struct IBRes ib_res;
int connect_qp_server ()
{
int ret = 0, n = 0, i = 0;
int num_peers = config_info.num_clients;
int ... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | setup_ib.h | null | null | null | null | null | null | C | 2026-05-04T19:01:51.613310 | #ifndef SETUP_IB_H_
#define SETUP_IB_H_
#include <infiniband/verbs.h>
struct IBRes {
struct ibv_context *ctx;
struct ibv_pd *pd;
struct ibv_mr *mr;
struct ibv_cq *cq;
struct ibv_qp **qp;
struct ibv_srq *srq;
struct ibv_port_attr port_attr;
struct ibv_device_attr dev... |
jcxue/RDMA-Tutorial | https://github.com/jcxue/RDMA-Tutorial | null | null | null | null | 617 | null | null | apache-2.0 | null | null | null | null | null | null | null | sock.h | null | null | null | null | null | null | C | 2026-05-04T19:01:52.532985 | #ifndef SOCK_H_
#define SOCK_H_
#include <inttypes.h>
#include "ib.h"
#define SOCK_SYNC_MSG "sync"
ssize_t sock_read (int sock_fd, void *buffer, size_t len);
ssize_t sock_write (int sock_fd, void *buffer, size_t len);
int sock_create_bind (char *port);
int sock_create_connect (char *server_name, char *port);
... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/css/base.h | null | null | null | null | null | null | C | 2026-05-04T19:02:01.724525 | /*
* Copyright (C) 2018 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#ifndef LEXBOR_EXAMPLES_BASE_H
#define LEXBOR_EXAMPLES_BASE_H
#ifdef __cplusplus
extern "C" {
#endif
#define FAILED(...) \
do { ... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/css/selectors/list_fast_way.c | null | null | null | null | null | null | C | 2026-05-04T19:02:01.753254 | /*
* Copyright (C) 2021 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/css/css.h>
lxb_status_t
callback(const lxb_char_t *data, size_t len, void *ctx)
{
printf("%.*s", (int) len, (const char *) data);
return LXB_STATUS_OK;
}
int
main(int argc, const char *argv[... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | benchmarks/lexbor/html/tokenizer/parse.c | null | null | null | null | null | null | C | 2026-05-04T19:02:01.754373 | /*
* Copyright (C) 2026 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "benchmark.h"
#include <lexbor/core/fs.h>
#include <lexbor/html/html.h>
const char *
get_file_name(const char *path);
static lxb_html_token_t *
token_callback(lxb_html_tokenizer_t *tkz, lxb_html_token_t *t... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | benchmarks/lexbor/html/tokenizer/input_validation.c | null | null | null | null | null | null | C | 2026-05-04T19:02:01.759010 | /*
* Copyright (C) 2025 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "benchmark.h"
#include <lexbor/core/fs.h>
#include <lexbor/selectors/selectors.h>
#include <lexbor/html/html.h>
#include <lexbor/css/css.h>
const char *
get_file_name(const char *path);
static lxb_html_tok... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/css/selectors/list_easy_way.c | null | null | null | null | null | null | C | 2026-05-04T19:02:01.759894 | /*
* Copyright (C) 2021 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/css/css.h>
lxb_status_t
callback(const lxb_char_t *data, size_t len, void *ctx)
{
printf("%.*s", (int) len, (const char *) data);
return LXB_STATUS_OK;
}
int
main(int argc, const char *argv[]... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/css/StyleSheet.c | null | null | null | null | null | null | C | 2026-05-04T19:02:01.765064 | /*
* Copyright (C) 2023-2026 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
#include <lexbor/core/fs.h>
#include <lexbor/css/css.h>
lxb_status_t
callback(const lxb_char_t *data, size_t len, void *ctx)
{
printf("%.*s", (int) len, data);
return LXB_STATUS_OK;
}
... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/css/syntax/tokenizer/from_file.c | null | null | null | null | null | null | C | 2026-05-04T19:02:01.795018 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/css/css.h>
#include <lexbor/core/fs.h>
#include "../../base.h"
static void
usage(void)
{
fprintf(stderr, "parse_file <file>\n");
}
lxb_status_t
callback(const lxb_char_t *data, size_t len, ... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/css/syntax/structure_parse_file.c | null | null | null | null | null | null | C | 2026-05-04T19:02:01.796785 | /*
* Copyright (C) 2022-2025 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "../base.h"
#include <lexbor/core/fs.h>
#include <lexbor/css/css.h>
static lxb_status_t
css_parse(lxb_css_parser_t *parser, const lxb_char_t *data, size_t length);
static bool
css_blank_list_rules_next... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | benchmarks/benchmark.h | null | null | null | null | null | null | C | 2026-05-04T19:02:01.837776 | /*
* Copyright (C) 2025 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#ifndef LEXBOR_BENCHMARK_H
#define LEXBOR_BENCHMARK_H
#ifdef __cplusplus
extern "C" {
#endif
#include <lexbor/core/conv.h>
#include <lexbor/core/perf.h>
#define BENCHMARK_FAILURE(...) ... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | benchmarks/lexbor/selectors/selectors.c | null | null | null | null | null | null | C | 2026-05-04T19:02:01.855912 | /*
* Copyright (C) 2025 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "benchmark.h"
#include <lexbor/core/fs.h>
#include <lexbor/selectors/selectors.h>
#include <lexbor/html/html.h>
#include <lexbor/css/css.h>
typedef struct {
const lexbor_str_t *html;
const lexbor_str... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/buffer/decode/decode.c | null | null | null | null | null | null | C | 2026-05-04T19:02:02.664551 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
#define FAILED(...) \
do { \
fpri... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/buffer/encode/encode.c | null | null | null | null | null | null | C | 2026-05-04T19:02:02.665130 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
#define FAILED(...) \
do { \
fpri... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/buffer/decode/validate.c | null | null | null | null | null | null | C | 2026-05-04T19:02:02.670733 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
#define FAILED(...) \
do { \
fpri... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/buffer/encode/encoder.c | null | null | null | null | null | null | C | 2026-05-04T19:02:02.678878 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <string.h>
#include <stdio.h>
#include <lexbor/encoding/encoding.h>
#include <lexbor/encoding/encode.h>
LXB_EXTERN const lxb_char_t lexbor_str_res_map_hex[256];
#define FAILED(with_usage, ...) ... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/buffer/decode/decoder.c | null | null | null | null | null | null | C | 2026-05-04T19:02:02.679421 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
#define FAILED(with_usage, ...) \
do { \
fpri... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/css/syntax/tokenizer/print_raw.c | null | null | null | null | null | null | C | 2026-05-04T19:02:02.688268 | /*
* Copyright (C) 2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/css/css.h>
#include <lexbor/core/fs.h>
#include "../../base.h"
static void
usage(void)
{
fprintf(stderr, "print_raw <file>\n");
}
void
colorize_cb(lxb_css_syntax_token_t *token)
{
int length... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/buffer/from_to.c | null | null | null | null | null | null | C | 2026-05-04T19:02:02.718384 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
#define FAILED(with_usage, ...) \
do { \
fpri... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/buffer/encode/validate.c | null | null | null | null | null | null | C | 2026-05-04T19:02:02.719344 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <string.h>
#include <lexbor/encoding/encoding.h>
#define FAILED(...) \
do { ... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/single/decode/validate.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.175417 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
#define FAILED(...) \
do { \
fpri... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/single/from_to.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.177151 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
#define FAILED(with_usage, ...) \
do { \
fpri... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/single/encode/validate.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.178607 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
#define FAILED(...) \
do { \
fpri... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/single/encode/encode.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.179707 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
#define FAILED(...) \
do { \
fpri... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/single/encode/encoder.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.181229 | /*
* Copyright (C) 2019-2026 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
LXB_EXTERN const lxb_char_t lexbor_str_res_map_hex[256];
#define FAILED(with_usage, ...) \
do { ... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/single/decode/decoder.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.182623 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
#define FAILED(with_usage, ...) \
do { \
fpri... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/data_by_name.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.386252 | /*
* Copyright (C) 2019 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "lexbor/encoding/encoding.h"
int
main(int argc, const char *argv[])
{
const lxb_encoding_data_t *enc_data;
enc_data = lxb_encoding_data_by_name((lxb_char_t *) "uTf-8", 5);
if (enc_data == NULL) {... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/encoding/single/decode/decode.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.386786 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/encoding/encoding.h>
#define FAILED(...) \
do { \
fpri... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/document_parse_chunk.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.907620 | /*
* Copyright (C) 2018-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
int
main(int argc, const char *argv[])
{
lxb_status_t status;
lxb_html_document_t *document;
static const lxb_char_t html[][64] = {
"<!DOCT",
"YPE htm",
"l>",... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/elements_by_attr.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.908276 | /*
* Copyright (C) 2018 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
#include <lexbor/dom/dom.h>
static void
print_collection_elements(lxb_dom_collection_t *collection)
{
lxb_dom_element_t *element;
for (size_t i = 0; i < lxb_dom_collection_length(collection... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/element_attributes.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.930977 | /*
* Copyright (C) 2018 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
int
main(int argc, const char *argv[])
{
lxb_status_t status;
lxb_html_body_element_t *body;
lxb_html_document_t *document;
lxb_dom_collection_t *collection;
lxb_dom_element_t *el... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/document_title.c | null | null | null | null | null | null | C | 2026-05-04T19:02:05.932145 | /*
* Copyright (C) 2018 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
int
main(int argc, const char *argv[])
{
lxb_status_t status;
lxb_html_document_t *document;
const lxb_char_t *title;
size_t title_len;
static const lxb_char_t html[] = "<head><... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/element_innerHTML.c | null | null | null | null | null | null | C | 2026-05-04T19:02:06.025834 | /*
* Copyright (C) 2018 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
int
main(int argc, const char *argv[])
{
lxb_html_element_t *element;
lxb_html_body_element_t *body;
lxb_html_document_t *document;
static const lxb_char_t html[] = "<div><span>blah-... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/elements_by_tag_name.c | null | null | null | null | null | null | C | 2026-05-04T19:02:06.598010 | /*
* Copyright (C) 2018 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
#include <lexbor/dom/dom.h>
int
main(int argc, const char *argv[])
{
lxb_status_t status;
lxb_dom_element_t *element;
lxb_html_document_t *document;
lxb_dom_collection_t *collection;... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/elements_by_class_name.c | null | null | null | null | null | null | C | 2026-05-04T19:02:06.658910 | /*
* Copyright (C) 2018 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
#include <lexbor/dom/dom.h>
int
main(int argc, const char *argv[])
{
lxb_status_t status;
lxb_dom_element_t *element;
lxb_html_document_t *document;
lxb_dom_collection_t *collection;... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/element_create.c | null | null | null | null | null | null | C | 2026-05-04T19:02:06.660133 | /*
* Copyright (C) 2018 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
int
main(int argc, const char *argv[])
{
lxb_tag_id_t tag_id;
lxb_html_body_element_t *body;
lxb_html_document_t *document;
lxb_dom_element_t *element;
lxb_dom_text_t *text;
... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/html2sexpr.c | null | null | null | null | null | null | C | 2026-05-04T19:02:06.950141 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*
* Convert html tag tree into s-expression string in stdout
*/
#include <lexbor/core/fs.h>
#include "base.h"
static void
usage(void);
static lxb_status_t
tree_walker(lxb_dom_node_t *node, lxb_html_serialize_cb_... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/tokenizer/tag_attributes.c | null | null | null | null | null | null | C | 2026-05-04T19:02:07.280121 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "lexbor/html/tokenizer.h"
#include "lexbor/html/token_attr.h"
#define FAILED(...) \
do { ... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/tokenizer/text.c | null | null | null | null | null | null | C | 2026-05-04T19:02:07.319610 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "lexbor/html/tokenizer.h"
#define FAILED(...) \
do { \
fprintf... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/tokenizer/simple.c | null | null | null | null | null | null | C | 2026-05-04T19:02:07.356373 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "lexbor/html/tokenizer.h"
#define FAILED(...) \
do { \
fprintf... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/punycode/decode.c | null | null | null | null | null | null | C | 2026-05-04T19:02:07.749311 | /*
* Copyright (C) 2023 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/punycode/punycode.h>
static lxb_status_t
callback(const lxb_char_t *data, size_t len, void *ctx);
int
main(int argc, const char * argv[])
{
bool loop;
size_t size, nsize;
lxb_status_t st... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/punycode/encode.c | null | null | null | null | null | null | C | 2026-05-04T19:02:08.427816 | /*
* Copyright (C) 2023 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/punycode/punycode.h>
static lxb_status_t
callback(const lxb_char_t *data, size_t len, void *ctx, bool unchanged);
int
main(int argc, const char * argv[])
{
bool loop;
size_t size, nsize;
... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/selectors/easy_way.c | null | null | null | null | null | null | C | 2026-05-04T19:02:08.485172 | /*
* Copyright (C) 2021 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/html/html.h>
#include <lexbor/css/css.h>
#include <lexbor/selectors/selectors.h>
lxb_status_t
callback(const lxb_char_t *data, size_t len, void *ctx)
{
printf("%.*s", (int) len, (const char *) dat... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/selectors/normal_way.c | null | null | null | null | null | null | C | 2026-05-04T19:02:08.576614 | /*
* Copyright (C) 2021 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/html/html.h>
#include <lexbor/css/css.h>
#include <lexbor/selectors/selectors.h>
lxb_status_t
callback(const lxb_char_t *data, size_t len, void *ctx)
{
printf("%.*s", (int) len, (const char *) dat... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/document_parse.c | null | null | null | null | null | null | C | 2026-05-04T19:02:08.633488 | /*
* Copyright (C) 2018 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
int
main(int argc, const char *argv[])
{
lxb_status_t status;
lxb_html_document_t *document;
static const lxb_char_t html[] = "<div><p>blah-blah-blah</div>";
size_t html_len = sizeof... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/base.h | null | null | null | null | null | null | C | 2026-05-04T19:02:08.662980 | /*
* Copyright (C) 2018 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#ifndef LEXBOR_EXAMPLES_BASE_H
#define LEXBOR_EXAMPLES_BASE_H
#ifdef __cplusplus
extern "C" {
#endif
#include "lexbor/html/html.h"
#define FAILED(...) \
... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/selectors/unique_nodes.c | null | null | null | null | null | null | C | 2026-05-04T19:02:08.697776 | /*
* Copyright (C) 2021 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/html/html.h>
#include <lexbor/css/css.h>
#include <lexbor/selectors/selectors.h>
lxb_status_t
callback(const lxb_char_t *data, size_t len, void *ctx)
{
printf("%.*s", (int) len, (const char *) dat... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/styles/attribute_style.c | null | null | null | null | null | null | C | 2026-05-04T19:02:09.053573 | /*
* Copyright (C) 2022-2026 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
#include <lexbor/style/style.h>
lxb_status_t
callback(const lxb_char_t *data, size_t len, void *ctx)
{
printf("%.*s", (int) len, (const char *) data);
return LXB_STATUS_OK;
}
int
main... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/parse.c | null | null | null | null | null | null | C | 2026-05-04T19:02:11.717636 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
int
main(int argc, const char *argv[])
{
lxb_status_t status;
lxb_html_parser_t *parser;
lxb_html_document_t *doc_one, *doc_two;
static const lxb_char_t html_one[] = "<div><p>Fi... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/parse_chunk.c | null | null | null | null | null | null | C | 2026-05-04T19:02:11.766374 | /*
* Copyright (C) 2018-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include "base.h"
int
main(int argc, const char *argv[])
{
lxb_status_t status;
lxb_html_parser_t *parser;
lxb_html_document_t *document;
static const lxb_char_t html[][64] = {
"<!DOCT",
... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/tokenizer/callback.c | null | null | null | null | null | null | C | 2026-05-04T19:02:11.790333 | /*
* Copyright (C) 2019-2020 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <inttypes.h>
#include "lexbor/html/tokenizer.h"
#define FAILED(...) \
do { ... |
lexbor/lexbor | https://github.com/lexbor/lexbor | null | null | null | null | 1,986 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/lexbor/html/encoding.c | null | null | null | null | null | null | C | 2026-05-04T19:02:11.807036 | /*
* Copyright (C) 2019 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
#include <lexbor/html/encoding.h>
#include <lexbor/core/fs.h>
#define FAILED(with_usage, ...) \
do { ... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/base32.h | null | null | null | null | null | null | C | 2026-05-04T19:02:14.299288 | // Base32 implementation
//
// Copyright 2010 Google Inc.
// Author: Markus Gutschke
//
// 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
... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/sha1.h | null | null | null | null | null | null | C | 2026-05-04T19:02:14.315328 | // SHA1 header file
//
// Copyright 2010 Google Inc.
// Author: Markus Gutschke
//
// 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
//
//... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/base32.c | null | null | null | null | null | null | C | 2026-05-04T19:02:14.333178 | // Base32 implementation
//
// Copyright 2010 Google Inc.
// Author: Markus Gutschke
//
// 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
... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/hmac.h | null | null | null | null | null | null | C | 2026-05-04T19:02:14.338943 | // HMAC_SHA1 implementation
//
// Copyright 2010 Google Inc.
// Author: Markus Gutschke
//
// 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... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/google-authenticator.c | null | null | null | null | null | null | C | 2026-05-04T19:02:14.342816 | // Helper program to generate a new secret for use in two-factor
// authentication.
//
// Copyright 2010 Google Inc.
// Author: Markus Gutschke
//
// 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 Licens... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/base32_prog.c | null | null | null | null | null | null | C | 2026-05-04T19:02:14.343937 | // Base32 utility program
//
// Copyright 2015 TWO SIGMA OPEN SOURCE, LLC
// Author: Eric Haszlakiewicz
//
// 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/li... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/hmac.c | null | null | null | null | null | null | C | 2026-05-04T19:02:14.344424 | // HMAC_SHA1 implementation
//
// Copyright 2010 Google Inc.
// Author: Markus Gutschke
//
// 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... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/sha1.c | null | null | null | null | null | null | C | 2026-05-04T19:02:14.351888 | /*
* Copyright 2010 Google Inc.
* Author: Markus Gutschke
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/demo.c | null | null | null | null | null | null | C | 2026-05-04T19:02:14.353228 | // Demo wrapper for the PAM module. This is part of the Google Authenticator
// project.
//
// Copyright 2011 Google Inc.
// Author: Markus Gutschke
//
// 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 L... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/pam_google_authenticator.c | null | null | null | null | null | null | C | 2026-05-04T19:02:14.392647 | // PAM module for two-factor authentication.
//
// Copyright 2010 Google Inc.
// Author: Markus Gutschke
//
// 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/l... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/util.h | null | null | null | null | null | null | C | 2026-05-04T19:02:14.891246 | // util header file
//
// Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/util.c | null | null | null | null | null | null | C | 2026-05-04T19:02:14.901549 | /*
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
google/google-authenticator-libpam | https://github.com/google/google-authenticator-libpam | null | null | null | null | 1,981 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/pam_google_authenticator_unittest.c | null | null | null | null | null | null | C | 2026-05-04T19:02:14.941360 | // Unittest for the PAM module. This is part of the Google Authenticator
// project.
//
// Copyright 2010 Google Inc.
// Author: Markus Gutschke
//
// 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 Licen... |
cossacklabs/themis | https://github.com/cossacklabs/themis | null | null | null | null | 1,963 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/examples/c/ssession_test/common.h | null | null | null | null | null | null | C | 2026-05-04T19:02:22.426600 | /*
* Copyright (c) 2015 Cossack Labs Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
cossacklabs/themis | https://github.com/cossacklabs/themis | null | null | null | null | 1,963 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/examples/objc/iOS-Carthage/ThemisTest/ViewController.h | null | null | null | null | null | null | C | 2026-05-04T19:02:22.427832 | // Copyright (c) 2019 Cossack Labs Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
cossacklabs/themis | https://github.com/cossacklabs/themis | null | null | null | null | 1,963 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/examples/c/ssession_test/session_test.c | null | null | null | null | null | null | C | 2026-05-04T19:02:22.432209 | /*
* Copyright (c) 2015 Cossack Labs Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
cossacklabs/themis | https://github.com/cossacklabs/themis | null | null | null | null | 1,963 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/examples/objc/iOS-Carthage/ThemisTest/AppDelegate.h | null | null | null | null | null | null | C | 2026-05-04T19:02:22.433388 | // Copyright (c) 2019 Cossack Labs Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
cossacklabs/themis | https://github.com/cossacklabs/themis | null | null | null | null | 1,963 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/examples/c/ssession_test/server.c | null | null | null | null | null | null | C | 2026-05-04T19:02:22.444099 | /*
* Copyright (c) 2015 Cossack Labs Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
cossacklabs/themis | https://github.com/cossacklabs/themis | null | null | null | null | 1,963 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/examples/c/session_buffer_test/session_buffer_test.c | null | null | null | null | null | null | C | 2026-05-04T19:02:22.445720 | #include "session_buffer_test.h"
typedef struct callback_key_type {
uint8_t *key;
size_t key_length;
} callback_key_t;
static int
on_get_pub_key(const void *id, size_t id_length, void *key_buffer, size_t key_buffer_length, void *user_data) {
callback_key_t *cb = (callback_key_t *) user_data;
memcpy(ke... |
cossacklabs/themis | https://github.com/cossacklabs/themis | null | null | null | null | 1,963 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/examples/objc/iOS-CocoaPods/ThemisTest/ThemisTest/Classes/ViewController.h | null | null | null | null | null | null | C | 2026-05-04T19:02:22.446848 | /*
* Copyright (c) 2015 Cossack Labs Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
cossacklabs/themis | https://github.com/cossacklabs/themis | null | null | null | null | 1,963 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/examples/objc/iOS-CocoaPods/ThemisTest/ThemisTest/Classes/AppDelegate.h | null | null | null | null | null | null | C | 2026-05-04T19:02:22.456212 | /*
* Copyright (c) 2015 Cossack Labs Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.