search for: int32

Displaying 20 results from an estimated 432 matches for "int32".

Did you mean: int3
2011 Dec 29
2
[LLVMdev] DW_AT_location not getting generated for local variables
I figured out my previous problem with DIBuilder. However, now I can't seem to get the compiler to emit location information for local variables. Here's how my IR looks: --- define i32 @"\01_main"() { init: %exception1 = alloca i8* %0 = alloca i32 %"bar:Int32" = alloca i32 %1 = alloca i32 %2 = alloca i32* br label %code code: ; preds = %init call void @llvm.dbg.declare(metadata !{i32* %"bar:Int32"}, metadata !13) store i32 1, i32* %"bar:Int32", !dbg !16 store i32 1, i32* %...
2011 Feb 04
12
Run Nice Player .nmf app
Hi all, I'm needing/trying to save linux in my company. I have files in format .nmf (from a company called Nice) to listen. Don't have open or proprietary codecs for linux. I can only to the Nice Player. <Ubuntu Desktop> I've tried: 1- copy of folder installed in the windows for linux ubuntu desktop and run "wine nice.exe" and dont' run 2- run the package of
2012 Jan 02
0
[LLVMdev] DW_AT_location not getting generated for local variables
I found the problem. The llvm.dbg.declare call must have a !dbg tag, otherwise the location info is not generated. Changing the invocation in my original example to "call void @llvm.dbg.declare(metadata !{i32* %"bar:Int32"}, metadata !13), !dbg !16" causes MC to generate the local location as expected. -Joe On Thu, Dec 29, 2011 at 12:41 PM, Joe Groff <arcata at gmail.com> wrote: > I figured out my previous problem with DIBuilder. However, now I can't seem > to get the compiler to emit loc...
2006 Oct 09
1
[PATCH] dbus terminate action
...T_MEMBER_NAME "get" @@ -126,13 +127,34 @@ dbusGetOptionsFromPath (CompDisplay *d, * dbus-send --type=method_call --dest=org.freedesktop.compiz \ * /org/freedesktop/compiz/rotate/allscreens/rotate_to \ * org.freedesktop.compiz.activate \ - * string:'root' int32:0x52 string:'face' int32:1 + * string:'root' \ + * int32:`xwininfo -root | grep id: | awk '{ print $4 }'` \ + * string:'face' int32:1 + * + * + * You can also call the terminate function + * + * Example unfold and refold cube: + * dbus-send --type=method_call --dest...
2012 Apr 25
2
[LLVMdev] Crash in JIT
...Create(); LLVMModuleRef module; module = LLVMModuleCreateWithNameInContext("MyModule", llvm); //LLVMSetDataLayout(module, "i686-apple-darwin11"); <-- is needed? What is correct? LLVMSetTarget(module, "i686-apple-darwin11"); LLVMTypeRef int32 = LLVMInt32TypeInContext(llvm); LLVMTypeRef funcType; LLVMTypeRef threeInts[] = {int32, int32, int32}; funcType = LLVMFunctionType(int32, threeInts, 3, 0); LLVMValueRef func; func = LLVMAddFunction(module, "functionName", funcType); LLVMValueRef mParam =...
2020 May 19
5
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...hecksum.c @@ -99,6 +99,7 @@ int canonical_checksum(int csum_type) return csum_type >= CSUM_MD4 ? 1 : 0; } +#ifndef ENABLE_SSE2 // see checksum_sse2.cpp /* a simple 32 bit checksum that can be updated from either end (inspired by Mark Adler's Adler-32 checksum) @@ -119,6 +120,7 @@ uint32 get_checksum1(char *buf1, int32 len) } return (s1 & 0xffff) + (s2 << 16); } +#endif void get_checksum2(char *buf, int32 len, char *sum) { diff --git a/checksum_sse2.cpp b/checksum_sse2.cpp new file mode 100644 index 00000000..9a2ae86b --- /dev/null +++ b/checksum_sse2.cpp @@ -0,0...
2012 Apr 25
0
[LLVMdev] Crash in JIT
...ontextCreate(); LLVMModuleRef module; module = LLVMModuleCreateWithNameInContext("MyModule", llvm); //LLVMSetDataLayout(module, "i686-apple-darwin11"); <-- is needed? What is correct? LLVMSetTarget(module, "i686-apple-darwin11"); LLVMTypeRef int32 = LLVMInt32TypeInContext(llvm); LLVMTypeRef funcType; LLVMTypeRef threeInts[] = {int32, int32, int32}; funcType = LLVMFunctionType(int32, threeInts, 3, 0); LLVMValueRef func; func = LLVMAddFunction(module, "functionName", funcType); LLVMValueRef mParam = LLVMG...
2007 Jan 27
3
keybindings patch, gnome-keybinding-bridge and vignettes plugins
...gnettes/vignettes-0.0.1.tar.gz This plugin can create clone window and destroy them with dbus. You can create a mini clone window like this: dbus-send --type=method_call --dest=org.freedesktop.compiz \ /org/freedesktop/compiz/vignettes/allscreens/create \ org.freedesktop.compiz.activate :window int32:<window xid to clone> \ :x int32:<optional clone window x position> \ :y int32:<optional clone window y position> \ :width int32:<optional clone window width position> \ :height int32:<optional clone window height position> you can close the clone window like this : d...
2008 Apr 19
3
Trusted storage failed to initialize
...fo culture) at System.Environment.ResourceHelper.GetResourceStringCode(Object userDataIn) at System.Environment.GetResourceFromDefault(String key) at System.TypeInitializationException..ctor(String fullTypeName, Exception innerException) at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID) at System.Globalization.TextInfo.get_InvariantNativeTextInfo() at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType) at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isF...
2010 Oct 23
2
[LLVMdev] Cast failure in SelectionDAGBuilder
...arlier, and it was stated that the cause was due to calls to llvm.gcroot() not being in the first block. However, that's not the case this time - here's the function being processed (according to I.Parent.Parent->dump()): define internal %tart.core.Object* @"tart.core.Object.coerce[int32](int32)->tart.core.Object"(i32 %value) gc "tart-gc" { prologue: call void @llvm.dbg.declare(metadata !{i32 %value}, metadata !48487) %gc_root = alloca %"tart.core.ValueRef[char]"*, !dbg !48488 store %"tart.core.ValueRef[char]"* null, %"tart.core.Valu...
2016 Mar 28
2
llvm extract struct elements and struct size in C++
...tnamesize", "Get All Struct Names and Sizes", false /* Only looks at CFG */ , false /* Analysis Pass */); I want to create a database of all structures (global and local) defined and being used in my program. Eg. < A , <int32, int32> , B , <int32, bool , char *>>. I have gone through doxygen pages, LLVM tutorials and checked if we can get the struct values, but I am unable to find a way to extract the structures without already knowing the struct values - eg. creating an IRBuilder, inserting predefined IntT...
2008 Mar 18
1
Patch to make SPEEX_PREPROCESS_GET_AGC_GAIN use dB, and _SET_AGC_LEVEL use a int32
Hi, The attached patch fixes an incistency in my earlier patch. Whereas the rest of the AGC ctls are in dB, GET_AGC_GAIN was linear. This patch fixes that. It also changes the API for _GET and _SET_AGC_LEVEL to use a int32 instead of a float, meaning we don't need to do a API change when we get a fixed point AGC. Best regards, Thorvald -------------- next part -------------- --- speex/libspeex/preprocess.c 2008-02-21 15:41:54.000000000 +0100 +++ spx/libspeex/preprocess.c 2008-03-18 18:09:30.000000000 +0100 @@...
2008 Oct 14
1
System.MissingMethodException: Method not found: Int32
...installed ADAM interactive anatomy 4.0 on Ubuntu using wine 1.1.6 and winetricks to install dot net 1.1. ADAM is a dot net application. After installation and offline activation (online fails), the application starts, but gives the error: Code: System.MissingMethodException: Method not found: Int32 SkySoftware.FileViewControl.FileView.get_SelectedCount(). at a.a.c.a.a.h.b() at a.a.c.a.a.f.a() at a.a.c.a.a.i.b() at a.a.o.b.d() at a.a.o.b.ab(Object A_0, EventArgs A_1) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at Syste...
2008 Feb 12
0
Second part of data export patch
...r get_agc_gain/include/speex/speex_preprocess.h get_psd/include/speex/speex_preprocess.h --- get_agc_gain/include/speex/speex_preprocess.h 2008-02-12 17:13:04.000000000 +0100 +++ get_psd/include/speex/speex_preprocess.h 2008-02-12 17:15:10.000000000 +0100 @@ -186,6 +186,22 @@ /** Get current gain (int32 percent) */ #define SPEEX_PREPROCESS_GET_AGC_GAIN 35 +/* Can't set spectrum size */ +/** Get spectrum size for power spectrum (int32) */ +#define SPEEX_PREPROCESS_GET_PSD_SIZE 37 + +/* Can't set power spectrum */ +/** Get power spectrum (int32[] of squared values) */ +#define SPEEX_PRE...
2019 Apr 23
0
[PATCH nbdkit v2 1/2] ocaml: Change pread method to avoid leaking heap memory.
...sed explicitly and the pread method should return a string of the correct length. This is both more similar to how other language plugins work, and is safer because all allocation is done on the OCaml side. - pread : 'a -> bytes -> int64 -> flags -> unit + pread : 'a -> int32 -> int64 -> flags -> string Credit: Eric Blake for finding the bug. --- plugins/ocaml/ocaml.c | 16 ++++++++++++---- plugins/ocaml/NBDKit.ml | 4 ++-- plugins/ocaml/NBDKit.mli | 2 +- tests/test_ocaml_plugin.ml | 8 +++++--- 4 files changed, 20 insertions(+), 10 deletions(-)...
2020 Feb 06
0
[PATCH] Add support for zstd compression
...h" #include "itypes.h" #include <zlib.h> +#include <zstd.h> extern int do_compression; +extern int do_compression_zstd; extern int protocol_version; extern int module_id; extern int def_compress_level; @@ -624,6 +626,244 @@ static void see_deflate_token(char *buf, int32 len) #endif } +#ifdef HAVE_LIBZSTD + +static ZSTD_inBuffer zstd_in_buff; +static ZSTD_outBuffer zstd_out_buff; +static ZSTD_CCtx *zstd_cctx; + +static void send_zstd_token(int f, int32 token, struct map_struct *buf, + OFF_T offset, int32 nb) +{ + static int comp_init_done, flush_pending;...
2020 May 18
6
[PATCH] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...+99,7 @@ int canonical_checksum(int csum_type) return csum_type >= CSUM_MD4 ? 1 : 0; } +#ifndef __SSE2__ // see checksum_sse2.c for SSE2/SSSE3 version /* a simple 32 bit checksum that can be updated from either end (inspired by Mark Adler's Adler-32 checksum) @@ -119,6 +120,7 @@ uint32 get_checksum1(char *buf1, int32 len) } return (s1 & 0xffff) + (s2 << 16); } +#endif void get_checksum2(char *buf, int32 len, char *sum) { diff --git a/checksum_sse2.c b/checksum_sse2.c new file mode 100644 index 00000000..51662833 --- /dev/null +++ b/checksum_sse2.c @@ -0,0 +1,243...
2016 Mar 29
0
llvm extract struct elements and struct size in C++
On 28 March 2016 at 13:34, Shehbaz Jaffer via llvm-dev <llvm-dev at lists.llvm.org> wrote: > I want to create a database of all structures (global and local) > defined and being used in my program. Eg. < A , <int32, int32> , B , > <int32, bool , char *>>. I think the closest LLVM has is either Module::getIdentifiedStructTypes or the class it actually uses: "TypeFinder". Beware though, struct types may not have a name, and even if they do it won't necessarily correspond to the ori...
2008 Feb 02
0
Patch to make analysis data available.
...===================================================== --- include/speex/speex_preprocess.h (revision 14443) +++ include/speex/speex_preprocess.h (working copy) @@ -182,6 +182,26 @@ /** Get loudness */ #define SPEEX_PREPROCESS_GET_AGC_LOUDNESS 33 +/* Can't get gain */ +/** Get current gain (int32 percent) */ +#define SPEEX_PREPROCESS_GET_AGC_GAIN 35 + +/* Can't set spectrum size */ +/** Get spectrum size for power and noise spectrum (int32) */ +#define SPEEX_PREPROCESS_GET_SPECTRUM_SIZE 37 + +/* Can't set power spectrum */ +/** Get power spectrum (int32[] of squared values) */ +#d...
2008 Dec 07
2
Help with Keyword Corral
...pe not supported > fixme:advapi:CheckTokenMembership (0x130 0x14e158 0x32dfa8) stub! > > Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Globalization.TextInfo' threw an exception. > at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID) > at System.Globalization.TextInfo.get_InvariantNativeTextInfo() > at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType) > at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String u...