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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
begeekmyfriend/leetcode | https://github.com/begeekmyfriend/leetcode | null | null | null | null | 3,167 | null | null | mit | null | null | null | null | null | null | null | 0049_group_anagrams/anagrams.c | null | null | null | null | null | null | C | 2026-05-04T18:34:00.350813 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct word_hash {
char *word;
int num;
int indexes[10];
};
static int compare(const void *a, const void *b)
{
return *(char *) a - *(char *) b;
}
static inline int BKDRHash(char *s, size_t size)
{
int seed = 31; /* 131 1313 13131... */
... |
begeekmyfriend/leetcode | https://github.com/begeekmyfriend/leetcode | null | null | null | null | 3,167 | null | null | mit | null | null | null | null | null | null | null | 0050_pow/pow.c | null | null | null | null | null | null | C | 2026-05-04T18:34:00.486701 | #include <limits.h>
#include <stdio.h>
#include <stdlib.h>
double fast_pow(double x, int n)
{
if (n == 0) { return 1.0; }
if (n == 1) { return x; }
double t = fast_pow(x, n / 2);
return n & 1 ? t * t * x : t * t;
}
double my_pow(double x, int n)
{
if (n == INT_MIN) {
double t = 1 / fast_p... |
begeekmyfriend/leetcode | https://github.com/begeekmyfriend/leetcode | null | null | null | null | 3,167 | null | null | mit | null | null | null | null | null | null | null | 0048_rotate_image/rotate.c | null | null | null | null | null | null | C | 2026-05-04T18:34:00.557471 | #include <stdio.h>
#include <stdlib.h>
static void rotate(int** matrix, int matrixSize, int *matrixColSize)
{
int i, j;
for (i = 0; i < matrixSize / 2; i++) {
int col_size = matrixColSize[i];
int low = i, high = col_size - i - 1;
for (j = low; j < high; j++) {
int tmp = matr... |
begeekmyfriend/leetcode | https://github.com/begeekmyfriend/leetcode | null | null | null | null | 3,167 | null | null | mit | null | null | null | null | null | null | null | 0046_permutations/permutations.c | null | null | null | null | null | null | C | 2026-05-04T18:34:00.864762 | #include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#if 0
static void swap(int *a, int *b)
{
int tmp = *a;
*a = *b;
*b = tmp;
}
static void dfs(int *nums, int size, int start,
int **results, int *count, int *col_size)
{
int i;
if (start == size) {
... |
begeekmyfriend/leetcode | https://github.com/begeekmyfriend/leetcode | null | null | null | null | 3,167 | null | null | mit | null | null | null | null | null | null | null | 0047_permutations_ii/permutations.c | null | null | null | null | null | null | C | 2026-05-04T18:34:00.865624 | #include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
static int compare(const void *a, const void *b)
{
return *(int *) a - *(int *) b;
}
static void dfs(int *nums, int size, bool *used, int *stack,
int len, int **results, int *count, int *col_size)
{
int i;
if ... |
begeekmyfriend/leetcode | https://github.com/begeekmyfriend/leetcode | null | null | null | null | 3,167 | null | null | mit | null | null | null | null | null | null | null | 0034_search_for_a_range/range_search.c | null | null | null | null | null | null | C | 2026-05-04T18:34:03.549905 | #include <stdio.h>
#include <stdlib.h>
static int binary_search_begin(int *a, int size, int target)
{
int lo = -1;
int hi = size;
while (lo + 1 < hi) {
int mid = lo + (hi - lo) / 2;
if (target > a[mid]) {
lo = mid;
} else {
hi = mid;
}
}
if (... |
begeekmyfriend/leetcode | https://github.com/begeekmyfriend/leetcode | null | null | null | null | 3,167 | null | null | mit | null | null | null | null | null | null | null | 0033_search_in_rotated_sorted_array/rotated_array.c | null | null | null | null | null | null | C | 2026-05-04T18:34:03.561444 | #include <stdio.h>
#include <stdlib.h>
static int search(int* nums, int numsSize, int target)
{
int lo = 0;
int hi = numsSize - 1;
while (lo <= hi) {
int mid = lo + (hi - lo) / 2;
if (nums[mid] == target) {
return mid;
}
/* lo might be mid */
/* We only... |
begeekmyfriend/leetcode | https://github.com/begeekmyfriend/leetcode | null | null | null | null | 3,167 | null | null | mit | null | null | null | null | null | null | null | 0031_next_permutation/next_permutation.c | null | null | null | null | null | null | C | 2026-05-04T18:34:03.669649 | #include <stdio.h>
#include <stdlib.h>
static inline void swap(int *a, int *b)
{
int tmp = *a;
*a = *b;
*b = tmp;
}
static void reverse(int *a, int size)
{
int lo = 0;
int hi = size - 1;
while (lo < hi) {
swap(a + lo, a + hi);
lo++;
hi--;
}
}
static void nextPermut... |
begeekmyfriend/leetcode | https://github.com/begeekmyfriend/leetcode | null | null | null | null | 3,167 | null | null | mit | null | null | null | null | null | null | null | 0032_longest_valid_parentheses/valid_parentheses.c | null | null | null | null | null | null | C | 2026-05-04T18:34:03.678399 | #include <stdio.h>
#include <stdlib.h>
static inline int max(int a, int b)
{
return a > b ? a : b;
}
static int longestValidParentheses(char* s)
{
int i, cap = 18000, invalid = -1;
int len = 0, max_len = 0;
int *stack = malloc(cap * sizeof(int));
int *top = stack;
/* We only restore index of... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | desync.c | null | null | null | null | null | null | C | 2026-05-04T18:34:10.892277 | #define _GNU_SOURCE
#include "desync.h"
#include <stdio.h>
#include <string.h>
#ifndef _WIN32
#include <unistd.h>
#include <time.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/mman.h>
#include <arpa/inet.h>
#include <fcntl.h>
#ifndef __linux__
#include <netine... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | kavl.h | null | null | null | null | null | null | C | 2026-05-04T18:34:10.898127 | /* The MIT License
Copyright (c) 2018 by Attractive Chaos <attractor@live.co.uk>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation t... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | error.h | null | null | null | null | null | null | C | 2026-05-04T18:34:10.912270 | #ifndef CIADPI_ERROR_H
#define CIADPI_ERROR_H
#include <stdio.h>
#include <stdarg.h>
#include <errno.h>
#ifdef _WIN32
#include <winsock2.h>
#endif
#ifdef ANDROID_APP
#include <android/log.h>
#endif
#include "params.h"
#ifdef _WIN32
#define get_e() \
unie(WSAGetLastError())
#else
#define get_e() \
er... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | extend.c | null | null | null | null | null | null | C | 2026-05-04T18:34:10.928487 | #include "extend.h"
#ifdef _WIN32
#include <ws2tcpip.h>
#ifndef TCP_MAXRT
#define TCP_MAXRT 5
#endif
#else
#include <arpa/inet.h>
#include <netinet/tcp.h>
#include <sys/un.h>
#include <sys/time.h>
#endif
#include <string.h>
#include <assert.h>
#include "proxy.h"
#include "error.h... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | extend.h | null | null | null | null | null | null | C | 2026-05-04T18:34:10.941498 | #ifndef EXTEND_H
#define EXTEND_H
#include <stddef.h>
#include "proxy.h"
#include "params.h"
int socket_mod(int fd);
int connect_hook(struct poolhd *pool, struct eval *val,
const union sockaddr_u *dst, evcb_t next);
ssize_t tcp_send_hook(struct poolhd *pool,
struct eval *remote, struct bu... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | mpool.c | null | null | null | null | null | null | C | 2026-05-04T18:34:10.949684 | #include "mpool.h"
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
static int bit_cmp(const struct elem *p, const struct elem *q)
{
int len = q->len < p->len ? q->len : p->len;
int df = len % 8, bytes = len / 8;
int cmp = memcmp(p->data, q->data, bytes)... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | conev.c | null | null | null | null | null | null | C | 2026-05-04T18:34:10.953990 | #include "conev.h"
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <assert.h>
#include "error.h"
struct poolhd *init_pool(int count)
{
struct poolhd *pool = calloc(1, sizeof(struct poolhd));
if (!pool) {
uniperror("init pool");
return 0;
}
pool->max = count;
p... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | main.c | null | null | null | null | null | null | C | 2026-05-04T18:34:10.957915 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <limits.h>
#include <ctype.h>
#include "params.h"
#include "proxy.h"
#include "packets.h"
#include "error.h"
#include "conev.h"
#ifndef _WIN32
#include <arpa/inet.h>
#include <unistd.h>
#include <netdb.h>
#include ... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | conev.h | null | null | null | null | null | null | C | 2026-05-04T18:34:10.971633 | #ifndef CONEV_H
#define CONEV_H
#include <stdint.h>
#include <stdbool.h>
#include "params.h"
#ifndef __linux__
#define NOEPOLL
#endif
#ifdef _WIN32
#include <ws2tcpip.h>
#define poll(fds, cnt, to) WSAPoll(fds, cnt, to)
#define close(fd) closesocket(fd)
#else
#include <netinet/in.h>
#include ... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | desync.h | null | null | null | null | null | null | C | 2026-05-04T18:34:10.980426 | #ifndef DESYNC_H
#define DESYNC_H
#define STR_MODE
#include <stdint.h>
#include <stddef.h>
#include "conev.h"
#include "params.h"
#ifdef _WIN32
#include <winsock2.h>
#else
#include <sys/socket.h>
#endif
ssize_t desync(struct poolhd *pool, struct eval *val, struct buffer *buff, ssize_t *n, bool *wait);
ssi... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | packets.c | null | null | null | null | null | null | C | 2026-05-04T18:34:11.495240 | #include "packets.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <strings.h>
#ifdef _WIN32
#include <winsock2.h>
#else
#include <arpa/inet.h>
#endif
char tls_data[517] = {
"\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03\x0... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | mpool.h | null | null | null | null | null | null | C | 2026-05-04T18:34:11.523244 | #ifndef MPOOL_H
#define MPOOL_H
#include <stdbool.h>
#include <time.h>
#include "kavl.h"
#include "params.h"
#define CMP_BYTES 0
#define CMP_BITS 1
#define CMP_HOST 2
#define MF_STATIC 1
#define MF_EXTRA 2
#pragma pack(push, 1)
struct cache_key {
uint16_t family;
uint16_t port;
union {
struct ... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | proxy.c | null | null | null | null | null | null | C | 2026-05-04T18:34:11.547678 | #include "proxy.h"
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <assert.h>
#include "params.h"
#include "conev.h"
#include "extend.h"
#include "error.h"
#include "packets.h"
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#defi... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | packets.h | null | null | null | null | null | null | C | 2026-05-04T18:34:11.549923 | #ifndef PACKETS_H
#define PACKETS_H
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
#include <sys/types.h>
#define IS_TCP 1
#define IS_UDP 2
#define IS_HTTP 4
#define IS_HTTPS 8
#define IS_IPV4 16
//#define IS_QUIC 64
//#define IS_DNS 128
#define MH_HMIX 1
#define MH_SPACE 2
#define MH_DMIX 4
#define A... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | proxy.h | null | null | null | null | null | null | C | 2026-05-04T18:34:11.574900 | #ifndef PROXY_H
#define PROXY_H
#include <stdint.h>
#ifdef _WIN32
#include <ws2tcpip.h>
#else
#include <arpa/inet.h>
#include <sys/socket.h>
#endif
#include "conev.h"
#define SA_SIZE(s) \
(((const struct sockaddr *)s)->sa_family == AF_INET6) ? \
sizeof(struct sockaddr_in6) : sizeof(struct so... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | win_service.c | null | null | null | null | null | null | C | 2026-05-04T18:34:11.583532 | #include "win_service.h"
#include <windows.h>
#define SERVICE_NAME "ByeDPI"
static SERVICE_STATUS ServiceStatus;
static SERVICE_STATUS_HANDLE hStatus;
static int svc_argc = 0;
static char **svc_argv = NULL;
int main(int argc, char *argv[]);
void service_ctrl_handler(DWORD request)
{
switch(request)
{
... |
hufrea/byedpi | https://github.com/hufrea/byedpi | null | null | null | null | 3,165 | null | null | mit | null | null | null | null | null | null | null | params.h | null | null | null | null | null | null | C | 2026-05-04T18:34:11.618744 | #ifndef PARAMS_H
#define PARAMS_H
#include <stdint.h>
#include <stdio.h>
#include <stdbool.h>
#include <assert.h>
#ifdef _WIN32
#include <ws2tcpip.h>
#else
#include <arpa/inet.h>
#include <netinet/in.h>
#include <unistd.h>
#include <sys/socket.h>
#endif
#include "mpool.h"
#if defined(__linux__) ... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/idgen/IdGenOptions.c | null | null | null | null | null | null | C | 2026-05-04T18:34:19.522060 | /*
* 版权属于:yitter(yitter@126.com)
* 开源地址:https://github.com/yitter/idgenerator
*/
#include "IdGenOptions.h"
extern IdGeneratorOptions BuildIdGenOptions(uint32_t workerId) {
IdGeneratorOptions options;
options.Method = 1;
options.BaseTime = 1582136402000;
options.WorkerId = workerId;
... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/idgen/IdGenOptions.h | null | null | null | null | null | null | C | 2026-05-04T18:34:19.538409 | /*
* 版权属于:yitter(yitter@126.com)
* 开源地址:https://gitee.com/yitter/idgenerator
*/
#pragma once
#include <stdint.h>
typedef struct IdGenOptions {
/// 雪花计算方法,(1-漂移算法|2-传统算法),默认1
uint8_t Method;
/// 基础时间(ms单位),不能超过当前系统时间
uint64_t BaseTime;
/// 机器码,必须由外部设定,最大值 2^WorkerIdBitLength-1... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C++/source/idgen/IdGenerator.h | null | null | null | null | null | null | C | 2026-05-04T18:34:19.540910 | /*
* 版权属于:yitter(yitter@126.com)
* 翻译为C++代码:fuzhufang(fuzhufang@126.com)
* 开源地址:https://github.com/yitter/idgenerator
*/
#pragma once
#include <assert.h>
#include <cstdint>
#include <chrono>
#include <mutex>
#include <thread>
#include <stdexcept>
// #include <sys/time.h>
namespace idgen
{
typedef struct IdGen... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/idgen/IdGenerator.h | null | null | null | null | null | null | C | 2026-05-04T18:34:19.549091 | /*
* 版权属于:yitter(yitter@126.com)
* 开源地址:https://gitee.com/yitter/idgenerator
*/
#pragma once
#include <stdio.h>
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include "IdGenOptions.h"
#include "SnowWorkerM1.h"
#include "SnowWorkerM2.h"
typedef struct IdGenerator {
... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/YitIdHelper.h | null | null | null | null | null | null | C | 2026-05-04T18:34:19.550224 | /*
* 版权属于:yitter(yitter@126.com)
* 开源地址:https://gitee.com/yitter/idgenerator
*/
#pragma once
#include "idgen/IdGenOptions.h"
#include "idgen/common.h"
#ifdef __cplusplus
extern "C"
{
#endif
TAP_DLLEXPORT
extern void TAP_STDCALL SetIdGenerator(IdGeneratorOptions options);
TAP_DLLEXPORT
extern v... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/idgen/SnowWorkerM1.h | null | null | null | null | null | null | C | 2026-05-04T18:34:19.553101 | /*
* 版权属于:yitter(yitter@126.com)
* 代码翻译:amuluowin
* 代码修订:yitter
* 开源地址:https://gitee.com/yitter/idgenerator
*/
#pragma once
#include <stdlib.h>
#include <stdint.h>
#include <sys/timeb.h>
#include <pthread.h>
#include <stdbool.h>
#include "IdGenOptions.h"
extern pthread_mutex_t ThreadMutex;
ty... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/idgen/SnowWorkerM1.c | null | null | null | null | null | null | C | 2026-05-04T18:34:19.558914 | /*
* 版权属于:yitter(yitter@126.com)
* 代码翻译:amuluowin
* 代码修订:yitter
* 开源地址:https://github.com/yitter/idgenerator
*/
#include <malloc.h>
#include <stdlib.h>
#include <stdbool.h>
#include <sys/time.h>
#include <unistd.h>
#include "SnowWorkerM1.h"
pthread_mutex_t ThreadMutex = PTHREAD_MUTEX_INITIALIZER;
... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/idgen/IdGenerator.c | null | null | null | null | null | null | C | 2026-05-04T18:34:19.594827 | /*
* 版权属于:yitter(yitter@126.com)
* 开源地址:https://github.com/yitter/idgenerator
*/
#include <stdio.h>
#include <malloc.h>
#include <pthread.h>
#include <errno.h>
#include <unistd.h>
#include "IdGenerator.h"
static IdGenerator *_idGenerator = NULL;
static inline uint64_t WorkerM1Id()
{
return Worke... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/YitIdHelper.c | null | null | null | null | null | null | C | 2026-05-04T18:34:19.598714 | /*
* 版权属于:yitter(yitter@126.com)
* 开源地址:https://github.com/yitter/idgenerator
*/
#include <stdlib.h>
#include <stdint.h>
#include "YitIdHelper.h"
#include "idgen/IdGenerator.h"
extern void SetIdGenerator(IdGeneratorOptions options) {
SetOptions(options);
}
extern void SetWorkerId(uint32_t workerId... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/idgen/SnowWorkerM2.c | null | null | null | null | null | null | C | 2026-05-04T18:34:19.600071 | /*
* 版权属于:yitter(yitter@126.com)
* 代码翻译:amuluowin
* 代码修订:yitter
* 开源地址:https://github.com/yitter/idgenerator
*/
#include <malloc.h>
#include <stdlib.h>
#include <pthread.h>
#include "SnowWorkerM2.h"
extern uint64_t WorkerM2NextId(SnowFlakeWorker *worker) {
pthread_mutex_lock(&ThreadMutex);
... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/idgen/SnowWorkerM2.h | null | null | null | null | null | null | C | 2026-05-04T18:34:20.168074 | /*
* 版权属于:yitter(yitter@126.com)
* 代码翻译:amuluowin
* 代码修订:yitter
* 开源地址:https://gitee.com/yitter/idgenerator
*/
#pragma once
#include <stdlib.h>
#include "SnowWorkerM1.h"
extern uint64_t WorkerM2NextId(SnowFlakeWorker *worker);
|
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/main.c | null | null | null | null | null | null | C | 2026-05-04T18:34:20.193758 | /*
* 版权属于:yitter(yitter@126.com)
* 代码翻译:amuluowin
* 代码修订:yitter
*/
#include <stdio.h>
#include <stdlib.h>
#include <sys/timeb.h>
#include <pthread.h>
#include <unistd.h>
#include <stdbool.h>
#include "idgen/SnowWorkerM1.h"
#include "idgen/IdGenerator.h"
#include "YitIdHelper.h"
const int GenIdCount ... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | C/source/idgen/common.h | null | null | null | null | null | null | C | 2026-05-04T18:34:20.194577 | //
// Created by zhouzj on 2021/3/28.
//
#pragma once
#ifdef _WIN32
#define TAP_CDECL __cdecl
#define TAP_STDCALL __stdcall
#define TAP_DLLEXPORT __declspec(dllexport)
#else
#define TAP_CDECL
#define TAP_STDCALL
#define TAP_DLLEXPORT
#endif
|
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | PHP/src/snowflake/shm.c | null | null | null | null | null | null | C | 2026-05-04T18:34:20.223725 | #include <stdlib.h>
#include <fcntl.h>
#include <sys/types.h>
#ifdef WIN32
#include "windows.h"
#else
#include <sys/mman.h>
#include <strings.h>
#endif
#include "shm.h"
#ifdef WIN32
#define NAME "SnowDrift"
static HANDLE hMapFile;
int shm_alloc(struct shm* shm) {
hMapFile = CreateFileMapping(
INVALID_HANDLE_VALUE,... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | PHP/src/snowflake/shm.h | null | null | null | null | null | null | C | 2026-05-04T18:34:20.224369 | #ifndef __SHM_H
#define __SHM_H
struct shm
{
void *addr;
size_t size;
};
int shm_alloc(struct shm *shm);
void shm_free(struct shm *shm);
#endif
|
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | PHP/snowdrift.c | null | null | null | null | null | null | C | 2026-05-04T18:34:20.224888 | /*
+----------------------------------------------------------------------+
| snowdrift |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2018 The PHP Group |
+--------------... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | PHP/src/snowflake/snowflake.h | null | null | null | null | null | null | C | 2026-05-04T18:34:20.253588 | #include <stdint.h>
typedef struct snowflake
{
uint8_t Method;
uint64_t BaseTime;
uint16_t WorkerId;
uint8_t WorkerIdBitLength;
uint8_t SeqBitLength;
uint32_t MaxSeqNumber;
uint32_t MinSeqNumber;
uint32_t TopOverCostCount;
uint8_t _TimestampShift;
uint32_t _CurrentSeqNumber;
int64_t _LastTimeTic... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | PHP/src/snowflake/spinlock.c | null | null | null | null | null | null | C | 2026-05-04T18:34:20.254139 | #include <stdlib.h>
#ifdef WIN32
#include "windows.h"
#else
#include <sched.h>
#endif
#include "spinlock.h"
extern int ncpu;
extern int spin;
void spin_lock(atomic_t *lock, uint32_t pid)
{
int i, n;
for (;;)
{
if (*lock == 0 &&
#ifdef WIN32
InterlockedCompareExchange(lock, pid, 0) == 0
#else
__sync_bool... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | PHP/src/snowflake/snowflake.c | null | null | null | null | null | null | C | 2026-05-04T18:34:20.282800 | #ifdef WIN32
#include "windows.h"
#include <sys/timeb.h>
#else
#include <unistd.h>
#include <sys/time.h>
#include <time.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include "snowflake.h"
#include "spinlock.h"
// static void EndOverCostAction(uint64_t useTimeTick, snowflake *flake);
static inline uint64_t NextOver... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | PHP/php_snowdrift.h | null | null | null | null | null | null | C | 2026-05-04T18:34:20.326130 | /*
+----------------------------------------------------------------------+
| snowdrift |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2018 The PHP Group |
+--------------... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | PHP/src/snowflake/spinlock.h | null | null | null | null | null | null | C | 2026-05-04T18:34:21.088114 | #ifndef __SPINLOCK_H
#define __SPINLOCK_H
#include <stdint.h>
typedef volatile unsigned int atomic_t;
extern void spin_lock(atomic_t *lock, uint32_t pid);
extern void spin_unlock(atomic_t *lock, uint32_t pid);
#if defined(WIN32)
#define atomic_cpu_pause() MemoryBarrier();
#elif defined(__x86_64__)
#define atomic_cp... |
yitter/IdGenerator | https://github.com/yitter/IdGenerator | null | null | null | null | 3,163 | null | null | mit | null | null | null | null | null | null | null | PHP/src/test.c | null | null | null | null | null | null | C | 2026-05-04T18:34:21.089593 | #include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <pthread.h>
#include <unistd.h>
#include "snowflake/snowflake.h"
#if defined(WIN32)
#include "windows.h"
#endif
#define THREAD 2
#define TOTAL 50000
static snowflake snowf = {1, 0, 1, 6, 12, 0, 5, 2000};
static snowflake *flake = &snowf;
uint64_t... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | chan.h | null | null | null | null | null | null | C | 2026-05-04T18:34:23.707239 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | cr.c | null | null | null | null | null | null | C | 2026-05-04T18:34:23.727217 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | chan.c | null | null | null | null | null | null | C | 2026-05-04T18:34:23.741314 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | debug.c | null | null | null | null | null | null | C | 2026-05-04T18:34:23.787910 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | file.c | null | null | null | null | null | null | C | 2026-05-04T18:34:23.815886 | /*
Copyright (c) 2016 Paulo Faria
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, dist... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | cr.h | null | null | null | null | null | null | C | 2026-05-04T18:34:23.817056 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | debug.h | null | null | null | null | null | null | C | 2026-05-04T18:34:23.821454 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | ip.h | null | null | null | null | null | null | C | 2026-05-04T18:34:23.840322 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | ip.c | null | null | null | null | null | null | C | 2026-05-04T18:34:23.842837 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | dns/dns.h | null | null | null | null | null | null | C | 2026-05-04T18:34:23.949339 | /* ==========================================================================
* dns.h - Recursive, Reentrant DNS Resolver.
* --------------------------------------------------------------------------
* Copyright (c) 2009, 2010, 2012, 2013, 2014, 2015 William Ahern
*
* Permission is hereby granted, free of charge,... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | libmill.h | null | null | null | null | null | null | C | 2026-05-04T18:34:24.410453 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | mfork.c | null | null | null | null | null | null | C | 2026-05-04T18:34:24.591852 | /*
Copyright (c) 2016 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | list.h | null | null | null | null | null | null | C | 2026-05-04T18:34:24.593384 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | perf/chan.c | null | null | null | null | null | null | C | 2026-05-04T18:34:24.661726 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | perf/chr.c | null | null | null | null | null | null | C | 2026-05-04T18:34:24.706408 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | list.c | null | null | null | null | null | null | C | 2026-05-04T18:34:24.747873 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | perf/whispers.c | null | null | null | null | null | null | C | 2026-05-04T18:34:25.028705 | /*
Copyright (c) 2015 Alex Cornejo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, dis... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | poller.h | null | null | null | null | null | null | C | 2026-05-04T18:34:25.275091 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | poller.c | null | null | null | null | null | null | C | 2026-05-04T18:34:25.297339 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | slist.c | null | null | null | null | null | null | C | 2026-05-04T18:34:25.309327 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | ssl.c | null | null | null | null | null | null | C | 2026-05-04T18:34:25.387615 | /*
Copyright (c) 2016 John E. Haque
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, di... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | slist.h | null | null | null | null | null | null | C | 2026-05-04T18:34:25.406409 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | perf/ctxswitch.c | null | null | null | null | null | null | C | 2026-05-04T18:34:25.497429 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | perf/c10k.c | null | null | null | null | null | null | C | 2026-05-04T18:34:25.605803 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | perf/chs.c | null | null | null | null | null | null | C | 2026-05-04T18:34:25.713747 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | stack.c | null | null | null | null | null | null | C | 2026-05-04T18:34:25.773263 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | stack.h | null | null | null | null | null | null | C | 2026-05-04T18:34:25.887143 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/chan.c | null | null | null | null | null | null | C | 2026-05-04T18:34:25.906161 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/choose.c | null | null | null | null | null | null | C | 2026-05-04T18:34:25.999987 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/cls.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.050600 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tcp.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.094194 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publis... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/example.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.095165 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/fdwait.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.274273 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/file.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.381076 | /*
Copyright (c) 2016 Paulo Faria
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, dist... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/go.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.425761 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/ip.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.515726 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/mfork1.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.538943 | /*
Copyright (c) 2016 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/mfork2.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.569508 | /*
Copyright (c) 2016 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/overload.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.682517 | /*
Copyright (c) 2015 Nir Soffer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distr... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/signals.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.737693 | /*
Copyright (c) 2015 Nir Soffer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distr... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/mfork3.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.783732 | /*
Copyright (c) 2016 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/sleep.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.911184 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/ssl.c | null | null | null | null | null | null | C | 2026-05-04T18:34:26.984437 | /*
Copyright (c) 2016 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/tcp.c | null | null | null | null | null | null | C | 2026-05-04T18:34:27.107808 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | timer.c | null | null | null | null | null | null | C | 2026-05-04T18:34:27.198062 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/udp.c | null | null | null | null | null | null | C | 2026-05-04T18:34:27.273619 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tests/unix.c | null | null | null | null | null | null | C | 2026-05-04T18:34:27.274875 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | timer.h | null | null | null | null | null | null | C | 2026-05-04T18:34:27.303621 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | tutorial/step1.c | null | null | null | null | null | null | C | 2026-05-04T18:34:27.311189 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
sustrik/libmill | https://github.com/sustrik/libmill | null | null | null | null | 3,159 | null | null | mit | null | null | null | null | null | null | null | perf/go.c | null | null | null | null | null | null | C | 2026-05-04T18:34:30.044136 | /*
Copyright (c) 2015 Martin Sustrik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, d... |
kn007/silk-v3-decoder | https://github.com/kn007/silk-v3-decoder | null | null | null | null | 3,137 | null | null | mit | null | null | null | null | null | null | null | silk/src/SKP_Silk_A2NLSF.c | null | null | null | null | null | null | C | 2026-05-04T18:34:32.495111 | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
kn007/silk-v3-decoder | https://github.com/kn007/silk-v3-decoder | null | null | null | null | 3,137 | null | null | mit | null | null | null | null | null | null | null | silk/interface/SKP_Silk_SDK_API.h | null | null | null | null | null | null | C | 2026-05-04T18:34:32.497748 | /***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.