search for: to_integer

Displaying 6 results from an estimated 6 matches for "to_integer".

2012 May 11
0
Wine release 1.5.4
...mshtml: Added IHTMLWindow2::get_history implementation. oleaut32: Use a struct for internal BSTR representation to avoid pointer magic. oleaut32: Added warn+heap support for cached BSTRs. jscript: Properly test if double may be converted to int32. jscript: Better handling of to_integer result in Array.splice. jscript: Better handling of to_integer result in String.charAt. jscript: Better handling of to_integer result in String.charCodeAt. jscript: Bettter handling of to_number result in String.indexOf. jscript: Better handling of to_integer result in Strin...
2010 Mar 23
1
Asterisk crash - segmentation fault
My Asterisk 1.2.40 process crashes regularly in the is_zero_or_null function at: return (*vp->u.s == 0 || (to_integer (vp) && vp->u.i == 0)); My gdb trace is at: http://pastebin.com/raw.php?i=hmhzZxye Other examples here: http://lists.digium.com/pipermail/asterisk-users/2010-March/245927.html Can anyone please help?
2019 Jan 16
2
[RFC] Adding support for dynamic entries in yaml2obj
...2. A section name can be used in place of an address. In this case, the value of the dynamic entry is the sh_addr of the specified section. (ex. DT_STRTAB, DT_SYMTAB, DT_HASH, DT_RELA, and others) 3. A value can be specified using hexadecimal or decimal (or other bases supported by `StringRef::to_integer()`). (ex. DT_STRSZ, DT_SYMENT, DT_RELAENT, and others) Here's an example to illustrate this design: !ELF FileHeader: Class: ELFCLASS64 Data: ELFDATA2LSB Type: ET_DYN Machine: EM_X86_64 Sections: - Name: .dynsym Type: SHT_DYNSYM Add...
2009 Dec 04
0
Wine release 1.1.34
...: Directly return error status from HTTP_HandleRedirect. mshtml: Disable Gecko installation on unsupported CPU architectures. winetest: Remove no longer needed Gecko check. jscript: Correctly handle NaN and Infinity in to_int32 and to_uint32. jscript: Correctly handle NaN in to_integer. James Hawkins (2): msi: ExpandEnvironmentStringsW returns the required size in characters, so multiply the required size by sizeof(WCHAR) when allocating the buffer. msi: MsiSetMode returns a UINT system error code, not a BOOL. Jeremy White (16): mshtml: Declare prototype of wi...
2017 Aug 01
2
[RFC] Profile guided section layout
...f, StringRef>, uint64_t> Ret; + std::vector<StringRef> Lines = getLines(MB); + for (StringRef L : Lines) { + SmallVector<StringRef, 3> Fields; + L.split(Fields, ' '); + if (Fields.size() != 3) + fatal("parse error"); + uint64_t Count; + if (!to_integer(Fields[0], Count)) + fatal("parse error"); + StringRef From = Fields[1]; + StringRef To = Fields[2]; + Config->CFGProfile[std::make_pair(From, To)] = Count; + } +} + static bool getCompressDebugSections(opt::InputArgList &Args) { StringRef S = Args.getLastArgValu...
2017 Jul 31
2
[RFC] Profile guided section layout
A rebased version of the lld patch is attached. Cheers, Rafael On 31 July 2017 at 15:11, Rafael Avila de Espindola <rafael.espindola at gmail.com> wrote: > Tobias Edler von Koch <tobias at codeaurora.org> writes: > >> Hi Rafael, >> >> On 07/31/2017 04:20 PM, Rafael Avila de Espindola via llvm-dev wrote: >>> However, do we need to start with