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
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/4 numer/one_appear_count_by_binary.c
null
null
null
null
null
null
C
2026-05-04T19:37:19.734953
#include "stdio.h" int one_appear_count_by_binary(int num){ int count = 0; while(num !=0 ){ num &= num-1; count++; } return count; } int main(int argc, char const *argv[]) { int test = 10; printf("%d\n", one_appear_count_by_binary(test)); printf("%d\n", one_appear_count_by_binary(32+1)); return 0; }
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/27.c
null
null
null
null
null
null
C
2026-05-04T19:37:19.736502
#include <stdio.h> int main() { int a=3, b = 5; printf(&a["Ya!Hello! how is this? %s\n"], &b["junk/super"]); //printf(3["helloworld \n"]); printf("%c\n", 0["this"] ); printf(&a["WHAT%c%c%c %c%c %c !\n"], 1["this"], 2["beauty"],0["tool"],0["is"],3["sensitive"],4["CCCCCC"]); retu...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/4 numer/isSquare.c
null
null
null
null
null
null
C
2026-05-04T19:37:19.738456
#include "stdio.h" int isSquare(unsigned integer){ if (integer==1 || integer==0) { return integer; } int divider=2,result=integer/divider; while(result>divider){ divider++; result = integer/divider; } if (result!=divider) { return -1; } return result; } int main(int argc, char const *argv[]...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/4 numer/string_to_integer.c
null
null
null
null
null
null
C
2026-05-04T19:37:19.739525
#include "stdio.h" #include "string.h" int string_to_integer(char *s,int length){ if (length>1) { return s[0]=='-'?string_to_integer(s,length-1)*10-(s[length-1]-'0'):string_to_integer(s,length-1)*10+s[length-1]-'0'; }else{ return s[0]=='-'?-1/10:s[0]-'0'; } } /* 问题: 1. s是空字符串 2. s传参为非数字字符 3. 超出整数所能表示范围 */...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/4 numer/integer_to_bin.c
null
null
null
null
null
null
C
2026-05-04T19:37:19.779262
#include "stdio.h" #include "stdlib.h" char *integer_to_bin(long integer){ int bit_num = sizeof(long)*8; char *buffer= (char *)malloc(bit_num+1); if (buffer==NULL) { return "malloc error"; } buffer[bit_num]='\0'; for (int i = 0; i < bit_num; ++i) { buffer[i]= integer<<i>>(bit_num-1); buffer[i]= buffer...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/4 numer/Power.c
null
null
null
null
null
null
C
2026-05-04T19:37:19.780563
#include "stdio.h" double Power(double base, int exponent) { if (exponent == 0) return 1; if (exponent == 1) return base; double result = Power(base, exponent >> 1); result *= result; if (exponent & 1) result = result*base; return result; } int main(int argc, char const *argv[]) { printf("%f\n", ...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/5 array/delete_occurence_character.c
null
null
null
null
null
null
C
2026-05-04T19:37:19.841085
#include "stdio.h" char *delete_occurence_character(char *src , char target){ char *front = src; char *rear = src; while(*front != '\0'){ if (*front != target){ *rear = *front; rear++; } front++; } *rear = '\0'; return src; } int main(int argc, char const *argv[]) { char test[] = "abcdeccba"; prin...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/5 array/fibonacci.c
null
null
null
null
null
null
C
2026-05-04T19:37:20.506710
#include "stdio.h" #include "time.h" int fibonacci(int n){ int result[2] = {0,1}; if (n<2) { return result[n]; } return fibonacci(n-1)+fibonacci(n-2); } // 循环 int fibonacci2(int n){ int result[2] = {0,1}; if ( n<2 ) { return result[n]; } int fibOne=0; int fibTwo=1; int fibN; for (int i = 2; ...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/5 array/factorial.c
null
null
null
null
null
null
C
2026-05-04T19:37:20.508212
#include "stdio.h" int factorial(int n){ int ret=0; (n==0) || (ret=n+factorial(n-1)); return ret; } int main(){ int n=10; printf("factorial(10)= %d\n",factorial(10)); printf("factorial(5)= %d\n",factorial(5)); printf("factorial(1)= %d\n",factorial(1)); printf("factorial(0)= %d\n",factorial(0)); return ...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/5 array/longest_continuious_number.c
null
null
null
null
null
null
C
2026-05-04T19:37:20.598368
#include "stdio.h" int longest_continuious_number(const char *input,char *output){ int max = 0; char *start= input; char *mid = input; char *end = input; int tmp = 0; if (input == NULL || output == NULL) return 0; while (*end != '\0'){ if (*end < '0' || *end > '9'){//字母 if(tmp > max){ max = tmp; s...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/5 array/print_continuous_sequence_sum.c
null
null
null
null
null
null
C
2026-05-04T19:37:20.636738
#include "stdio.h" //打印和为n的2个值 void print_continuous_sequence_sum(int n){// n=1,2 int small=1; int big=2; int sum = small+big; while(small<big && big<=n/2+1){ if (sum==n) { printf("%d ,%d\n",small,big); } while(sum>n){ sum-=small; small++; if (sum==n) { printf("%d, %d\n",small,big...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/6 matrix/print_matrix.c
null
null
null
null
null
null
C
2026-05-04T19:37:20.637526
#include "stdio.h" // a[i*rows+j] void print_matrix_incircle(int *matrix,int rows,int cols,int start){ int endX = cols-start-1; int endY = rows-start-1; //然后依次打印 上,右,下,左 for(int i=start;i<=endX;i++){ printf("%d ",matrix[start*rows+i]); } for(int i=start+1;i<=endY;i++){ printf("%d ",matrix[i*rows+endX]); }...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/7 bianrytree/binary_search.c
null
null
null
null
null
null
C
2026-05-04T19:37:20.678991
#include "stdio.h" int binary_search_first(int *a,int length,int key){ int low=0; int high = length-1; int mid = 0; while(low<high){ mid = (low+high)/2; if (a[mid]>=key)//往左找 { high = mid; }else{ low = mid+1; } } return high; } int binary_search_last(int *a,int length,int key){ int low...
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/5.c
null
null
null
null
null
null
C
2026-05-04T19:37:20.680080
#include "stdio.h" /* 1 是第一个元素 序列中元素被2或3或5整除 */ unsigned long value_in_sequence(unsigned index){ } int main(){ return 0; }
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/7 bianrytree/bt1.c
null
null
null
null
null
null
C
2026-05-04T19:37:20.696102
/* 二叉查找树变成双向链表 */ typedef struct BSTreeNode{ int m_nValue; struct BSTreeNode *m_pLeft, *m_pRight; }BSTree; void convertDoubleLinks(BSTree *root){ } int main(int argc, char const *argv[]) { return 0; }
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/8.c
null
null
null
null
null
null
C
2026-05-04T19:37:20.711234
#include "stdio.h" int main(){ int a = 257; unsigned char *result = (unsigned char *)&a; printf("%d.%d.%d.%d\n", result[0],result[1],result[2],result[3] ); }
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/7.c
null
null
null
null
null
null
C
2026-05-04T19:37:20.759805
#include "stdio.h" int main(){ int j,k,m; int i= (j=4,k=5,m=8); printf("%d\n", i); i= (j==4)?:0; printf("i=%d\n", i); return 0; }
nonstriater/Learn-Algorithms
https://github.com/nonstriater/Learn-Algorithms
null
null
null
null
8,937
null
null
apache-2.0
null
null
null
null
null
null
null
9 Algorithms Job Interview/codes/c1.c
null
null
null
null
null
null
C
2026-05-04T19:37:21.324025
// FROM:http://www.gowrikumar.com/c/ #include<stdio.h> #define TOTAL_ELEMENTS (sizeof(array) / sizeof(array[0])) int array[] = {23,34,12,17,204,99,16}; int main() { int d; int n = TOTAL_ELEMENTS-2; for(d=-1;d <= (TOTAL_ELEMENTS-2);d++) printf("%d\n",array[d+1]); return 0; ...
timercrack/trader
https://github.com/timercrack/trader
null
null
null
null
8,117
null
null
apache-2.0
null
null
null
null
null
null
null
native/ctp_bridge/api/linux/ThostFtdcMdApi.h
null
null
null
null
null
null
C
2026-05-04T19:37:24.446261
///////////////////////////////////////////////////////////////////////// ///@system 新一代交易所系统 ///@company 上海期货信息技术有限公司 ///@file ThostFtdcMdApi.h ///@brief 定义了客户端接口 ///@history ///20060106 赵鸿昊 创建该文件 ///////////////////////////////////////////////////////////////////////// #if !defined(THOST_FTDCMDAPI_H) #define THOST...
timercrack/trader
https://github.com/timercrack/trader
null
null
null
null
8,117
null
null
apache-2.0
null
null
null
null
null
null
null
native/ctp_bridge/api/linux/DataCollect.h
null
null
null
null
null
null
C
2026-05-04T19:37:24.471662
#ifndef DATA_COLLECT_H #define DATA_COLLECT_H #define DLL_EXPORT __declspec(dllexport) #if defined(IS_WINCOLLECT_LIB) && defined(WIN32) #ifdef LIB_DATA_COLLECT_API_EXPORT #define DATA_COLLECT_API_EXPORT __declspec(dllexport) #else #define DATA_COLLECT_API_EXPORT __declspec(dllimport) #endif #else #define ...
timercrack/trader
https://github.com/timercrack/trader
null
null
null
null
8,117
null
null
apache-2.0
null
null
null
null
null
null
null
native/ctp_bridge/api/win/ThostFtdcTraderApi.h
null
null
null
null
null
null
C
2026-05-04T19:37:24.472569
///////////////////////////////////////////////////////////////////////// ///@system 新一代交易所系统 ///@company 上海期货信息技术有限公司 ///@file ThostFtdcTraderApi.h ///@brief 定义了客户端接口 ///@history ///20060106 赵鸿昊 创建该文件 ///////////////////////////////////////////////////////////////////////// #if !defined(THOST_FTDCTRADERAPI...
timercrack/trader
https://github.com/timercrack/trader
null
null
null
null
8,117
null
null
apache-2.0
null
null
null
null
null
null
null
native/ctp_bridge/api/linux/ThostFtdcTraderApi.h
null
null
null
null
null
null
C
2026-05-04T19:37:24.473329
///////////////////////////////////////////////////////////////////////// ///@system 新一代交易所系统 ///@company 上海期货信息技术有限公司 ///@file ThostFtdcTraderApi.h ///@brief 定义了客户端接口 ///@history ///20060106 赵鸿昊 创建该文件 ///////////////////////////////////////////////////////////////////////// #if !defined(THOST_FTDCTRADERAPI_H) #defi...
timercrack/trader
https://github.com/timercrack/trader
null
null
null
null
8,117
null
null
apache-2.0
null
null
null
null
null
null
null
native/ctp_bridge/api/win/ThostFtdcMdApi.h
null
null
null
null
null
null
C
2026-05-04T19:37:24.481088
///////////////////////////////////////////////////////////////////////// ///@system 新一代交易所系统 ///@company 上海期货信息技术有限公司 ///@file ThostFtdcMdApi.h ///@brief 定义了客户端接口 ///@history ///20060106 赵鸿昊 创建该文件 ///////////////////////////////////////////////////////////////////////// #if !defined(THOST_FTDCMDAPI_H) #de...
timercrack/trader
https://github.com/timercrack/trader
null
null
null
null
8,117
null
null
apache-2.0
null
null
null
null
null
null
null
native/ctp_bridge/api/win/DataCollect.h
null
null
null
null
null
null
C
2026-05-04T19:37:24.521868
#ifndef DATA_COLLECT_H #define DATA_COLLECT_H #define DLL_EXPORT __declspec(dllexport) #if defined(IS_WINCOLLECT_LIB) && defined(WIN32) #ifdef LIB_DATA_COLLECT_API_EXPORT #define DATA_COLLECT_API_EXPORT __declspec(dllexport) #else #define DATA_COLLECT_API_EXPORT __declspec(dllimport) #endif #else #define ...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
examples/filter_wasm_c/c_filter.c
null
null
null
null
null
null
C
2026-05-04T19:37:29.237002
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <time.h> char* c_filter(char* tag, int len, uint32_t sec, uint32_t nsec, char* record, int record_len) { char *buf; buf = malloc(1024); if (!buf) { printf("malloc buf failed\n"); return NULL; } struct timespec ts; ...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/aws/flb_aws_error_reporter.h
null
null
null
null
null
null
C
2026-05-04T19:37:29.245932
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/aws/flb_aws_aggregation.h
null
null
null
null
null
null
C
2026-05-04T19:37:29.246876
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit.h
null
null
null
null
null
null
C
2026-05-04T19:37:29.270602
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
examples/hello_world/hello_world.c
null
null
null
null
null
null
C
2026-05-04T19:37:29.271843
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit Demo * =============== * Copyright (C) 2015 Treasure Data 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 ...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
benchmarks/pack_json.c
null
null
null
null
null
null
C
2026-05-04T19:37:29.295175
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> #include <fluent-bit.h> #include <fluent-bit/flb_pack_json.h> #define ITERATIONS 100000 static long diff_ns(struct timespec *s, struct timespec *e) { return (e->tv_sec - s->tv_sec) * 1000000000L + (e->tv_nsec - s->tv_nsec); } static in...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
examples/out_lib/out_lib.c
null
null
null
null
null
null
C
2026-05-04T19:37:29.296363
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit Demo * =============== * Copyright (C) 2015-2017 Treasure Data 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 ob...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
examples/filter_rust_clib/rust_clib_filter.c
null
null
null
null
null
null
C
2026-05-04T19:37:29.322180
#include <stdio.h> #include <string.h> #include <time.h> #include "filter_rust_clib.h" char* rust_clib_filter(char* tag, int len, uint32_t sec, uint32_t nsec, char* record, int record_len) { return (char *)rust_filter(tag, strlen(tag), sec, nsec, record, strlen(record)); }
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
benchmarks/flb-bench-processor_sampling.c
null
null
null
null
null
null
C
2026-05-04T19:37:29.323439
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * Benchmark for trace sampling hot paths. * * Modes: * - probabilistic: calls sampling_probabilistic_plugin.cb_do_sampling() * - tail-reconcile: uses tail sampling reconciliation (legacy/new) * * Usage example: * flb-bench-pr...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/aws/flb_aws_compress.h
null
null
null
null
null
null
C
2026-05-04T19:37:29.356365
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2019-2021 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/calyptia/calyptia_constants.h
null
null
null
null
null
null
C
2026-05-04T19:37:29.995838
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/aws/flb_aws_imds.h
null
null
null
null
null
null
C
2026-05-04T19:37:30.016885
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/aws/flb_aws_msk_iam.h
null
null
null
null
null
null
C
2026-05-04T19:37:30.124820
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/config_format/flb_cf_yaml.h
null
null
null
null
null
null
C
2026-05-04T19:37:30.149174
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_api.h
null
null
null
null
null
null
C
2026-05-04T19:37:30.150284
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/config_format/flb_cf_fluentbit.h
null
null
null
null
null
null
C
2026-05-04T19:37:30.174321
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/config_format/flb_cf.h
null
null
null
null
null
null
C
2026-05-04T19:37:30.194457
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_aws_util.h
null
null
null
null
null
null
C
2026-05-04T19:37:30.216278
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_avro.h
null
null
null
null
null
null
C
2026-05-04T19:37:30.236471
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_aws_credentials.h
null
null
null
null
null
null
C
2026-05-04T19:37:30.274714
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_bits.h
null
null
null
null
null
null
C
2026-05-04T19:37:31.067444
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_base64.h
null
null
null
null
null
null
C
2026-05-04T19:37:31.085590
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2019-2021 The Fluent Bit Authors * Copyright (C) 2015-2018 Treasure Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_compat.h
null
null
null
null
null
null
C
2026-05-04T19:37:31.231170
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_callback.h
null
null
null
null
null
null
C
2026-05-04T19:37:31.233973
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_cfl_record_accessor.h
null
null
null
null
null
null
C
2026-05-04T19:37:31.237177
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_chunk_trace.h
null
null
null
null
null
null
C
2026-05-04T19:37:31.247707
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2022-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_bucket_queue.h
null
null
null
null
null
null
C
2026-05-04T19:37:31.251577
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2019-2021 The Fluent Bit Authors * Copyright (C) 2015-2018 Treasure Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_byteswap.h
null
null
null
null
null
null
C
2026-05-04T19:37:31.269127
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_blob_db.h
null
null
null
null
null
null
C
2026-05-04T19:37:31.272916
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_cfl_ra_key.h
null
null
null
null
null
null
C
2026-05-04T19:37:31.345564
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_compression.h
null
null
null
null
null
null
C
2026-05-04T19:37:31.896240
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_config_format.h
null
null
null
null
null
null
C
2026-05-04T19:37:32.021307
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_connection.h
null
null
null
null
null
null
C
2026-05-04T19:37:32.029613
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_conditionals.h
null
null
null
null
null
null
C
2026-05-04T19:37:32.048802
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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 ...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_config.h
null
null
null
null
null
null
C
2026-05-04T19:37:32.066364
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_config_map.h
null
null
null
null
null
null
C
2026-05-04T19:37:32.078330
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_crypto.h
null
null
null
null
null
null
C
2026-05-04T19:37:32.261381
/* Fluent Bit * ========== * Copyright (C) 2019-2022 The Fluent Bit Authors * * 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 ...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_coro.h
null
null
null
null
null
null
C
2026-05-04T19:37:32.272310
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_csv.h
null
null
null
null
null
null
C
2026-05-04T19:37:32.290283
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_crypto_constants.h
null
null
null
null
null
null
C
2026-05-04T19:37:32.293134
/* Fluent Bit * ========== * Copyright (C) 2019-2022 The Fluent Bit Authors * * 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 ...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_custom.h
null
null
null
null
null
null
C
2026-05-04T19:37:32.871012
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_downstream_conn.h
null
null
null
null
null
null
C
2026-05-04T19:37:33.305019
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_custom_plugin.h
null
null
null
null
null
null
C
2026-05-04T19:37:33.305626
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_dlfcn_win32.h
null
null
null
null
null
null
C
2026-05-04T19:37:33.364044
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_dump.h
null
null
null
null
null
null
C
2026-05-04T19:37:33.364661
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_downstream.h
null
null
null
null
null
null
C
2026-05-04T19:37:33.388979
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_engine.h
null
null
null
null
null
null
C
2026-05-04T19:37:33.407001
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_endian.h
null
null
null
null
null
null
C
2026-05-04T19:37:33.420318
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_engine_macros.h
null
null
null
null
null
null
C
2026-05-04T19:37:33.492379
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
fluent/fluent-bit
https://github.com/fluent/fluent-bit
null
null
null
null
7,821
null
null
apache-2.0
null
null
null
null
null
null
null
include/fluent-bit/flb_engine_dispatch.h
null
null
null
null
null
null
C
2026-05-04T19:37:33.537473
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2026 The Fluent Bit Authors * * 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...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
examples/sqlite3-cli/core_init.c
null
null
null
null
null
null
C
2026-05-04T19:37:36.435353
#include "sqlite3.h" #include "sqlite-vec.h" #include <stdio.h> int core_init(const char *dummy) { return sqlite3_auto_extension((void *)sqlite3_vec_init); }
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/diskann-blob-truncate.c
null
null
null
null
null
null
C
2026-05-04T19:37:36.443659
/** * Fuzz target for DiskANN shadow table blob size mismatches. * * The critical vulnerability: diskann_node_read() copies whatever blob size * SQLite returns, but diskann_search/insert/delete index into those blobs * using cfg->n_neighbors * sizeof(i64) etc. If the blob is truncated, * extended, or has wrong si...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/diskann-command-inject.c
null
null
null
null
null
null
C
2026-05-04T19:37:36.445656
/** * Fuzz target for DiskANN runtime command dispatch (diskann_handle_command). * * The command handler parses strings like "search_list_size_search=42" and * modifies live DiskANN config. This fuzzer exercises: * * - atoi on fuzz-controlled strings (integer overflow, negative, non-numeric) * - strncmp boun...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
sqlite-vec-rescore.c
null
null
null
null
null
null
C
2026-05-04T19:37:36.447608
/** * sqlite-vec-rescore.c — Rescore index logic for sqlite-vec. * * This file is #included into sqlite-vec.c after the vec0_vtab definition. * All functions receive a vec0_vtab *p and access p->vector_columns[i].rescore. * * Shadow tables per rescore-enabled vector column: * _rescore_chunks{NN} — quantized v...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
sqlite-vec-diskann.c
null
null
null
null
null
null
C
2026-05-04T19:37:36.461769
// DiskANN algorithm implementation // This file is #include'd into sqlite-vec.c — not compiled separately. // ============================================================ // DiskANN node blob encode/decode functions // ============================================================ /** Compute size of validity bitmap i...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
examples/wasm/wasm.c
null
null
null
null
null
null
C
2026-05-04T19:37:36.462850
#include "sqlite3.h" #include "sqlite-vec.h" int sqlite3_wasm_extra_init(const char * unused) { return sqlite3_auto_extension((void (*)(void)) sqlite3_vec_init); }
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/diskann-buffer-flush.c
null
null
null
null
null
null
C
2026-05-04T19:37:36.466684
/** * Fuzz target for DiskANN buffered insert and flush paths. * * When buffer_threshold > 0, inserts go into a flat buffer table and * are flushed into the graph in batch. This fuzzer exercises: * * - diskann_buffer_write / diskann_buffer_delete / diskann_buffer_exists * - diskann_flush_buffer (batch graph ...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
sqlite-vec-ivf-kmeans.c
null
null
null
null
null
null
C
2026-05-04T19:37:36.504061
/** * sqlite-vec-ivf-kmeans.c — Pure k-means clustering algorithm. * * No SQLite dependency. Operates on float arrays in memory. * #include'd into sqlite-vec.c after struct definitions. */ #ifndef SQLITE_VEC_IVF_KMEANS_C #define SQLITE_VEC_IVF_KMEANS_C // When opened standalone in an editor, pull in types so the...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
sqlite-vec-ivf.c
null
null
null
null
null
null
C
2026-05-04T19:37:36.593635
/** * sqlite-vec-ivf.c — IVF (Inverted File Index) for sqlite-vec. * * #include'd into sqlite-vec.c after struct definitions and before vec0_init(). * * Storage: fixed-size packed blob cells (capped at IVF_CELL_MAX_VECTORS). * Multiple cell rows per centroid. cell_id is auto-increment rowid, * centroid_id is ind...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
examples/simple-c/demo.c
null
null
null
null
null
null
C
2026-05-04T19:37:36.662407
#include "sqlite3.h" #include "sqlite-vec.h" #include <stdio.h> #include <unistd.h> #include <assert.h> int main(int argc, char *argv[]) { int rc = SQLITE_OK; sqlite3 *db; sqlite3_stmt *stmt; rc = sqlite3_auto_extension((void (*)())sqlite3_vec_init); assert(rc == SQLITE_OK); rc = sqlite3_open(":memory:",...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/diskann-deep-search.c
null
null
null
null
null
null
C
2026-05-04T19:37:37.520726
/** * Fuzz target for DiskANN greedy beam search deep paths. * * Builds a graph with enough nodes to force multi-hop traversal, then * uses fuzz data to control: query vector values, k, search_list_size * overrides, and interleaved insert/delete/query sequences that stress * the candidate list growth, visited set...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/diskann-graph-corrupt.c
null
null
null
null
null
null
C
2026-05-04T19:37:37.521925
/** * Fuzz target for DiskANN shadow table corruption resilience. * Creates and populates a DiskANN table, then corrupts shadow table blobs * using fuzz data and runs queries. */ #include <stdint.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "sqlite-vec.h" #include "sqli...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/diskann-operations.c
null
null
null
null
null
null
C
2026-05-04T19:37:37.554160
/** * Fuzz target for DiskANN insert/delete/query operation sequences. * Uses fuzz bytes to drive random operations on a DiskANN-indexed table. */ #include <stdint.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "sqlite-vec.h" #include "sqlite3.h" #include <assert.h> int L...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/diskann-delete-stress.c
null
null
null
null
null
null
C
2026-05-04T19:37:37.583087
/** * Fuzz target for DiskANN delete path and graph connectivity maintenance. * * The delete path is the most complex graph mutation: * 1. Read deleted node's neighbor list * 2. For each neighbor, remove deleted node from their list * 3. Try to fill the gap with one of deleted node's other neighbors * 4....
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/diskann-create.c
null
null
null
null
null
null
C
2026-05-04T19:37:37.584238
/** * Fuzz target for DiskANN CREATE TABLE config parsing. * Feeds fuzz data as the INDEXED BY diskann(...) option string. */ #include <stdint.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "sqlite-vec.h" #include "sqlite3.h" #include <assert.h> int LLVMFuzzerTestOneInput...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/diskann-prune-direct.c
null
null
null
null
null
null
C
2026-05-04T19:37:37.702685
/** * Fuzz target for DiskANN RobustPrune algorithm (diskann_prune_select). * * diskann_prune_select is exposed for testing and takes: * - inter_distances: flattened NxN matrix of inter-candidate distances * - p_distances: N distances from node p to each candidate * - num_candidates, alpha, max_neighbors *...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/ivf-create.c
null
null
null
null
null
null
C
2026-05-04T19:37:38.449092
#include <stdint.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "sqlite-vec.h" #include "sqlite3.h" #include <assert.h> int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { int rc; sqlite3 *db; sqlite3_stmt *stmt; rc = sqlite3_open(":memory:", &db); asse...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/ivf-cell-overflow.c
null
null
null
null
null
null
C
2026-05-04T19:37:38.450280
/** * Fuzz target: IVF cell overflow and boundary conditions. * * Pushes cells past VEC0_IVF_CELL_MAX_VECTORS (64) to trigger cell * splitting, then exercises blob I/O at slot boundaries. * * Targets: * - Cell splitting when n_vectors reaches cap (64) * - Blob offset arithmetic: slot * vecSize, slot / 8, slot %...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/diskann-int8-quant.c
null
null
null
null
null
null
C
2026-05-04T19:37:38.505355
/** * Fuzz target for DiskANN int8 quantizer edge cases. * * The binary quantizer is simple (sign bit), but the int8 quantizer has * interesting arithmetic: * i8_val = (i8)(((src - (-1.0f)) / step) - 128.0f) * where step = 2.0f / 255.0f * * Edge cases in this formula: * - src values outside [-1, 1] cause c...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/exec.c
null
null
null
null
null
null
C
2026-05-04T19:37:38.535165
#include <stdint.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "sqlite-vec.h" #include "sqlite3.h" #include <assert.h> int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { int rc = SQLITE_OK; sqlite3 *db; sqlite3_stmt *stmt; if(size < 1) return 0; rc =...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/ivf-rescore.c
null
null
null
null
null
null
C
2026-05-04T19:37:38.986050
/** * Fuzz target: IVF oversample + rescore path. * * Specifically targets the code path where quantizer != none AND * oversample > 1, which triggers: * 1. Quantized KNN scan to collect oversample*k candidates * 2. Full-precision vector lookup from _ivf_vectors table * 3. Re-scoring with float32 distances * 4. ...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/ivf-kmeans.c
null
null
null
null
null
null
C
2026-05-04T19:37:39.025904
/** * Fuzz target: IVF k-means clustering. * * Builds a table, inserts fuzz-controlled vectors, then runs * compute-centroids with fuzz-controlled parameters (nlist, max_iter, seed). * Targets: * - kmeans with N < k (clamping), N == 1, k == 1 * - kmeans with duplicate/identical vectors (all distances zero) * - ...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/ivf-operations.c
null
null
null
null
null
null
C
2026-05-04T19:37:39.040362
#include <stdint.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "sqlite-vec.h" #include "sqlite3.h" #include <assert.h> int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { if (size < 6) return 0; int rc; sqlite3 *db; sqlite3_stmt *stmtInsert = NULL; sql...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/ivf-shadow-corrupt.c
null
null
null
null
null
null
C
2026-05-04T19:37:39.044549
/** * Fuzz target: IVF shadow table corruption. * * Creates a trained IVF table, then corrupts IVF shadow table blobs * (centroids, cells validity/rowids/vectors, rowid_map) with fuzz data. * Then exercises all read/write paths. Must not crash. * * Targets: * - Cell validity bitmap with wrong size * - Cell row...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/ivf-quantize.c
null
null
null
null
null
null
C
2026-05-04T19:37:39.074180
/** * Fuzz target: IVF quantization functions. * * Directly exercises ivf_quantize_int8 and ivf_quantize_binary with * fuzz-controlled dimensions and float data. Targets: * - ivf_quantize_int8: clamping, int8 overflow boundary * - ivf_quantize_binary: D not divisible by 8, memset(D/8) undercount * - Round-trip t...
asg017/sqlite-vec
https://github.com/asg017/sqlite-vec
null
null
null
null
7,535
null
null
apache-2.0
null
null
null
null
null
null
null
tests/fuzz/ivf-knn-deep.c
null
null
null
null
null
null
C
2026-05-04T19:37:39.101598
/** * Fuzz target: IVF KNN search deep paths. * * Exercises the full KNN pipeline with fuzz-controlled: * - nprobe values (including > nlist, =1, =nlist) * - Query vectors (including adversarial floats) * - Mix of trained/untrained state * - Oversample + rescore path (quantizer=int8 with oversample>1) * - Multi...