similar to: [RFC] Small Bitfield utilities

Displaying 20 results from an estimated 500 matches similar to: "[RFC] Small Bitfield utilities"

2020 Jun 23
2
[RFC] Small Bitfield utilities
Hi Guillaume, Thanks for the RFC. I'm generally +1 on the concept. Making bit field manipulation easier seems like a good overall goal given its prevalence in LLVM. As for the syntax, I tend to prefer that we don't pollute the namespace. Have you considered pushing the methods into the Bitfield class? Maybe something like: ``` uint8_t Storage = 0; using Amount =
2006 Feb 01
8
ruby equivalent of isset()
Hi, Is there a way to test if a certain (local) variable has been initialized? I''d like to do something like if isset(myvar) and myvar.true? #some code else #default behaviour end I have a lot of shared views that I call with params such as { show_pager => true Instead of having to explicitly say show_pager => false it should be possible to make false a default value, right?
2009 Jan 22
2
SquirrelMail Sending Under Wrong Username
CentOS team... as is already bug reported and marked solved... as we await the upstream repair for this. It was reported that this was happening on CentOS 5. You likely already know, but it also happens on CentOS 4. For those unaware. It seems that SquirrelMail has an issue which allows mail to be sent out from one user on the system and it uses the from address of another user on the
2006 Feb 21
6
Help with Script.aculo inPlaceEditor
Well, I start recently with Scriptacolus and inPlaceEditor. I have two doubts about use it. 1) When I specify URL for save changes or not it doesn''t work. See example below: <script type="text/javascript"> new Ajax.InPlaceEditor(''aNombre'', ''productos.php?a=actualizar&f=aNombre''); </script> In productos.php file I have
2019 Apr 04
5
Migration to samba4 ad and sync to openldap.
I managed to do migration using "classicupgrade". Doing tests with debian buster 2:4.9.4+dfsg-4. For the moment using samba internal dns and sub-domain of ad.advocap.org. Had issue forwarding dns if I used main domain. When it comes to real production will use bind that I understand better but don't want to mess with my other dns servers now. Had a w10 box join samba4 ad
2015 Aug 04
3
php-R
Estimados colegas: Estoy tratando de ejecutar varios scripts de R a través de php. Para ello estoy utilizando el siguiente código pero me sale: El URL solicitado no ha sido localizado en este servidor. El URL de la página que lo refirió[1] parece ser equivocado u obsoleto. Por favor comunique al autor de esa página[1] acerca del error. Este código que está sacado de internet indica la
2010 Dec 04
1
what is this averaging function called ?, has R a built in function for it ?
I know little of statistics and have created this function out of intuition. But since this algorithm is so basic I wonder what is the proper name of this function and is it build in R. here is some code in PHP to illustrate what the function is doing, it uses some function I created but the meaning is obvious: #get csv file and interchange rows with columns to get two arrays $csv =
2006 Apr 15
1
Begin with Autocompleter
Hi list: I''m a young developer that need a little help with scriptaculous "Autocompleter". I work with PRADO framework (http://www.xisc.com) and PHP as a script language. Now this is a little function in JavaScript for make a AJAX call and show the results without reload the entire page. See below: 1 function makeRequest(url,element) { 2 var http_request = false; 3 if
2008 Feb 13
8
comparing ajax.updater div in js
This is really bugging me no matter what I''m trying. In javascript, I''m using the ajax.updater, and it (obviously) writes back out to a div. I want to then compare what was echoed out into this div (which came from the php file I listed in ajax.updater) with a string. test should equal "SomeString" because that is what is being echoed out to
2004 Aug 06
2
XML statistics on remote server
what i did in this situation was dump the stats/status file to the local server through a lynx --dump call from php .. and then i also update a sql table to reflect the changes so i can poll that instead .. a. <p>On Thu, 26 Feb 2004, MacSym wrote: > > Hi everybody, > > I am wondering if it is possible to generate the XML/XSL files on a remote > server (status.xsl,
2011 Jun 15
0
[LLVMdev] nightly test suite failure: ms_struct-bitfield-init-1.c
On 6 May 2011 09:29, Jay Foad <jay.foad at gmail.com> wrote: > I've just tried to run the test-suite, for the first time in ages. It > stops rather abruptly with: > > $ make TEST=nightly report report.html > > /home/jay/llvm/local/bin/llvm-gcc > -I/home/jay/llvm/gitobjdir/projects/test-suite/SingleSource/UnitTests >
2012 Oct 02
2
Questions on converting to ConfBridge
I'm looking at what would be involved in converting from MeetMe to ConfBridge and there seems to be a lot of missing administrative things, but I hope I'm just missing it. We all know about the missing realtime linkage. That's a major nuisance, but can be worked around. More serious is that the CLI command to display users in a ConfBridge don't show the caller ID information, so
2019 Dec 27
2
RFC: Refactor SubclassData
Ehud, can you elaborate on which classes you're trying to change. I know some of the classes already use methods like getSubclassDataFromInstruction() to hide bits from the subclasses. They could probably shift the data too. ~Craig On Fri, Dec 27, 2019 at 9:35 AM Bruno Ricci via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi, > > On 26/12/2019 20:53, Ehud Katz via
2017 Mar 09
2
[RFC] bitfield access shrinking
On 03/09/2017 12:57 PM, Krzysztof Parzyszek wrote: > On 3/9/2017 12:47 PM, Hal Finkel wrote: >> >> On 03/09/2017 12:28 PM, Krzysztof Parzyszek via llvm-dev wrote: >>> We could add intrinsics to extract/insert a bitfield, which would >>> simplify a lot of that bitwise logic. >> >> But then you need to teach a bunch of places about how to simply them,
2011 May 06
0
[LLVMdev] nightly test suite failure: ms_struct-bitfield-init-1.c
On May 6, 2011, at 1:29 AM, Jay Foad wrote: > Hi, > > I've just tried to run the test-suite, for the first time in ages. It > stops rather abruptly with: > > $ make TEST=nightly report report.html This is a test that Fariborz has been working on with Clang. It is possible that llvm-gcc is expected to fail it, if this is so, the test can be put in an #ifdef __clang__.
2013 Nov 15
4
[LLVMdev] struct with signed bitfield (PR17827)
I've been diagnosing this bug: http://llvm.org/bugs/show_bug.cgi?id=17827 Summary: I think the following program miscompiles at -O1 because the fact that 'f0' is a signed 3-bit value is lost in the unoptimized LLVM IR. How do we fix this? $ cat bitfield.c /* %struct.S = type { i8, [3 x i8] } ??? */ struct S { int f0:3; } a; int foo (int p) { struct S c = a; c.f0 = p & 6;
2013 Nov 16
0
[LLVMdev] struct with signed bitfield (PR17827)
On Nov 15, 2013, at 3:42 PM, Kay Tiong Khoo <kkhoo at perfwizard.com> wrote: > I've been diagnosing this bug: > http://llvm.org/bugs/show_bug.cgi?id=17827 > > Summary: I think the following program miscompiles at -O1 because the fact that 'f0' is a signed 3-bit value is lost in the unoptimized LLVM IR. How do we fix this? I don’t have the C/C++ standards in front
2005 Jun 09
1
PHPAGI Swift Escape Digits
I am trying to use swift in PHP/AGI. function swift($text, $escape_digits='', $frequency=8000, $voice=NULL, $fnameIn='') During swift speaking some text I want the caller to be able to press 1, 2 or 3 to do thing 1, thing 2 or thing 3. How are these digit defines and then caught? Thanks, Michael
2009 Oct 25
1
Asterisk-stat! - help needed (once again due to mailserver problem)
Dear all, I'm trying to install Asterisk-stat (ASTERISK CDR ANALYSER) following: http://www.voip-info.org/wiki/index.php?page=Asterisk+CDR+Areski+GUI however it fails to run properly - lots of lines like: **Notice**: Undefined variable: s in */home/lukasz/DATA/www/asterisk-stat/cdr.php* on line *26* **Notice**: Undefined variable: t in */home/lukasz/DATA/www/asterisk-stat/cdr.php* on line
2011 May 06
8
[LLVMdev] nightly test suite failure: ms_struct-bitfield-init-1.c
Hi, I've just tried to run the test-suite, for the first time in ages. It stops rather abruptly with: $ make TEST=nightly report report.html /home/jay/llvm/local/bin/llvm-gcc -I/home/jay/llvm/gitobjdir/projects/test-suite/SingleSource/UnitTests -I/home/jay/svn/llvm-project/test-suite/trunk/SingleSource/UnitTests -I/home/jay/git/llvm/projects/test-suite/include -I../../include