Displaying 20 results from an estimated 45862 matches for "int".
2007 Jun 25
0
[1066] trunk/wxruby2/swig: Move EVT constants in swig/classes/Event.i; add a few missing ones
...shwin.h>
-#include <wx/taskbar.h>
-#include <wx/tabctrl.h>
-#include <wx/wizard.h>
-#include <wx/splitter.h>
-#include <wx/grid.h>
-#include <wx/laywin.h>
-#include <wx/process.h>
-#include <wx/tglbtn.h>
-#include <wx/aui/aui.h>
-
-#ifdef WXSCINTILLA
-# include <wx/wxscintilla.h>
-#endif
-
-%}
-
-
-%constant const int wxEVT_NULL;// 0)
-%constant const int wxEVT_COMMAND_BUTTON_CLICKED;// 1)
-%constant const int wxEVT_COMMAND_CHECKBOX_CLICKED;// 2)
-%constant const int wxEVT_COMMAND_CHOICE_SELECTED;// 3)
-%constant const int wxEVT_CO...
2018 Mar 28
2
arm tailcall with many parameters?
typedef struct vtable_t {
int (*pf4)(int a, int b, int c, int d);
int (*pf5)(int a, int b, int c, int d, int e);
} vtable_t;
int f1(int (*pf4)(int a, int b, int c, int d))
{
return pf4(1, 2, 3, 4);
}
int f2(vtable_t *vt)
{
return vt->pf4(1, 2, 3, 4);
}
gcc and clang will not tailcall these on arm with -O3.
int f3(...
2013 Nov 12
0
[klibc:master] syscalls: Fixup some of the -at syscall declarations
...o.org>
AuthorDate: Mon, 11 Nov 2013 17:04:10 +0000
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Mon, 11 Nov 2013 19:30:11 -0800
[klibc] syscalls: Fixup some of the -at syscall declarations
mknodat and mkdirat contain a spurious repeated parameter, linkat
is missing the final int flags parameter, symlinkat has the first
two parameters transposed, and fchmodat is missing the flags
parameter and is declared in the wrong header.
Also declarations are missing for utimensat and fchownat.
This patch fixes up these syscall declarations.
Originally-by: Neil Williams <codehelp...
2018 Mar 28
0
arm tailcall with many parameters?
Sorry that also suffered from signature mismatch.
So how about more like:
typedef struct vtable_t {
int (*pf4)(int a, int b, int c, int d);
int (*pf5)(int a, int b, int c, int d, int e);
} vtable_t;
int f3(int (*pf5)(int a, int b, int c, int d, int e), int a, int b, int c, int d)
{
return pf5(a, b, c, d, d + d);
}
int f4(vtable_t *vt, int a, int b, int c, int d)
{
return vt->pf5(a, b, c, d, d...
2007 May 31
0
[1037] trunk/wxruby2/swig/RubyEventTypes.i: RubyEventTypes is no longer needed - moved to Events.i
...ule(directors="1") wxRubyEventTypes
-
-%include "common.i"
-
-%{
-//NO_CLASS - This tells fixmodule not to expect a class
-#include <wx/calctrl.h>
-#include <wx/fdrepdlg.h>
-#include <wx/power.h>
-#include <wx/aui/aui.h>
-%}
-
-
-
-
-
- %constant const int wxEVT_NULL;// 0)
- %constant const int wxEVT_COMMAND_BUTTON_CLICKED;// 1)
- %constant const int wxEVT_COMMAND_CHECKBOX_CLICKED;// 2)
- %constant const int wxEVT_COMMAND_CHOICE_SELECTED;// 3)
- %constant const int wxEVT_COMMAND_LISTBOX_SELECTED;// 4)
- %constant const int wxEVT_COMMAN...
2010 Sep 16
2
problem reading Matlab file into R
Hi,
I'm trying to read a .mat file into R (2.11.1) with medium success so far. The file I have is a MATLAB 5.0 MAT-file exported from RiverSurveyor LIVE software (http://www.sontek.com/software.php). I have R.matlab and Rcompression installed and readMat() starts reading the file, as can be seen in verbose mode (hence medium success), b...
2014 Aug 20
1
[RFC PATCH 11/11] x86/MSI: Refactor x86 MSI code
...lude/asm/pci.h | 6 ++--
> arch/x86/include/asm/x86_init.h | 10 +++---
> arch/x86/kernel/apic/io_apic.c | 23 +++++++--------
> arch/x86/kernel/x86_init.c | 12 ++++----
> drivers/iommu/amd_iommu.c | 16 ++++++----
> drivers/iommu/intel_irq_remapping.c | 9 ++++--
> drivers/iommu/irq_remapping.c | 51 ++++++++++++++++-----------------
> drivers/iommu/irq_remapping.h | 6 ++--
> drivers/msi/msi.c | 3 +-
> 11 files changed, 72 insertions(+), 70 deletions(-)
>
> diff...
2014 Aug 20
1
[RFC PATCH 11/11] x86/MSI: Refactor x86 MSI code
...lude/asm/pci.h | 6 ++--
> arch/x86/include/asm/x86_init.h | 10 +++---
> arch/x86/kernel/apic/io_apic.c | 23 +++++++--------
> arch/x86/kernel/x86_init.c | 12 ++++----
> drivers/iommu/amd_iommu.c | 16 ++++++----
> drivers/iommu/intel_irq_remapping.c | 9 ++++--
> drivers/iommu/irq_remapping.c | 51 ++++++++++++++++-----------------
> drivers/iommu/irq_remapping.h | 6 ++--
> drivers/msi/msi.c | 3 +-
> 11 files changed, 72 insertions(+), 70 deletions(-)
>
> diff...
2007 May 31
0
[1036] trunk/wxruby2: Merge RubyEventTypes into Events.i, add missing EVT_ constants for
...in:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[1036] trunk/wxruby2: Merge RubyEventTypes into Events.i, add missing EVT_ constants for</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>1036</dd>
<dt>Author</dt> <dd>brokentoy</dd>
<dt>Date</dt> <dd>2007-05-31 14:35:32 -0...
2005 May 19
4
[LLVMdev] [Cygwin] llvm-ranlib and 'make check' errors
..._LIBRARY=`cd .. ; cd /usr/cfrontend/src/gcc/../tcl/library ; ${PWDCMD-pwd}
` ; \
export TCL_LIBRARY ; fi ; \
runtest --tool g++ )
runtest: not found
make[1]: [check-g++] Error 127 (ignored)
make[1]: Leaving directory `/usr/build/llvm-gcc/gcc'
make[1]: Entering directory `/usr/build/llvm-gcc/intl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/build/llvm-gcc/intl'
make[1]: Entering directory `/usr/build/llvm-gcc/libiberty'
make[2]: Entering directory `/usr/build/llvm-gcc/libiberty/testsuite'
./test-demangle < /usr/cfrontend/src/libiberty/te...
2018 May 30
0
[SROA][DebugInfo][GSoC] Testing SROA on amalgamated sqlite source
...sect-limit option on clang, so
it's not strictly the case that the results presented show that the loss in
"debugability" occurs during the SROA pass itself directly but rather that
the effect of running SROA is some loss in debugability to the final
program. I didn't make that point clear enough during my lightning talk
session!
Looking at some of the results in more detail, I think the reason that the
reason our results differ is because what I'm measuring is not actually
variable info loss directly, but as a consequence of the impact on
stepping. My standard disclaimer...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
...klibc/unlink.c | 12 ++++++++++++
usr/klibc/utimes.c | 20 ++++++++++++++++++++
22 files changed, 323 insertions(+), 21 deletions(-)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index 2bef9ca..40d43c7 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -58,6 +58,9 @@ klib-y += vsnprintf.o snprintf.o vsprintf.o sprintf.o \
inet/inet_ntoa.o inet/inet_aton.o inet/inet_addr.o \
inet/inet_ntop.o inet/inet_pton.o inet/bindresvport.o \
send.o recv.o \
+ access.o chmod.o chown.o dup2.o mknod.o poll.o rename.o stat.o \
+ lchown.o link.o rmdir.o unlink.o utimes.o lstat.o mk...
2014 Jul 26
0
[RFC PATCH 11/11] x86/MSI: Refactor x86 MSI code
...h | 4 +-
arch/x86/include/asm/pci.h | 6 ++--
arch/x86/include/asm/x86_init.h | 10 +++---
arch/x86/kernel/apic/io_apic.c | 23 +++++++--------
arch/x86/kernel/x86_init.c | 12 ++++----
drivers/iommu/amd_iommu.c | 16 ++++++----
drivers/iommu/intel_irq_remapping.c | 9 ++++--
drivers/iommu/irq_remapping.c | 51 ++++++++++++++++-----------------
drivers/iommu/irq_remapping.h | 6 ++--
drivers/msi/msi.c | 3 +-
11 files changed, 72 insertions(+), 70 deletions(-)
diff --git a/arch/x86/include/asm/i...
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...00644 usr/klibc/stat.c
create mode 100644 usr/klibc/symlink.c
create mode 100644 usr/klibc/unlink.c
create mode 100644 usr/klibc/utimes.c
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index 2bef9ca..7e185e2 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -58,6 +58,9 @@ klib-y += vsnprintf.o snprintf.o vsprintf.o sprintf.o \
inet/inet_ntoa.o inet/inet_aton.o inet/inet_addr.o \
inet/inet_ntop.o inet/inet_pton.o inet/bindresvport.o \
send.o recv.o \
+ access.o chmod.o chown.o dup2.o mknod.o poll.o rename.o stat.o \
+ lchown.o link.o rmdir.o unlink.o utimes.o lstat.o mk...
2005 Aug 20
0
[PATCH] remove some FZIGZAG
.../disc4/theora/unix/gripen.ogg > /dev/null
Ogg logical stream 310b2968 is Theora 720x480 29.97 fps video
Encoded frame content is 720x480 with 0x0 offset
12460 frames
This patch is as I had it working. I just want to submit it before I will forgot about it :)
Derf please consider applaying this into SVN in some form.
Thanks,
Regards
Rudolf
-------------- next part --------------
diff -Naur ../mergeSTATE/test/lib/decode.c test/lib/decode.c
--- ../mergeSTATE/test/lib/decode.c 2005-08-17 09:58:23.000000000 +0200
+++ test/lib/decode.c 2005-08-20 11:19:04.052143250 +0200
@@ -1083,53 +1083,53 @@...
2005 May 19
0
[LLVMdev] [Cygwin] llvm-ranlib and 'make check' errors
.... ; cd /usr/cfrontend/src/gcc/../tcl/library ; ${PWDCMD-pwd}
` ; \
export TCL_LIBRARY ; fi ; \
runtest --tool g++ )
runtest: not found
make[1]: [check-g++] Error 127 (ignored)
make[1]: Leaving directory `/usr/build/llvm-gcc/gcc'
make[1]: Entering directory `/usr/build/llvm-gcc/intl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/build/llvm-gcc/intl'
make[1]: Entering directory `/usr/build/llvm-gcc/libiberty'
make[2]: Entering directory `/usr/build/llvm-gcc/libiberty/testsuite'
./test-demangle < /usr/cfrontend/src/li...
2018 Jul 25
2
are the LLD libraries thread safe?
E.g. Is it intended to be allowed to call lld::elf::link in 2 different
threads at the same time?
Follows is an example Valgrind error I ran into when doing the above.
I'll try putting a global resource lock on invoking LLD and see if it
solves the problem.
==5467== Invalid write of size 8
==5467== at 0...
2008 Mar 29
0
GCC/ELF Visibility patch
...@@ -72,7 +72,28 @@
)
AC_MSG_RESULT($has_alloca)
+SAVE_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS -fvisibility=hidden"
+AC_MSG_CHECKING(for ELF visibility)
+AC_COMPILE_IFELSE([
+AC_LANG_PROGRAM([[
+#pragma GCC visibility push(hidden)
+__attribute__((visibility("default")))
+int var=10;
+]])],
+[
+has_visibility=yes
+AC_DEFINE([EXPORT], [__attribute__((visibility("default")))], [Symbol visibility prefix])
+],
+[
+has_visibility=no
+AC_DEFINE([EXPORT], [], [Symbol visibility prefix])
+CFLAGS="$SAVE_CFLAGS"
+]
+)
+AC_MSG_RESULT($has_visibility)
+
AC_CH...
2006 May 14
2
[LLVMdev] __main() function and AliasSet
...n.
Some behaviors of the pass puzzled me.
Below is the *.ll of the test program which I run the pass on,
it was get with "llvm-gcc -Wl,--disable-opt" from a rather simple *.c program.
----------------------------------
; ModuleID = 'ptralias.bc'
target endian = little
target pointersize = 32
target triple = "i686-pc-linux-gnu"
deplibs = [ "c", "crtend" ]
%.str_1 = internal constant [25 x sbyte] c"ptra=0x ptrb=0x ptrc=0x\0A\00" ; <[25 x sbyte]*> [#uses=1]
%ptr = weak global void ()* null ; <void ()**> [#uses=0]
implementa...
2014 Jan 16
2
samba 4.1.4 bind9 putrr: unhandled record type 0
Hai,
?
In seeing these messages in my logs,?
named: samba b9_putrr: unhandled record type 0??
?
Everything looks and works ok, but i can find what the above message means and/or if its harmfull.
?
?
Greetz.
?
Louis