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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gdbinit/MachOView | https://github.com/gdbinit/MachOView | null | null | null | null | 2,863 | null | null | mit | null | null | null | null | null | null | null | capstone/arch/ARM/ARMModule.h | null | null | null | null | null | null | C | 2026-05-04T18:36:28.656902 | /* Capstone Disassembly Engine */
/* By Travis Finkenauer <tmfinken@gmail.com>, 2018 */
#ifndef CS_ARM_MODULE_H
#define CS_ARM_MODULE_H
#include "../../utils.h"
cs_err ARM_global_init(cs_struct *ud);
cs_err ARM_option(cs_struct *handle, cs_opt_type type, size_t value);
#endif
|
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | php/php_sixel.h | null | null | null | null | null | null | C | 2026-05-04T18:36:31.297131 | /*
* Copyright (c) 2015 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publis... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | examples/opengl/main.c | null | null | null | null | null | null | C | 2026-05-04T18:36:31.305940 | /**
* Example program for libsixel-OpenGL integration
* examples/opengl/main.c
*
* GLX pbuffer initialization part is originally written by
* Brian Paul for the "OpenGL and Window System Integration"
* course presented at SIGGRAPH '97. Updated on 5 October 2002.
*
* Updated on 31 January 2004 to use native GLX... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | converters/malloc_stub.h | null | null | null | null | null | null | C | 2026-05-04T18:36:31.311797 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | converters/malloc_stub.c | null | null | null | null | null | null | C | 2026-05-04T18:36:31.313148 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | examples/drawing/main.c | null | null | null | null | null | null | C | 2026-05-04T18:36:31.317610 | /**
* An example program demonstrating the integration of DEC Locator Mode and SGR-Pixels
*
* Hayaki Saito <saitoha@me.com>
*
* I declared this program is in Public Domain (CC0 - "No Rights Reserved"),
* This file is offered AS-IS, without any warranty.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <uni... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | ruby/ext/libsixel/libsixel.c | null | null | null | null | null | null | C | 2026-05-04T18:36:31.320316 | /*
* libsixel Ruby bindings
*
* Copyright (c) 2014,2015 Hayaki Saito
*
* 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
... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | converters/img2sixel.c | null | null | null | null | null | null | C | 2026-05-04T18:36:31.323733 | /*
* Copyright (c) 2014-2018 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | php/sixel.c | null | null | null | null | null | null | C | 2026-05-04T18:36:31.324749 | /*
* Copyright (c) 2015 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publis... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | converters/sixel2png.c | null | null | null | null | null | null | C | 2026-05-04T18:36:31.353761 | /*
* Copyright (c) 2014-2017 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/allocator.h | null | null | null | null | null | null | C | 2026-05-04T18:36:31.970409 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/decoder.h | null | null | null | null | null | null | C | 2026-05-04T18:36:31.976265 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/chunk.c | null | null | null | null | null | null | C | 2026-05-04T18:36:31.986393 | /*
* Copyright (c) 2014-2018 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/allocator.c | null | null | null | null | null | null | C | 2026-05-04T18:36:31.988953 | /*
* Copyright (c) 2014-2018 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/dither.h | null | null | null | null | null | null | C | 2026-05-04T18:36:32.006440 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/encoder.c | null | null | null | null | null | null | C | 2026-05-04T18:36:32.019285 | /*
* Copyright (c) 2014-2019 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/decoder.c | null | null | null | null | null | null | C | 2026-05-04T18:36:32.036651 | /*
* Copyright (c) 2014-2018 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/encoder.h | null | null | null | null | null | null | C | 2026-05-04T18:36:32.067521 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/chunk.h | null | null | null | null | null | null | C | 2026-05-04T18:36:32.083400 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/dither.c | null | null | null | null | null | null | C | 2026-05-04T18:36:32.114181 | /*
* Copyright (c) 2014-2018 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/frame.h | null | null | null | null | null | null | C | 2026-05-04T18:36:32.889173 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/fromgif.h | null | null | null | null | null | null | C | 2026-05-04T18:36:32.893149 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/frompnm.c | null | null | null | null | null | null | C | 2026-05-04T18:36:32.896533 | /*
* Copyright (c) 2014 kmiya@culti
* Copyright (c) 2014-2016 Hayaki Saito
*
* 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... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/fromsixel.c | null | null | null | null | null | null | C | 2026-05-04T18:36:32.986245 | /*
* This file is derived from "sixel" original version (2014-3-2)
* http://nanno.dip.jp/softlib/man/rlogin/sixel.tar.gz
*
* Initial developer of this file is kmiya@culti.
*
* He distributes it under very permissive license which permits
* useing, copying, modification, redistribution, and all other
* public ac... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/frame.c | null | null | null | null | null | null | C | 2026-05-04T18:36:33.004175 | /*
* Copyright (c) 2014-2020 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/malloc_stub.c | null | null | null | null | null | null | C | 2026-05-04T18:36:33.039936 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/fromgif.c | null | null | null | null | null | null | C | 2026-05-04T18:36:33.041027 | /*
* This file is derived from "stb_image.h" that is in public domain.
* https://github.com/nothings/stb
*
* Hayaki Saito <saitoha@me.com> modified this and re-licensed
* it under the MIT license.
*
* Copyright (c) 2021-2025 libsixel developers. See `AUTHORS`.
* Copyright (c) 2014-2018 Hayaki Saito
*
* Permis... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/frompnm.h | null | null | null | null | null | null | C | 2026-05-04T18:36:33.046341 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/loader.c | null | null | null | null | null | null | C | 2026-05-04T18:36:33.184739 | /*
* Copyright (c) 2014-2019 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/output.c | null | null | null | null | null | null | C | 2026-05-04T18:36:33.474194 | /*
* Copyright (c) 2014-2019 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/malloc_stub.h | null | null | null | null | null | null | C | 2026-05-04T18:36:33.485857 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/output.h | null | null | null | null | null | null | C | 2026-05-04T18:36:33.491778 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/pixelformat.c | null | null | null | null | null | null | C | 2026-05-04T18:36:33.587822 | /*
* Copyright (c) 2014-2019 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/quant.h | null | null | null | null | null | null | C | 2026-05-04T18:36:33.681333 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/scale.c | null | null | null | null | null | null | C | 2026-05-04T18:36:33.683558 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/quant.c | null | null | null | null | null | null | C | 2026-05-04T18:36:33.692586 | /*
*
* mediancut algorithm implementation is imported from pnmcolormap.c
* in netpbm library.
* http://netpbm.sourceforge.net/
*
* *******************************************************************************
* original license block of pnmcolormap.c
* ****************************************... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/loader.h | null | null | null | null | null | null | C | 2026-05-04T18:36:33.722420 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/pixelformat.h | null | null | null | null | null | null | C | 2026-05-04T18:36:33.729603 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/status.c | null | null | null | null | null | null | C | 2026-05-04T18:36:33.892221 | /*
* Copyright (c) 2014-2018 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/status.h | null | null | null | null | null | null | C | 2026-05-04T18:36:34.088646 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/stb_image_write.c | null | null | null | null | null | null | C | 2026-05-04T18:36:34.166821 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/tests.c | null | null | null | null | null | null | C | 2026-05-04T18:36:34.176009 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/stb_image_write.h | null | null | null | null | null | null | C | 2026-05-04T18:36:34.176681 | /* stb_image_write - v1.16 - public domain - http://nothings.org/stb
writes out PNG/BMP/TGA/JPEG/HDR images to C stdio - Sean Barrett 2010-2015
no warranty implied; use at your own risk
Before #including,
#define STB_IMAGE_WRITE_IMPLEMENTATION
in the file that you... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/tosixel.c | null | null | null | null | null | null | C | 2026-05-04T18:36:34.260369 | /*
* this file is derived from "sixel" original version (2014-3-2)
* http://nanno.dip.jp/softlib/man/rlogin/sixel.tar.gz
*
* Initial developer of this file is kmiya@culti.
*
* He distributes it under very permissive license which permits
* useing, copying, modification, redistribution, and all other
* public ac... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/tty.c | null | null | null | null | null | null | C | 2026-05-04T18:36:34.303148 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/tty.h | null | null | null | null | null | null | C | 2026-05-04T18:36:34.333022 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/writer.c | null | null | null | null | null | null | C | 2026-05-04T18:36:34.363837 | /*
* Copyright (c) 2014-2018 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | src/writer.h | null | null | null | null | null | null | C | 2026-05-04T18:36:34.416067 | /*
* Copyright (c) 2014-2016 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, p... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | tests/issue/222/poc_encode_bytes_packed_g1.c | null | null | null | null | null | null | C | 2026-05-04T18:36:34.496624 | /*
* SPDX-License-Identifier: MIT
*
* Regression test for issue #222:
* sixel_encoder_encode_bytes() must copy packed G1 input with packed byte
* length, not width * height bytes.
*/
#include <stdio.h>
#include <stdlib.h>
#include <sixel.h>
static int g_capture_enabled;
static int g_capture_complete;
static si... |
saitoha/libsixel | https://github.com/saitoha/libsixel | null | null | null | null | 2,796 | null | null | mit | null | null | null | null | null | null | null | tests/issue/GHSA-9jm7-77gr-qghv/oob-write-input.c | null | null | null | null | null | null | C | 2026-05-04T18:36:34.926394 | /*
* External-input PoC for GHSA-9jm7-77gr-qghv.
*
* The parser advances pos_y by six for each DECGNL '-' command without
* resizing the image. INT_MAX - 1 is divisible by six, so the next sixel byte
* evaluates pos_y + 6 as a signed int overflow while pos_y itself is still
* non-negative. The vulnerable resize c... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accesshttp/ah_listener.c | null | null | null | null | null | null | C | 2026-05-04T18:36:37.506625 | /*
* Description:
* History: yang@haipo.me, 2016/04/01, create
*/
# include "ah_config.h"
# include "ah_listener.h"
static nw_svr *listener_svr;
static nw_svr *monitor_svr;
static rpc_svr *worker_svr;
static int listener_decode_pkg(nw_ses *ses, void *data, size_t max)
{
return max;
}
static void listener... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accesshttp/ah_config.h | null | null | null | null | null | null | C | 2026-05-04T18:36:37.512580 | /*
* Description:
* History: yang@haipo.me, 2017/04/21, create
*/
# ifndef _AH_CONFIG_H_
# define _AH_CONFIG_H_
# include <math.h>
# include <stdio.h>
# include <error.h>
# include <errno.h>
# include <ctype.h>
# include <string.h>
# include <stdlib.h>
# include <unistd.h>
# include <assert.h>
# include <intt... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_auth.c | null | null | null | null | null | null | C | 2026-05-04T18:36:37.526528 | /*
* Description:
* History: yang@haipo.me, 2017/04/27, create
*/
# include <curl/curl.h>
# include "aw_config.h"
# include "aw_server.h"
# include "aw_asset.h"
# include "aw_order.h"
# include "aw_auth.h"
static nw_job *job_context;
static nw_state *state_context;
struct state_data {
nw_ses *ses;
u... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accesshttp/ah_listener.h | null | null | null | null | null | null | C | 2026-05-04T18:36:37.535449 | /*
* Description:
* History: yang@haipo.me, 2016/04/01, create
*/
# ifndef _AH_LISTENER_H_
# define _AH_LISTENER_H_
int init_listener(void);
# endif
|
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accesshttp/ah_config.c | null | null | null | null | null | null | C | 2026-05-04T18:36:37.575083 | /*
* Description:
* History: yang@haipo.me, 2017/04/21, create
*/
# include "ah_config.h"
struct settings settings;
static int read_config_from_json(json_t *root)
{
int ret;
ret = load_cfg_process(root, "process", &settings.process);
if (ret < 0) {
printf("load process config fail: %d\n",... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_asset.h | null | null | null | null | null | null | C | 2026-05-04T18:36:37.576571 | /*
* Description:
* History: yang@haipo.me, 2017/04/27, create
*/
# ifndef _AW_ASSET_H_
# define _AW_ASSET_H_
int init_asset(void);
int asset_subscribe(uint32_t user_id, nw_ses *ses, const char *asset);
int asset_unsubscribe(uint32_t user_id, nw_ses *ses);
int asset_on_update(uint32_t user_id, const char *as... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accesshttp/ah_main.c | null | null | null | null | null | null | C | 2026-05-04T18:36:37.600362 | /*
* Description:
* History: yang@haipo.me, 2017/04/21, create
*/
# include "ut_title.h"
# include "ah_config.h"
# include "ah_server.h"
# include "ah_listener.h"
const char *__process__ = "accesshttp";
const char *__version__ = "0.1.0";
nw_timer cron_timer;
static void on_cron_check(nw_timer *timer, void *... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accesshttp/ah_server.c | null | null | null | null | null | null | C | 2026-05-04T18:36:37.601353 | /*
* Description:
* History: yang@haipo.me, 2017/04/21, create
*/
# include "ah_config.h"
# include "ah_server.h"
static http_svr *svr;
static nw_state *state;
static dict_t *methods;
static rpc_clt *listener;
static rpc_clt *matchengine;
static rpc_clt *marketprice;
static rpc_clt *readhistory;
struct stat... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_asset.c | null | null | null | null | null | null | C | 2026-05-04T18:36:37.625077 | /*
* Description:
* History: yang@haipo.me, 2017/04/27, create
*/
# include "aw_config.h"
# include "aw_asset.h"
# include "aw_server.h"
static dict_t *dict_sub;
static rpc_clt *matchengine;
static nw_state *state_context;
struct sub_unit {
void *ses;
char asset[ASSET_NAME_MAX_LEN];
};
struct state_... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accesshttp/ah_server.h | null | null | null | null | null | null | C | 2026-05-04T18:36:37.662231 | /*
* Description:
* History: yang@haipo.me, 2017/04/21, create
*/
# ifndef _AH_SERVER_H_
# define _AH_SERVER_H_
int init_server(void);
# endif
|
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_deals.c | null | null | null | null | null | null | C | 2026-05-04T18:36:38.255183 | /*
* Description:
* History: yang@haipo.me, 2017/04/28, create
*/
# include "aw_config.h"
# include "aw_deals.h"
# include "aw_server.h"
static nw_timer timer;
static dict_t *dict_market;
static rpc_clt *marketprice;
static nw_state *state_context;
struct state_data {
char market[MARKET_NAME_MAX_LEN];
};... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_auth.h | null | null | null | null | null | null | C | 2026-05-04T18:36:38.256701 | /*
* Description:
* History: yang@haipo.me, 2017/04/27, create
*/
# ifndef _AW_AUTH_H_
# define _AW_AUTH_H_
int init_auth(void);
int send_auth_request(nw_ses *ses, uint64_t id, struct clt_info *info, json_t *params);
# endif
|
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_deals.h | null | null | null | null | null | null | C | 2026-05-04T18:36:38.297723 | /*
* Description:
* History: yang@haipo.me, 2017/04/28, create
*/
# ifndef _AW_DEALS_H_
# define _AW_DEALS_H_
int init_deals(void);
int deals_subscribe(nw_ses *ses, const char *market);
int deals_send_full(nw_ses *ses, const char *market);
int deals_unsubscribe(nw_ses *ses);
# endif
|
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_config.h | null | null | null | null | null | null | C | 2026-05-04T18:36:38.299035 | /*
* Description:
* History: yang@haipo.me, 2017/04/21, create
*/
# ifndef _AW_CONFIG_H_
# define _AW_CONFIG_H_
# include <math.h>
# include <stdio.h>
# include <error.h>
# include <errno.h>
# include <ctype.h>
# include <string.h>
# include <stdlib.h>
# include <unistd.h>
# include <assert.h>
# include <intt... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_config.c | null | null | null | null | null | null | C | 2026-05-04T18:36:38.299958 | /*
* Description:
* History: yang@haipo.me, 2017/04/21, create
*/
# include "aw_config.h"
struct settings settings;
static int read_depth_limit_cfg(json_t *root, const char *key)
{
json_t *obj = json_object_get(root, key);
if (obj == NULL || !json_is_array(obj))
return -__LINE__;
setting... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_depth.c | null | null | null | null | null | null | C | 2026-05-04T18:36:38.334622 | /*
* Description:
* History: yang@haipo.me, 2017/04/27, create
*/
# include "aw_config.h"
# include "aw_server.h"
# include "aw_depth.h"
static nw_timer timer;
static dict_t *dict_depth;
static rpc_clt *matchengine;
static nw_state *state_context;
# define CLEAN_INTERVAL 60
struct depth_key {
char marke... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_depth.h | null | null | null | null | null | null | C | 2026-05-04T18:36:38.387436 | /*
* Description:
* History: yang@haipo.me, 2017/04/27, create
*/
# ifndef _AW_DEPTH_H_
# define _AW_DEPTH_H_
int init_depth(void);
int depth_subscribe(nw_ses *ses, const char *market, uint32_t limit, const char *interval);
int depth_send_clean(nw_ses *ses, const char *market, uint32_t limit, const char *int... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_kline.c | null | null | null | null | null | null | C | 2026-05-04T18:36:38.388698 | /*
* Description:
* History: yang@haipo.me, 2017/04/27, create
*/
# include "aw_config.h"
# include "aw_kline.h"
# include "aw_server.h"
static nw_timer timer;
static dict_t *dict_kline;
static rpc_clt *marketprice;
static nw_state *state_context;
struct kline_key {
char market[MARKET_NAME_MAX_LEN];
... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_kline.h | null | null | null | null | null | null | C | 2026-05-04T18:36:38.396917 | /*
* Description:
* History: yang@haipo.me, 2017/04/27, create
*/
# ifndef _AW_KLINE_H_
# define _AW_KLINE_H_
int init_kline(void);
int kline_subscribe(nw_ses *ses, const char *market, int interval);
int kline_unsubscribe(nw_ses *ses);
# endif
|
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_listener.c | null | null | null | null | null | null | C | 2026-05-04T18:36:38.405632 | /*
* Description:
* History: yang@haipo.me, 2016/04/01, create
*/
# include "aw_config.h"
# include "aw_listener.h"
static nw_svr *listener_svr;
static nw_svr *monitor_svr;
static rpc_svr *worker_svr;
static int listener_decode_pkg(nw_ses *ses, void *data, size_t max)
{
return max;
}
static void listener... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_listener.h | null | null | null | null | null | null | C | 2026-05-04T18:36:39.206593 | /*
* Description:
* History: yang@haipo.me, 2016/04/01, create
*/
# ifndef _AW_LISTENER_H_
# define _AW_LISTENER_H_
int init_listener(void);
# endif
|
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_main.c | null | null | null | null | null | null | C | 2026-05-04T18:36:39.230882 | /*
* Description:
* History: yang@haipo.me, 2017/04/21, create
*/
# include "ut_title.h"
# include "aw_config.h"
# include "aw_server.h"
# include "aw_auth.h"
# include "aw_sign.h"
# include "aw_kline.h"
# include "aw_depth.h"
# include "aw_price.h"
# include "aw_state.h"
# include "aw_today.h"
# include "aw_d... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_server.h | null | null | null | null | null | null | C | 2026-05-04T18:36:39.348613 | /*
* Description:
* History: yang@haipo.me, 2017/04/21, create
*/
# ifndef _AW_SERVER_H_
# define _AW_SERVER_H_
# include "aw_config.h"
struct clt_info {
bool auth;
uint32_t user_id;
char *source;
};
int init_server(void);
int send_error(nw_ses *ses, uint64_t id, int code, cons... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_price.c | null | null | null | null | null | null | C | 2026-05-04T18:36:39.362346 | /*
* Description:
* History: yang@haipo.me, 2017/04/28, create
*/
# include "aw_config.h"
# include "aw_price.h"
# include "aw_server.h"
static nw_timer timer;
static dict_t *dict_market;
static rpc_clt *marketprice;
static nw_state *state_context;
struct state_data {
char market[MARKET_NAME_MAX_LEN];
};... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_order.h | null | null | null | null | null | null | C | 2026-05-04T18:36:39.389734 | /*
* Description:
* History: yang@haipo.me, 2017/04/27, create
*/
# ifndef _AW_ORDER_H_
# define _AW_ORDER_H_
int init_order(void);
int order_subscribe(uint32_t user_id, nw_ses *ses, const char *market);
int order_unsubscribe(uint32_t user_id, nw_ses *ses);
int order_on_update(uint32_t user_id, int event, js... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_server.c | null | null | null | null | null | null | C | 2026-05-04T18:36:39.424748 | /*
* Description:
* History: yang@haipo.me, 2017/04/21, create
*/
# include "aw_config.h"
# include "aw_server.h"
# include "aw_auth.h"
# include "aw_sign.h"
# include "aw_kline.h"
# include "aw_depth.h"
# include "aw_price.h"
# include "aw_state.h"
# include "aw_today.h"
# include "aw_deals.h"
# include "aw_o... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_sign.c | null | null | null | null | null | null | C | 2026-05-04T18:36:39.915199 | /*
* Description:
* History: yang@haipo.me, 2017/11/02, create
*/
# include <curl/curl.h>
# include "aw_config.h"
# include "aw_server.h"
# include "aw_asset.h"
# include "aw_order.h"
# include "aw_sign.h"
static nw_job *job_context;
static nw_state *state_context;
struct sign_request {
sds access_id;
... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_sign.h | null | null | null | null | null | null | C | 2026-05-04T18:36:40.059979 | /*
* Description:
* History: yang@haipo.me, 2017/11/02, create
*/
# ifndef _AW_SIGN_H_
# define _AW_SIGN_H_
int init_sign(void);
int send_sign_request(nw_ses *ses, uint64_t id, struct clt_info *info, json_t *params);
# endif
|
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_state.h | null | null | null | null | null | null | C | 2026-05-04T18:36:40.114506 | /*
* Description:
* History: yang@haipo.me, 2017/04/28, create
*/
# ifndef _AW_STATE_H_
# define _AW_STATE_H_
int init_state(void);
int state_subscribe(nw_ses *ses, const char *market);
int state_unsubscribe(nw_ses *ses);
int state_send_last(nw_ses *ses, const char *market);
# endif
|
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_state.c | null | null | null | null | null | null | C | 2026-05-04T18:36:40.125641 | /*
* Description:
* History: yang@haipo.me, 2017/04/28, create
*/
# include "aw_config.h"
# include "aw_state.h"
# include "aw_server.h"
static nw_timer timer;
static dict_t *dict_market;
static rpc_clt *marketprice;
static nw_state *state_context;
struct state_data {
char market[MARKET_NAME_MAX_LEN];
};... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_today.c | null | null | null | null | null | null | C | 2026-05-04T18:36:40.174668 | /*
* Description:
* History: yang@haipo.me, 2017/04/28, create
*/
# include "aw_config.h"
# include "aw_today.h"
# include "aw_server.h"
static nw_timer timer;
static dict_t *dict_market;
static rpc_clt *marketprice;
static nw_state *state_context;
struct state_data {
char market[MARKET_NAME_MAX_LEN];
};... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_today.h | null | null | null | null | null | null | C | 2026-05-04T18:36:40.222209 | /*
* Description:
* History: yang@haipo.me, 2017/04/28, create
*/
# ifndef _AW_TODAY_H_
# define _AW_TODAY_H_
int init_today(void);
int today_subscribe(nw_ses *ses, const char *market);
int today_unsubscribe(nw_ses *ses);
int today_send_last(nw_ses *ses, const char *market);
# endif
|
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | depends/hiredis/adapters/ae.h | null | null | null | null | null | null | C | 2026-05-04T18:36:41.371597 | /*
* Copyright (c) 2010-2011, Pieter Noordhuis <pcnoordhuis at gmail dot com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | alertcenter/ac_config.c | null | null | null | null | null | null | C | 2026-05-04T18:36:41.811861 | /*
* Description:
* History: yang@haipo.me, 2016/04/19, create
*/
# include "ac_config.h"
struct settings settings;
static int do_load_config(json_t *root)
{
int ret;
ret = load_cfg_process(root, "process", &settings.process);
if (ret < 0) {
printf("load process config fail: %d\n", ret);
... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | depends/hiredis/adapters/glib.h | null | null | null | null | null | null | C | 2026-05-04T18:36:42.078462 | #ifndef __HIREDIS_GLIB_H__
#define __HIREDIS_GLIB_H__
#include <glib.h>
#include "../hiredis.h"
#include "../async.h"
typedef struct
{
GSource source;
redisAsyncContext *ac;
GPollFD poll_fd;
} RedisSource;
static void
redis_source_add_read (gpointer data)
{
RedisSource *source = (RedisSource *)data;... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | depends/hiredis/adapters/ivykis.h | null | null | null | null | null | null | C | 2026-05-04T18:36:42.414252 | #ifndef __HIREDIS_IVYKIS_H__
#define __HIREDIS_IVYKIS_H__
#include <iv.h>
#include "../hiredis.h"
#include "../async.h"
typedef struct redisIvykisEvents {
redisAsyncContext *context;
struct iv_fd fd;
} redisIvykisEvents;
static void redisIvykisReadEvent(void *arg) {
redisAsyncContext *context = (redisAsyn... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | depends/hiredis/adapters/libev.h | null | null | null | null | null | null | C | 2026-05-04T18:36:42.734063 | /*
* Copyright (c) 2010-2011, Pieter Noordhuis <pcnoordhuis at gmail dot com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | depends/hiredis/adapters/libevent.h | null | null | null | null | null | null | C | 2026-05-04T18:36:43.293904 | /*
* Copyright (c) 2010-2011, Pieter Noordhuis <pcnoordhuis at gmail dot com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | depends/hiredis/adapters/libuv.h | null | null | null | null | null | null | C | 2026-05-04T18:36:43.645263 | #ifndef __HIREDIS_LIBUV_H__
#define __HIREDIS_LIBUV_H__
#include <stdlib.h>
#include <uv.h>
#include "../hiredis.h"
#include "../async.h"
#include <string.h>
typedef struct redisLibuvEvents {
redisAsyncContext* context;
uv_poll_t handle;
int events;
} redisLibuvEvents;
static void redis... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | depends/hiredis/adapters/macosx.h | null | null | null | null | null | null | C | 2026-05-04T18:36:43.918007 | //
// Created by Дмитрий Бахвалов on 13.07.15.
// Copyright (c) 2015 Dmitry Bakhvalov. All rights reserved.
//
#ifndef __HIREDIS_MACOSX_H__
#define __HIREDIS_MACOSX_H__
#include <CoreFoundation/CoreFoundation.h>
#include "../hiredis.h"
#include "../async.h"
typedef struct {
redisAsyncContext *context;
CFS... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_message.c | null | null | null | null | null | null | C | 2026-05-04T18:36:44.091070 | /*
* Description:
* History: yang@haipo.me, 2017/04/28, create
*/
# include "aw_config.h"
# include "aw_message.h"
# include "aw_asset.h"
# include "aw_order.h"
static kafka_consumer_t *kafka_orders;
static kafka_consumer_t *kafka_balances;
static int process_orders_message(json_t *msg)
{
int event = jso... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_order.c | null | null | null | null | null | null | C | 2026-05-04T18:36:44.126606 | /*
* Description:
* History: yang@haipo.me, 2017/04/27, create
*/
# include "aw_config.h"
# include "aw_order.h"
# include "aw_server.h"
static dict_t *dict_sub;
struct sub_unit {
void *ses;
char market[MARKET_NAME_MAX_LEN];
};
static uint32_t dict_sub_hash_func(const void *key)
{
return (uintpt... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_price.h | null | null | null | null | null | null | C | 2026-05-04T18:36:44.162015 | /*
* Description:
* History: yang@haipo.me, 2017/04/28, create
*/
# ifndef _AW_PRICE_H_
# define _AW_PRICE_H_
int init_price(void);
int price_subscribe(nw_ses *ses, const char *market);
int price_unsubscribe(nw_ses *ses);
int price_send_last(nw_ses *ses, const char *market);
# endif
|
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | accessws/aw_message.h | null | null | null | null | null | null | C | 2026-05-04T18:36:44.195204 | /*
* Description:
* History: yang@haipo.me, 2017/04/28, create
*/
# ifndef _AW_MESSAGE_H_
# define _AW_MESSAGE_H_
int init_message(void);
# endif
|
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | depends/hiredis/adapters/qt.h | null | null | null | null | null | null | C | 2026-05-04T18:36:44.245228 | /*-
* Copyright (C) 2014 Pietro Cerutti <gahr@gahr.ch>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions an... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | depends/hiredis/async.c | null | null | null | null | null | null | C | 2026-05-04T18:36:44.483534 | /*
* Copyright (c) 2009-2011, Salvatore Sanfilippo <antirez at gmail dot com>
* Copyright (c) 2010-2011, Pieter Noordhuis <pcnoordhuis at gmail dot com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | alertcenter/ac_server.c | null | null | null | null | null | null | C | 2026-05-04T18:36:45.842350 | /*
* Description:
* History: yang@haipo.me, 2016/04/19, create
*/
# include "ac_server.h"
# include "ac_config.h"
static nw_svr *svr;
static redis_sentinel_t *redis;
static const char *magic_head = "373d26968a5a2b698045";
static int decode_pkg(nw_ses *ses, void *data, size_t max)
{
char *s = data;
si... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | alertcenter/ac_config.h | null | null | null | null | null | null | C | 2026-05-04T18:36:45.842879 | /*
* Description:
* History: yang@haipo.me, 2016/04/19, create
*/
# ifndef _AC_CONFIG_H_
# define _AC_CONFIG_H_
# include <stdio.h>
# include <ctype.h>
# include <error.h>
# include <errno.h>
# include <unistd.h>
# include <assert.h>
# include "nw_svr.h"
# include "nw_clt.h"
# include "nw_timer.h"
# include ... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | alertcenter/ac_main.c | null | null | null | null | null | null | C | 2026-05-04T18:36:45.955756 | /*
* Description:
* History: yang@haipo.me, 2016/04/19, create
*/
# include "ac_config.h"
# include "ac_server.h"
# include "ut_title.h"
# include "ut_signal.h"
const char *version = "0.1.0";
nw_timer cron_timer;
static void on_cron_check(nw_timer *timer, void *data)
{
dlog_check_all();
if (signal_ex... |
viabtc/viabtc_exchange_server | https://github.com/viabtc/viabtc_exchange_server | null | null | null | null | 2,782 | null | null | mit | null | null | null | null | null | null | null | alertcenter/ac_server.h | null | null | null | null | null | null | C | 2026-05-04T18:36:46.036231 | /*
* Description:
* History: yang@haipo.me, 2016/04/19, create
*/
# ifndef _AC_SERVER_H_
# define _AC_SERVER_H_
int init_server(void);
# endif
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.