1. Include the FdogSerializeC header file in your C program: ```c #include "fdog_serialize_c.h" ``` 2. Define your data structure using C structs. Make sure to annotate each member with the appropriate FdogSerializeC attributes. For example: ```c typedef struct { int id; char nam...
(a) : (b) #define CHUNK_SIZE (8192) typedef struct chunked_t { ringbuffer_t *rb; uint8_t buf[CHUNK_SIZE]; uint8_t read_last; } chunked_t; static int rb_lua_writer(lua_State *L, const void* in, size_t cb, void* param) { (void)L; ringbuffer_t *rb = (ringbuffer_t ...
*/ int serialize_branches(struct sip_msg *msg, int clean_before, int keep_order) { static struct serial_contact contacts[MAX_BRANCHES]; int n, last, first, i, prev; str branch, *ruri; qvalue_t q, ruri_q; char *p; ...
#include<serdepp/adaptor/reflection.hpp>#include<serdepp/serde.hpp>#include<serdepp/adaptor/reflection.hpp>structA{DERIVE_SERDE(A, (&Self::a,"a") (&Self::b,"b") (&Self::c,"c") (&Self::d,"d") (&Self::e,"e"))inta; std::string b;doublec; std::vector<int> d;inte; }...
static struct _swSeriaG swSeriaG; void *unseri_buffer_end = NULL; void swoole_serialize_init(int module_number) { SWOOLE_INIT_CLASS_ENTRY(swoole_serialize_ce, "swoole_serialize", "Swoole\\Serialize", swoole_serialize_methods); swoole_serialize_class_entry_ptr = zend_register_internal...
--- a/drivers/media/platform/vimc/vimc-streamer.c +++ b/drivers/media/platform/vimc/vimc-streamer.c @@ -153,39 +153,48 @@ int vimc_streamer_s_stream(struct vimc_stream *stream, struct vimc_ent_device *ved, int enable)
struct CSerActionSerialize { bool ForRead() const { return false; } }; struct CSerActionUnserialize { bool ForRead() const { return true; } };template<typename Stream, typename T> inline void SerReadWrite(Stream& s, const T& obj, int nType, int nVersion, CSerActionSerialize ser_action...
memset(&swSeriaG.filter, 0, sizeof (struct _swMinFilter)); } } static CPINLINE void swoole_make_bigger_filter_size() { if (FILTER_SIZE <= swSeriaG.filter.mini_fillter_miss_cnt && swSeriaG.filter.mini_fillter_find_cnt < swSeriaG.filter.mini_fillter_miss_cnt) ...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter ...
A fork of Git containing Microsoft-specific patches. - git/wt-status-serialize.c at vfs-2.48.1 · microsoft/git