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
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/includes/ngtcp2/ngtcp2_crypto_quictls.h
null
null
null
null
null
null
C
2026-05-04T18:24:35.634001
/* * ngtcp2 * * Copyright (c) 2019 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/includes/ngtcp2/ngtcp2_crypto_ossl.h
null
null
null
null
null
null
C
2026-05-04T18:24:35.643392
/* * ngtcp2 * * Copyright (c) 2025 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/includes/ngtcp2/ngtcp2_crypto_boringssl.h
null
null
null
null
null
null
C
2026-05-04T18:24:35.649991
/* * ngtcp2 * * Copyright (c) 2020 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/includes/ngtcp2/ngtcp2_crypto_gnutls.h
null
null
null
null
null
null
C
2026-05-04T18:24:35.676905
/* * ngtcp2 * * Copyright (c) 2020 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/includes/ngtcp2/ngtcp2_crypto_picotls.h
null
null
null
null
null
null
C
2026-05-04T18:24:35.678581
/* * ngtcp2 * * Copyright (c) 2022 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/includes/ngtcp2/ngtcp2_crypto_wolfssl.h
null
null
null
null
null
null
C
2026-05-04T18:24:35.679432
/* * ngtcp2 * * Copyright (c) 2022 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/boringssl/boringssl.c
null
null
null
null
null
null
C
2026-05-04T18:24:35.696097
/* * ngtcp2 * * Copyright (c) 2020 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/ossl/ossl.c
null
null
null
null
null
null
C
2026-05-04T18:24:36.216747
/* * ngtcp2 * * Copyright (c) 2025 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/shared.h
null
null
null
null
null
null
C
2026-05-04T18:24:36.276452
/* * ngtcp2 * * Copyright (c) 2019 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/quictls/quictls.c
null
null
null
null
null
null
C
2026-05-04T18:24:36.288597
/* * ngtcp2 * * Copyright (c) 2019 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/wolfssl/wolfssl.c
null
null
null
null
null
null
C
2026-05-04T18:24:36.320739
/* * ngtcp2 * * Copyright (c) 2022 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/picotls/picotls.c
null
null
null
null
null
null
C
2026-05-04T18:24:36.329556
/* * ngtcp2 * * Copyright (c) 2022 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/client_base.h
null
null
null
null
null
null
C
2026-05-04T18:24:36.330854
/* * ngtcp2 * * Copyright (c) 2020 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/shared_test.c
null
null
null
null
null
null
C
2026-05-04T18:24:36.359633
/* * ngtcp2 * * Copyright (c) 2026 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/client.h
null
null
null
null
null
null
C
2026-05-04T18:24:36.364831
/* * ngtcp2 * * Copyright (c) 2017 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/shared_test.h
null
null
null
null
null
null
C
2026-05-04T18:24:36.393788
/* * ngtcp2 * * Copyright (c) 2026 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
crypto/shared.c
null
null
null
null
null
null
C
2026-05-04T18:24:36.395432
/* * ngtcp2 * * Copyright (c) 2019 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/debug.h
null
null
null
null
null
null
C
2026-05-04T18:24:37.448002
/* * ngtcp2 * * Copyright (c) 2017 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/hq_server_proto_codec.h
null
null
null
null
null
null
C
2026-05-04T18:24:37.845792
/* * ngtcp2 * * Copyright (c) 2026 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/http3_client_proto_codec.h
null
null
null
null
null
null
C
2026-05-04T18:24:37.846683
/* * ngtcp2 * * Copyright (c) 2026 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/http.h
null
null
null
null
null
null
C
2026-05-04T18:24:37.848165
/* * ngtcp2 * * Copyright (c) 2017 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/server.h
null
null
null
null
null
null
C
2026-05-04T18:24:37.849823
/* * ngtcp2 * * Copyright (c) 2017 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/server_base.h
null
null
null
null
null
null
C
2026-05-04T18:24:37.850903
/* * ngtcp2 * * Copyright (c) 2020 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/http3_server_proto_codec.h
null
null
null
null
null
null
C
2026-05-04T18:24:37.852099
/* * ngtcp2 * * Copyright (c) 2026 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/hq_client_proto_codec.h
null
null
null
null
null
null
C
2026-05-04T18:24:37.853250
/* * ngtcp2 * * Copyright (c) 2026 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/network.h
null
null
null
null
null
null
C
2026-05-04T18:24:38.151479
/* * ngtcp2 * * Copyright (c) 2017 ngtcp2 contributors * Copyright (c) 2016 nghttp2 contributors * * 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 * wi...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/gtlssimpleclient.c
null
null
null
null
null
null
C
2026-05-04T18:24:38.153178
/* * ngtcp2 * * Copyright (c) 2021-2022 ngtcp2 contributors * * 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, co...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/shared.h
null
null
null
null
null
null
C
2026-05-04T18:24:38.528133
/* * ngtcp2 * * Copyright (c) 2017 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/siphash.h
null
null
null
null
null
null
C
2026-05-04T18:24:38.642066
/* Copyright 2019 The BoringSSL Authors * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISC...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/sim.h
null
null
null
null
null
null
C
2026-05-04T18:24:38.681498
/* * ngtcp2 * * Copyright (c) 2025 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/sim_test.h
null
null
null
null
null
null
C
2026-05-04T18:24:38.684337
/* * ngtcp2 * * Copyright (c) 2025 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/siphash_test.h
null
null
null
null
null
null
C
2026-05-04T18:24:38.685545
/* * ngtcp2 * * Copyright (c) 2025 nghttp2 contributors * Copyright (c) 2025 ngtcp2 contributors * * 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 * wi...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/simpleclient.c
null
null
null
null
null
null
C
2026-05-04T18:24:38.687302
/* * ngtcp2 * * Copyright (c) 2021 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/siphash_vector.h
null
null
null
null
null
null
C
2026-05-04T18:24:38.715542
// https://github.com/veorq/SipHash/blob/f26d35e964c6290ffe23d9043475ad3129f409e0/vectors.h #include <stdint.h> const uint8_t vectors_sip64[64][8] = { { 0x31, 0x0E, 0x0E, 0xDD, 0x47, 0xDB, 0x6F, 0x72, }, { 0xFD, 0x67, 0xDC, 0x93, 0xC5, 0x39, 0xF8, 0...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/template.h
null
null
null
null
null
null
C
2026-05-04T18:24:38.851252
/* * ngtcp2 * * Copyright (c) 2017 ngtcp2 contributors * Copyright (c) 2015 ngttp2 contributors * * 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 * wit...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_context_boringssl.h
null
null
null
null
null
null
C
2026-05-04T18:24:38.869837
/* * ngtcp2 * * Copyright (c) 2021 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_context.h
null
null
null
null
null
null
C
2026-05-04T18:24:38.870771
/* * ngtcp2 * * Copyright (c) 2020 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_context_gnutls.h
null
null
null
null
null
null
C
2026-05-04T18:24:39.247866
/* * ngtcp2 * * Copyright (c) 2020 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_session_boringssl.h
null
null
null
null
null
null
C
2026-05-04T18:24:39.360106
/* * ngtcp2 * * Copyright (c) 2021 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_context_ossl.h
null
null
null
null
null
null
C
2026-05-04T18:24:39.363458
/* * ngtcp2 * * Copyright (c) 2025 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_context_quictls.h
null
null
null
null
null
null
C
2026-05-04T18:24:39.381108
/* * ngtcp2 * * Copyright (c) 2020 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_session.h
null
null
null
null
null
null
C
2026-05-04T18:24:39.381998
/* * ngtcp2 * * Copyright (c) 2020 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_context_picotls.h
null
null
null
null
null
null
C
2026-05-04T18:24:39.410319
/* * ngtcp2 * * Copyright (c) 2022 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_context_wolfssl.h
null
null
null
null
null
null
C
2026-05-04T18:24:39.443205
/* * ngtcp2 * * Copyright (c) 2020 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_session_ossl.h
null
null
null
null
null
null
C
2026-05-04T18:24:39.524337
/* * ngtcp2 * * Copyright (c) 2025 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_session_picotls.h
null
null
null
null
null
null
C
2026-05-04T18:24:39.546021
/* * ngtcp2 * * Copyright (c) 2022 ngtcp2 contributors * * 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, m...
ngtcp2/ngtcp2
https://github.com/ngtcp2/ngtcp2
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
examples/tls_client_session_gnutls.h
null
null
null
null
null
null
C
2026-05-04T18:24:39.546703
/* * ngtcp2 * * Copyright (c) 2020 ngtcp2 contributors * * 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, m...
antonioCoco/RemotePotato0
https://github.com/antonioCoco/RemotePotato0
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
RPCCaptureServer.h
null
null
null
null
null
null
C
2026-05-04T18:24:42.147503
#define SECURITY_WIN32 #pragma once #include <security.h> void ForgeNtlmType2(char*, int, char*, int*); void InitTokenContextBuffer(PSecBufferDesc, PSecBuffer); void PrintCapturedHash(char*, char*); void DoRpcServerCaptureCredsHash(wchar_t*, wchar_t*, wchar_t*);
antonioCoco/RemotePotato0
https://github.com/antonioCoco/RemotePotato0
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
IStorageTrigger.h
null
null
null
null
null
null
C
2026-05-04T18:24:42.161594
#pragma once #include "Objidl.h" class IStorageTrigger : public IMarshal, public IStorage { private: IStorage* _stg; int m_cRef; public: IStorageTrigger(IStorage* stg); HRESULT STDMETHODCALLTYPE DisconnectObject(DWORD dwReserved); HRESULT STDMETHODCALLTYPE GetMarshalSizeMax(const IID& riid, void* pv, DWORD dwDest...
antonioCoco/RemotePotato0
https://github.com/antonioCoco/RemotePotato0
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
RelayLib.h
null
null
null
null
null
null
C
2026-05-04T18:24:42.162261
#pragma once #include "Windows.h" SOCKET CreateRPCSocketListen(const wchar_t*); SOCKET CreateRPCSocketReflect(const wchar_t*, const wchar_t*); void ForgeAndAlterType2Rpc(char*, int, int, char*, int, char*); void ExtractType3FromRpc(char*, int, char*, int*); int findNTLMBytes(char*, int); //debug void hexDump2(char*, ...
antonioCoco/RemotePotato0
https://github.com/antonioCoco/RemotePotato0
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
RogueOxidResolver_c.c
null
null
null
null
null
null
C
2026-05-04T18:24:42.163090
/* this ALWAYS GENERATED file contains the RPC client stubs */ /* File created by MIDL compiler version 8.01.0622 */ /* at Tue Jan 19 04:14:07 2038 */ /* Compiler settings for RogueOxidResolver.idl: Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.01.0622 protocol : all , ms_ext, c_ext, robust ...
antonioCoco/RemotePotato0
https://github.com/antonioCoco/RemotePotato0
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
RogueOxidResolver_h.h
null
null
null
null
null
null
C
2026-05-04T18:24:42.169687
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 8.01.0622 */ /* at Tue Jan 19 04:14:07 2038 */ /* Compiler settings for RogueOxidResolver.idl: Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.01.0622 protocol : all , ms_ext, c_e...
antonioCoco/RemotePotato0
https://github.com/antonioCoco/RemotePotato0
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
HTTPCrossProtocolRelay.h
null
null
null
null
null
null
C
2026-05-04T18:24:42.172071
#pragma once #include "Windows.h" void DoHTTPCrossProtocolRelay(wchar_t*, wchar_t*, wchar_t*, wchar_t*, wchar_t*); SOCKET CreateHTTPSocket(const wchar_t*, const wchar_t*); char* ForgeHTTPRequestType1(char*, int, int*, wchar_t*); char* ForgeHTTPRequestType3(char*, int, int*, wchar_t*); void ExtractType2FromHttp(char*, ...
antonioCoco/RemotePotato0
https://github.com/antonioCoco/RemotePotato0
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
RogueOxidResolver_s.c
null
null
null
null
null
null
C
2026-05-04T18:24:42.172745
/* this ALWAYS GENERATED file contains the RPC server stubs */ /* File created by MIDL compiler version 8.01.0622 */ /* at Tue Jan 19 04:14:07 2038 */ /* Compiler settings for RogueOxidResolver.idl: Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.01.0622 protocol : all , ms_ext, c_ext, robust ...
antonioCoco/RemotePotato0
https://github.com/antonioCoco/RemotePotato0
null
null
null
null
1,456
null
null
mit
null
null
null
null
null
null
null
IStandardActivator_h.h
null
null
null
null
null
null
C
2026-05-04T18:24:42.228797
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 8.01.0622 */ /* at Tue Jan 19 04:14:07 2038 */ /* Compiler settings for IStandardActivator.idl: Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.01.0622 protocol : all , ms_ext, c_...
rxi/dyad
https://github.com/rxi/dyad
null
null
null
null
1,454
null
null
mit
null
null
null
null
null
null
null
src/dyad.c
null
null
null
null
null
null
C
2026-05-04T18:24:44.563402
/** * Copyright (c) 2016 rxi * * This library is free software; you can redistribute it and/or modify it * under the terms of the MIT license. See LICENSE for details. */ #ifdef _WIN32 #define _WIN32_WINNT 0x501 #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif #include <winsock2....
rxi/dyad
https://github.com/rxi/dyad
null
null
null
null
1,454
null
null
mit
null
null
null
null
null
null
null
src/dyad.h
null
null
null
null
null
null
C
2026-05-04T18:24:44.569534
/** * Copyright (c) 2016 rxi * * This library is free software; you can redistribute it and/or modify it * under the terms of the MIT license. See LICENSE for details. */ #ifndef DYAD_H #define DYAD_H #include <stdarg.h> #ifdef _WIN32 #include <windows.h> /* For SOCKET */ #endif #ifdef __cplusplus extern "C...
rxi/dyad
https://github.com/rxi/dyad
null
null
null
null
1,454
null
null
mit
null
null
null
null
null
null
null
example/daytime.c
null
null
null
null
null
null
C
2026-05-04T18:24:44.570001
#include <stdio.h> #include "dyad.h" /* Connects to a daytime server and prints the response */ static void onConnect(dyad_Event *e) { printf("connected: %s\n", e->msg); } static void onError(dyad_Event *e) { printf("error: %s\n", e->msg); } static void onData(dyad_Event *e) { printf("%s", e->data); } int m...
rxi/dyad
https://github.com/rxi/dyad
null
null
null
null
1,454
null
null
mit
null
null
null
null
null
null
null
example/ircbot.c
null
null
null
null
null
null
C
2026-05-04T18:24:44.576768
#include <stdio.h> #include <string.h> #include "dyad.h" /* A simple IRC bot. Connects to an IRC network, joins a channel then sits * idle, responding to the server's PING messges and printing everything the * server sends it. */ static char *server = "irc.afternet.org"; static char *channel = "#dyadbots"; static ...
rxi/dyad
https://github.com/rxi/dyad
null
null
null
null
1,454
null
null
mit
null
null
null
null
null
null
null
example/httpserv.c
null
null
null
null
null
null
C
2026-05-04T18:24:44.577291
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "dyad.h" /* A very simple HTTP server which responds to a number of paths with different * information. See httpserv2.c for an example of an HTTP server which responds * with files. */ static int count = 0; static void onLine(dya...
rxi/dyad
https://github.com/rxi/dyad
null
null
null
null
1,454
null
null
mit
null
null
null
null
null
null
null
example/echoserv.c
null
null
null
null
null
null
C
2026-05-04T18:24:44.606794
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "dyad.h" /* An echo server: Echos any data received by a client back to the client */ static void onData(dyad_Event *e) { dyad_write(e->stream, e->data, e->size); } static void onAccept(dyad_Event *e) { dyad_addListener(e->remote, DYAD_EVENT_DAT...
rxi/dyad
https://github.com/rxi/dyad
null
null
null
null
1,454
null
null
mit
null
null
null
null
null
null
null
example/httpserv2.c
null
null
null
null
null
null
C
2026-05-04T18:24:44.607350
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "dyad.h" /* An example of a simple HTTP server which serves up files. We make use of * `udata` and the DYAD_EVENT_READY event to send files in chunks as needed * instead of loading the entire file into the stream's write buffer in one go. * This al...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
docs/examples_src/example_advance_1.c
null
null
null
null
null
null
C
2026-05-04T18:24:46.868474
/* Declare rb instance & raw data */ lwrb_t buff; uint8_t buff_data[8]; size_t len; uint8_t* data; /* Initialize buffer, use buff_data as data array */ lwrb_init(&buff, buff_data, sizeof(buff_data)); /* Use write, read operations, process data */ /* ... */ /* IMAGE PART A */ /* At this stage, we have buffer as on ...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
docs/examples_src/example_dma_skip.c
null
null
null
null
null
null
C
2026-05-04T18:24:46.879677
/* Declare rb instance & raw data */ lwrb_t buff; uint8_t buff_data[8]; /* Working data length */ volatile size_t len; /* Send data function */ void send_data(void); int main(void) { /* Initialize buffer */ lwrb_init(&buff, buff_data, sizeof(buff_data)); /* Write 4 bytes of data */ lwrb_write(&buff,...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
docs/examples_src/example_skip_2.c
null
null
null
null
null
null
C
2026-05-04T18:24:46.881136
/* Initialization part skipped */ /* Get length of linear memory at read pointer */ /* When function returns 0, there is no memory available in the buffer for read anymore */ while ((len = lwrb_get_linear_block_read_length(&buff)) > 0) { /* Get pointer to first element in linear block at read address */ dat...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
docs/examples_src/example_skip_1.c
null
null
null
null
null
null
C
2026-05-04T18:24:46.903446
#include "lwrb/lwrb.h" /* Declare rb instance & raw data */ lwrb_t buff; uint8_t buff_data[8]; size_t len; uint8_t* data; /* Initialize buffer, use buff_data as data array */ lwrb_init(&buff, buff_data, sizeof(buff_data)); /* Use write, read operations, process data */ /* ... */ /* IMAGE PART A */ /* At this stag...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
docs/examples_src/example_advance_2.c
null
null
null
null
null
null
C
2026-05-04T18:24:46.904025
#include "lwrb/lwrb.h" /* Declare rb instance & raw data */ lwrb_t buff; uint8_t buff_data[8]; /* Application variables */ uint8_t data[2]; /* Application code ... */ lwrb_init(&buff, buff_data, sizeof(buff_data)); /* Initialize buffer */ /* Write 4 bytes of data */ lwrb_write(&buff, "0123", 4); /* Print number of...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
docs/examples_src/example_events.c
null
null
null
null
null
null
C
2026-05-04T18:24:46.905777
/** * \brief Buffer event function */ void my_buff_evt_fn(lwrb_t* buff, lwrb_evt_type_t type, size_t len) { switch (type) { case LWRB_EVT_RESET: printf("[EVT] Buffer reset event!\r\n"); break; case LWRB_EVT_READ: printf("[EVT] Buffer read event: %d byt...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
docs/examples_src/example_thread_safety.c
null
null
null
null
null
null
C
2026-05-04T18:24:46.921927
/* Declare variables */ lwrb_t rb; /* 2 mutexes, one for write operations, one for read operations */ mutex_t m_w, m_r; /* 4 threads below, 2 for write, 2 for read */ void thread_write_1(void* arg) { /* Use write mutex */ while (1) { mutex_get(&m_w); lwrb_write(&rb, ...); mutex_giv...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
docs/examples_src/example_minimal.c
null
null
null
null
null
null
C
2026-05-04T18:24:46.923067
#include "lwrb/lwrb.h" /* Declare rb instance & raw data */ lwrb_t buff; uint8_t buff_data[8]; /* Application code ... */ lwrb_init(&buff, buff_data, sizeof(buff_data)); /* Initialize buffer */ /* Write 4 bytes of data */ lwrb_write(&buff, "0123", 4); /* Print number of bytes in buffer */ printf("Bytes in buffer: %...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
docs/examples_src/example_index.c
null
null
null
null
null
null
C
2026-05-04T18:24:46.924127
/* Declare rb instance & raw data */ lwrb_t buff; uint8_t buff_data[8]; /* Application variables */ uint8_t data[2]; size_t len; /* Application code ... */ lwrb_init(&buff, buff_data, sizeof(buff_data)); /* Initialize buffer */ /* Write 4 bytes of data */ lwrb_write(&buff, "0123", 4); /* Try to read buffer */ /* le...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
dev/main.c
null
null
null
null
null
null
C
2026-05-04T18:24:46.980016
// lwrb_dev.cpp : Defines the entry point for the console application. // #include <stdio.h> #include <string.h> #include "lwrb/lwrb.h" /* Create data array and buffer */ uint8_t lwrb_data[8 + 1]; lwrb_t buff; uint8_t tmp[8]; void my_buff_evt_fn(lwrb_t* buff, lwrb_evt_type_t type, lwrb_sz_t len) { (void)buff; ...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
lwrb/test/test_ex.c
null
null
null
null
null
null
C
2026-05-04T18:24:47.572500
#ifdef TEST #include "unity.h" #include "lwrb.h" #define TEST_ARRAY_SIZE 10 static uint8_t lwrb_data[TEST_ARRAY_SIZE] = { 0x00 }; static uint8_t lwrb_data2[TEST_ARRAY_SIZE] = { 0x00 }; static uint8_t lwrb_result[TEST_ARRAY_SIZE]; static lwrb_t lwrb_test; static lwrb_t lwrb_test2; void setUp(void) { memset(lw...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
lwrb/src/include/lwrb/lwrb.h
null
null
null
null
null
null
C
2026-05-04T18:24:47.573694
/** * \file lwrb.h * \brief LwRB - Lightweight ring buffer */ /* * Copyright (c) 2024 Tilen MAJERLE * * 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 res...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
docs/examples_src/example_tt_buff_size.c
null
null
null
null
null
null
C
2026-05-04T18:24:47.602097
#include "lwrb/lwrb.h" /* Number of data blocks to write */ #define N 3 /* Create custom data structure */ /* Data is array of 2 32-bit words, 8-bytes */ uint32_t d[2]; /* Create buffer structures */ lwrb_t buff_1; lwrb_t buff_2; /* Create data for buffers. Use sizeof structure, multiplied by N (for N i...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
lwrb/test/test.c
null
null
null
null
null
null
C
2026-05-04T18:24:47.663386
/** * @file test.c * * Unit tests for the lwrb library * * @author Tofik Sonono (tofik@sonono.me) * */ /*======= Includes ==========================================================*/ #include <stdint.h> #include <stdlib.h> #include "lwrb/lwrb.h" #include "unity.h" /*======= Local Macro Definitions ===========...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
docs/examples_src/example_tt_buff_size_log.c
null
null
null
null
null
null
C
2026-05-04T18:24:47.685847
Write: buffer 1: 8/8; buffer 2: 8/8 Write: buffer 1: 8/8; buffer 2: 8/8 Write: buffer 1: 8/8; buffer 2: 7/8 <-- See here -->
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
lwrb/src/lwrb/lwrb.c
null
null
null
null
null
null
C
2026-05-04T18:24:47.710141
/** * \file lwrb.c * \brief Lightweight ring buffer */ /* * Copyright (c) 2024 Tilen MAJERLE * * 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 restrictio...
MaJerle/lwrb
https://github.com/MaJerle/lwrb
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
lwrb/src/lwrb/lwrb_ex.c
null
null
null
null
null
null
C
2026-05-04T18:24:47.715412
/** * \file lwrb_ex.c * \brief Lightweight ring buffer - extended functions */ /* * Copyright (c) 2024 Tilen MAJERLE * * 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 Sof...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
include/swappy.h
null
null
null
null
null
null
C
2026-05-04T18:24:50.156922
#pragma once #include <glib-2.0/glib.h> #include <gtk/gtk.h> #include <stdbool.h> #include <stdint.h> #include <stdlib.h> #define MAX_PATH 4096 #define SWAPPY_LINE_SIZE_MIN 1 #define SWAPPY_LINE_SIZE_MAX 50 #define SWAPPY_TEXT_SIZE_MIN 10 #define SWAPPY_TEXT_SIZE_MAX 50 #define SWAPPY_TRANSPARENCY_MIN 5 #define SW...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
include/application.h
null
null
null
null
null
null
C
2026-05-04T18:24:50.158025
#pragma once #include "swappy.h" bool application_init(struct swappy_state *state); int application_run(struct swappy_state *state); void application_finish(struct swappy_state *state); /* Glade signals */ void window_keypress_handler(GtkWidget *widget, GdkEventKey *event, struct swappy_...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
include/algebra.h
null
null
null
null
null
null
C
2026-05-04T18:24:50.169357
#pragma once #include <glib.h> struct gaussian_kernel { gdouble *kernel; gint size; gdouble sigma; gdouble sum; }; struct gaussian_kernel *gaussian_kernel(gint width, gdouble sigma); void gaussian_kernel_free(gpointer data);
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
include/box.h
null
null
null
null
null
null
C
2026-05-04T18:24:50.169866
#pragma once #include "swappy.h" bool box_parse(struct swappy_box *box, const char *str); bool is_empty_box(struct swappy_box *box); bool intersect_box(struct swappy_box *a, struct swappy_box *b);
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
include/config.h
null
null
null
null
null
null
C
2026-05-04T18:24:50.177739
#include "swappy.h" #define CONFIG_LINE_SIZE_DEFAULT 5 #define CONFIG_TEXT_FONT_DEFAULT "sans-serif" #define CONFIG_TEXT_SIZE_DEFAULT 20 #define CONFIG_TRANSPARENCY_DEFAULT 50 #define CONFIG_SHOW_PANEL_DEFAULT false #define CONFIG_SAVE_FILENAME_FORMAT_DEFAULT "swappy-%Y%m%d_%H%M%S.png" #define CONFIG_PAINT_MODE_DEFAUL...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
include/pixbuf.h
null
null
null
null
null
null
C
2026-05-04T18:24:50.178254
#pragma once #include "swappy.h" GdkPixbuf *pixbuf_init_from_file(struct swappy_state *state); GdkPixbuf *pixbuf_get_from_state(struct swappy_state *state); void pixbuf_save_state_to_folder(GdkPixbuf *pixbuf, char *folder, char *filename_format); void pixbuf_save_to_file(GdkPixbuf *pi...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
include/file.h
null
null
null
null
null
null
C
2026-05-04T18:24:50.200197
#pragma once bool folder_exists(const char *path); bool file_exists(const char *path); char *file_dump_stdin_into_a_temp_file();
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
include/paint.h
null
null
null
null
null
null
C
2026-05-04T18:24:50.201631
#pragma once #include <gdk/gdk.h> #include "swappy.h" void paint_add_temporary(struct swappy_state *state, double x, double y, enum swappy_paint_type type); void paint_update_temporary_shape(struct swappy_state *state, double x, double y, gboolean is_control...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
include/clipboard.h
null
null
null
null
null
null
C
2026-05-04T18:24:50.291382
#pragma once #include "swappy.h" bool clipboard_copy_drawing_area_to_selection(struct swappy_state *state);
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
src/algebra.c
null
null
null
null
null
null
C
2026-05-04T18:24:50.811258
#include "algebra.h" #include <glib.h> #include <math.h> struct gaussian_kernel *gaussian_kernel(int width, double sigma) { double sum = 0; gint size = width * width + 1; double *kernel = g_new0(double, size); struct gaussian_kernel *gaussian = g_new(struct gaussian_kernel, 1); for (gint y = 0; y < width; y...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
include/util.h
null
null
null
null
null
null
C
2026-05-04T18:24:50.812070
#pragma once #include <glib.h> glong string_get_nb_bytes_until(gchar *str, glong until); gchar *string_remove_at(char *str, glong pos); gchar *string_insert_chars_at(gchar *str, gchar *chars, glong pos); void pixel_data_print(guint32 pixel);
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
src/clipboard.c
null
null
null
null
null
null
C
2026-05-04T18:24:50.861888
#include "clipboard.h" #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> #include "pixbuf.h" #include "util.h" #define gtk_clipboard_t GtkClipboard #define gdk_pixbuf_t GdkPixbuf static gboolean send_pixbuf_to_wl_copy(gdk_pixbuf_t *pixbuf) { pid_t clipboard_process = 0; int pipefd[2]; int statu...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
src/config.c
null
null
null
null
null
null
C
2026-05-04T18:24:50.891221
#include "config.h" #include <glib.h> #include <inttypes.h> #include <stdbool.h> #include <stdio.h> #include <sys/stat.h> #include <wordexp.h> #include "file.h" #include "swappy.h" static void print_config(struct swappy_config *config) { g_info("printing config:"); g_info("config_dir: %s", config->config_file); ...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
src/main.c
null
null
null
null
null
null
C
2026-05-04T18:24:50.924978
#define _POSIX_C_SOURCE 200809L #include "application.h" #include "config.h" int main(int argc, char *argv[]) { struct swappy_state state = {0}; int status; state.argc = argc; state.argv = argv; state.mode = SWAPPY_PAINT_MODE_BRUSH; if (!application_init(&state)) { g_critical("failed to initialize g...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
src/pixbuf.c
null
null
null
null
null
null
C
2026-05-04T18:24:50.944439
#include "pixbuf.h" #include <cairo/cairo.h> #include <gio/gunixoutputstream.h> GdkPixbuf *pixbuf_get_from_state(struct swappy_state *state) { guint width = cairo_image_surface_get_width(state->rendering_surface); guint height = cairo_image_surface_get_height(state->rendering_surface); GdkPixbuf *pixbuf = gdk_p...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
src/application.c
null
null
null
null
null
null
C
2026-05-04T18:24:50.952940
#include <gdk/gdk.h> #include <glib-2.0/glib.h> #include <glib/gstdio.h> #include <gtk/gtk.h> #include <inttypes.h> #include <stdio.h> #include <time.h> #include "clipboard.h" #include "config.h" #include "file.h" #include "paint.h" #include "pixbuf.h" #include "render.h" #include "swappy.h" static void update_ui_und...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
src/box.c
null
null
null
null
null
null
C
2026-05-04T18:24:50.963220
#include "box.h" static int32_t lmax(int32_t a, int32_t b) { return a > b ? a : b; } static int32_t lmin(int32_t a, int32_t b) { return a < b ? a : b; } bool box_parse(struct swappy_box *box, const char *str) { char *end = NULL; box->x = (int32_t)strtol(str, &end, 10); if (end[0] != ',') { return false; ...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
src/paint.c
null
null
null
null
null
null
C
2026-05-04T18:24:50.974837
#include "paint.h" #include <glib.h> #include <stdio.h> #include "gtk/gtk.h" #include "util.h" static void cursor_move_backward(struct swappy_paint_text *text) { if (text->cursor > 0) { text->cursor--; } } static void cursor_move_forward(struct swappy_paint_text *text) { if (text->cursor < g_utf8_strlen(t...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
src/file.c
null
null
null
null
null
null
C
2026-05-04T18:24:50.975734
#define _POSIX_C_SOURCE 200112L #include <errno.h> #include <fcntl.h> #include <glib.h> #include <glib/gstdio.h> #include <stdbool.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #define BLOCK_SIZE 1024 bool folder_exists(const char *path) { return g_file_test(path, G_FILE_TEST_IS_DIR); } bool...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
src/util.c
null
null
null
null
null
null
C
2026-05-04T18:24:51.428546
#include "util.h" #include <glib.h> #include <string.h> gchar *string_remove_at(gchar *str, glong pos) { glong str_len = strlen(str); glong ustr_len = g_utf8_strlen(str, -1); gchar *new_str = g_new0(gchar, MAX(str_len, 1)); gchar *buffer_source = str; gchar *buffer_copy = new_str; glong i = 0; gint byte...
jtheoof/swappy
https://github.com/jtheoof/swappy
null
null
null
null
1,453
null
null
mit
null
null
null
null
null
null
null
src/render.c
null
null
null
null
null
null
C
2026-05-04T18:24:51.599187
#include <glib.h> #include <gtk/gtk.h> #include <math.h> #include <pango/pangocairo.h> #include "algebra.h" #include "swappy.h" #include "util.h" #define pango_layout_t PangoLayout #define pango_font_description_t PangoFontDescription #define pango_rectangle_t PangoRectangle /* * This code was largely taken from Kr...