glib
using tcmalloc with glib
I want to test the performance improvement 开发者_高级运维that I could get by using Google\'s tcmalloc. My program is built using quite a lot of the utilities provided by glib (hashes, lists, arrays,[详细]
2023-01-25 18:35 分类:问答String conversion from UTF-8 to UTF-16 Big endian is failing (using C, C++ language)
I am using g_convert() glib function to convert utf-8 string to utf-16 big endian string. The conversion is failing.We are getting an error saying \"conversion is not supported\"[详细]
2023-01-24 20:51 分类:问答possible to retrieve time left on a glib 'event?'
I am creating an event with g_timeout_add or g_timeout_add_seconds w开发者_C百科hich returns an event id; I can cancel the event by calling g_source_remove.[详细]
2023-01-22 12:13 分类:问答GLib - main event loop in C++
I need to implement my own main event loop in C++ which will be based on GLib library. I don\'t know where to begin. I studied s开发者_如何学Come materials about GLib, but it doesn\'t help me to know,[详细]
2023-01-17 01:37 分类:问答How to put a GSList inside a GHashTable?
I would like to put a GSList inside a GHashTable, here is how I managed all of this: #include <glib.h>[详细]
2023-01-14 16:24 分类:问答Why does GLib abort under recursed logs?
Most开发者_运维知识库 of time my GLib program runs well. However, when logs like ** (process:pid): Message (recursed): blah lah blah[详细]
2023-01-13 19:19 分类:问答D-Bus GLib bindings—unable to get code off the ground
I\'ve been playing with GLib\'s D-Bus bindings, trying to get something (anything) working, with very limited success. I\'ve been trying to get Ross Burton\'s example code to compile and run, but keep[详细]
2023-01-12 12:42 分类:问答C - Glib GINT_TO_POINTER portability
I\'m dealing with large numbers coming fr开发者_开发知识库om the hash table. I\'m wondering what would be a good way of adding them to a constant (100) taking into account portability. Glib\'s documen[详细]
2023-01-11 16:48 分类:问答c realloc struct - g_hash_table
I\'m doing something similar to the following code. I have already gone through AddtoStructFunction() filling mystruct once. Now, what I would like to do is to append every new entry directly to the m[详细]
2023-01-07 23:43 分类:问答Can I use glib to make some portable http GET request and how?
Was just wondering 开发者_运维知识库if any of you already coded a http get request using glib?[详细]
2023-01-07 18:30 分类:问答