search for: getuserid

Displaying 3 results from an estimated 3 matches for "getuserid".

2014 Jul 09
2
[LLVMdev] Continuing PR5680: preserve order of use lists in bitcode
> On 2014-Jul-08, at 16:48, Chandler Carruth <chandlerc at google.com> wrote: > > >> On Tue, Jul 8, 2014 at 4:29 PM, Duncan P. N. Exon Smith <duncan at exonsmith.com> wrote: >> I'm looking to tackle PR5680 [1]. The primary goal is to prevent >> behaviour changes in passes that depend on the order of use lists when >> serializing/deserializing the
2014 Jul 24
2
[LLVMdev] Continuing PR5680: preserve order of use lists in bitcode
...type (such as `store` and terminators) > aren't given value IDs at all. However, we need an ordering for all > users. > > Fortunately, when processing each function, all instructions are given > an instruction ID. We could modify `compareUsers()` above to take a > function `getUserID()` written something like this: > > auto getUserID = [&InstIDs, &IDs](User *U) { > if (unsigned ID = InstIDs.lookup(U)) > return IDs.size() + ID; > return IDs.lookup(U); > }; > auto compareUsers = [&getUserID](User *LHS, User...
2007 Jul 19
0
ASP.NET AJAX Web Services and Prototype Version 1.5.1.1
...d use a proxy class. ASP.NET AJAX expects to be sent JSON and the return JSON, but not in the exact same manner that Prototype seems to expects it. I made some minor adjustments to Prototype to get it to work. Here is some sample code that calls the service: new Ajax.Request(''User.asmx/GetUserId'', { method:''post'', contentType: ''application/json'', postBody : {lsUserName : $(''uoManagerUsername'').value, lsCatalogName : $(''uoMainCatalog'').value}, onSuccess: function(transport, json){ var lnId = eval(json);...