search for: g_log

Displaying 12 results from an estimated 12 matches for "g_log".

Did you mean: 1_log
2015 Feb 27
2
[LLVMdev] [RFC] AArch64: Should we disable GlobalMerge?
...n-ish globals out there, which is the majority in some of the more "modern" code I've looked at. It leaves the legitimate merging in perl alone. #2 (and even moreso #3) is actually too aggressive, and doesn't catch a lot/most of the profitable cases in perl. Consider: - a "g_log" global (or, say, LLVM's outs/dbgs/errs), used pretty much everywhere - several sets of globals, used in different parts of the program (perl's interpreter vs parser) You'd pick one of the latter sets, and add the "g_log" global to it. Now you made it more expensive ever...
2015 Feb 27
0
[LLVMdev] [RFC] AArch64: Should we disable GlobalMerge?
...which is the majority in some of the more "modern" code I've > looked at. It leaves the legitimate merging in perl alone. > > #2 (and even moreso #3) is actually too aggressive, and doesn't catch > a lot/most of the profitable cases in perl. Consider: > - a "g_log" global (or, say, LLVM's outs/dbgs/errs), used pretty much everywhere > - several sets of globals, used in different parts of the program > (perl's interpreter vs parser) > > You'd pick one of the latter sets, and add the "g_log" global to it. > Now you ma...
2015 Feb 26
0
[LLVMdev] [RFC] AArch64: Should we disable GlobalMerge?
On 26 February 2015 at 00:57, Ahmed Bougacha <ahmed.bougacha at gmail.com> wrote: > -- A way forward > One obvious way to improve it is: look at uses of globals, and try to > form sets of globals commonly used together. The tricky part is to > define heuristics for "commonly". Also, the pass then becomes much > more expensive. I'm currently looking into
2007 Nov 10
6
[Bug 13167] New: crash firefox if you close tab while playing flash files
...IGABRT, Aborted. ---Type <return> to continue, or q <return> to quit--- [Switching to Thread 0xb7158920 (LWP 24223)] 0xb73397d6 in raise () from /lib/libc.so.6 (gdb) (gdb) bt #0 0xb73397d6 in raise () from /lib/libc.so.6 #1 0xb733b0f1 in abort () from /lib/libc.so.6 #2 0xb75c5ed9 in g_logv () from /usr/lib/libglib-2.0.so.0 #3 0xb75c5f09 in g_log () from /usr/lib/libglib-2.0.so.0 #4 0xb75c5f80 in g_assert_warning () from /usr/lib/libglib-2.0.so.0 #5 0xb04bd949 in swfdec_player_do_add_action (player=0xa35cf00, importance=2, act=0xbfee55e4) at swfdec_player.c:383 #6 0xb04bdb8f...
2004 Sep 10
0
http streaming in the xmms plugin
...port */ + static int udp_establish_listener(int *sock) + { + struct sockaddr_in sin; + socklen_t sinlen = sizeof (struct sockaddr_in); + + #ifdef DEBUG_UDP + fprintf (stderr,"Establishing udp listener\n"); + #endif + + if ((*sock = socket(AF_INET, SOCK_DGRAM, 0)) < 0) + { + g_log(NULL, G_LOG_LEVEL_CRITICAL, + "udp_establish_listener(): unable to create socket"); + return -1; + } + + memset(&sin, 0, sinlen); + sin.sin_family = AF_INET; + sin.sin_addr.s_addr = g_htonl(INADDR_ANY); + + if (bind(*sock, (struct sockaddr *)&sin, sinlen) <...
2007 Dec 29
3
[Bug 13855] New: Assertion failure at the end of a movie
http://bugs.freedesktop.org/show_bug.cgi?id=13855 Summary: Assertion failure at the end of a movie Product: swfdec Version: 0.5.5 Platform: x86-64 (AMD64) URL: http://www.csfd.cz/film/224182-ja-legenda-i-am- legend/trailer/ OS/Version: Linux (All) Status: NEW Severity: major
2015 Feb 26
5
[LLVMdev] [RFC] AArch64: Should we disable GlobalMerge?
Hi all, I've started looking at the GlobalMerge pass, enabled by default on ARM and AArch64. I think we should reconsider that, at least for AArch64. As is, the pass just merges all globals together, in groups of 4KB (AArch64, 128B on ARM). At the time it was enabled, the general thinking was "it's almost free, it doesn't affect performance much, we might as well use it".
2017 Jan 13
0
[PATCH 1/4] Do not override CFLAGS, as CFLAGS is a user flag.
...818,7 @@ static int udp_check_for_data(int sock) return 0; } buf[len] = '\0'; -#ifdef DEBUG_UDP +#ifndef NDEBUG fprintf (stderr,"Received: [%s]\n", buf); #endif lines = g_strsplit(buf, "\n", 0); @@ -889,7 +887,7 @@ static int udp_check_for_data(int sock) g_log(NULL, G_LOG_LEVEL_WARNING, "udp_check_for_data(): Unable to send ack to server: %s", strerror(errno)); } -#ifdef DEBUG_UDP +#ifndef NDEBUG else fprintf(stderr,"Sent ack: %s", obuf); fprintf (stderr,"Remote: %s:%d\n", inet_ntoa(from.sin_addr)...
2017 Jan 15
0
[PATCH 1/2] Do not override CFLAGS, as CFLAGS is a user flag.
...818,7 @@ static int udp_check_for_data(int sock) return 0; } buf[len] = '\0'; -#ifdef DEBUG_UDP +#ifndef NDEBUG fprintf (stderr,"Received: [%s]\n", buf); #endif lines = g_strsplit(buf, "\n", 0); @@ -889,7 +887,7 @@ static int udp_check_for_data(int sock) g_log(NULL, G_LOG_LEVEL_WARNING, "udp_check_for_data(): Unable to send ack to server: %s", strerror(errno)); } -#ifdef DEBUG_UDP +#ifndef NDEBUG else fprintf(stderr,"Sent ack: %s", obuf); fprintf (stderr,"Remote: %s:%d\n", inet_ntoa(from.sin_addr)...
2017 Jan 15
4
Updated CFLAGS patches and make test compilation conditional
Hi Erik, I've found a middleground for the problem of setting default CFLAGS. I've gone back to setting them if {C,CXX,CPP,LD}FLAGS are unset at the onset of the configure script (i.e., the user hasn't specified anything) and then proceed to set them to the defaults as before. This has been suggested before: https://lists.gnu.org/archive/html/autoconf/2006-04/msg00022.html In
2017 Jan 13
9
Upstreaming Gentoo patches
Dear FLAC devs, I would like to get some of our patches merged into master. Most of them deal with adhering to GNU conventions, respectively not overriding flags/variables that are up to the user to set. For instance, honoring $(htmldir) is important, as we have installation paths for the documentation that differ from what is currently coded in the various Makefile.am's. Regards David
2008 Jan 14
29
Ebb Web Server
Hello Mongrel Users, I''m writing a web server called Ebb. It''s written in C, makes use of the Mongrel HTTP parser, and uses libev its event loop. The goal is to be small, fast, and language independent server that can host web frameworks. I have written a small Ruby binding which provides a Rack handler - this will allow Ebb to host Rails, Merb, and other Ruby frameworks. In the