Displaying 20 results from an estimated 700 matches similar to: "validation - writeback in forms"
2013 Oct 02
2
doveadm can't import his own mdboxes
We're running Dovecot 2.1.17 on Debian:
# 2.1.17 (9efbc0731929): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-042stab078.27.debug i686 Debian 7.1 simfs
and we're having this namespace configuration:
mail_location = mdbox:/var/mail/%Ld/%Ln/mdbox
namespace inbox {
disabled = no
hidden = no
ignore_on_failure = no
inbox = yes
list = yes
location =
prefix =
separator = .
2012 Aug 07
0
[LLVMdev] ARM eabi calling convention
On Aug 6, 2012, at 3:21 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:
> When I compile this program
>
> $ cat vararg1-main.c
>
> typedef struct {
> double d;
> } S0;
>
> S0 g1;
>
> void foo0(int a, ...);
>
> int main(int argc, char **argv) {
> S0 s0 = { 2.0 };
>
> foo0(1, s0);
>
> printf("%f\n", g1.d);
>
2012 Aug 06
2
[LLVMdev] ARM eabi calling convention
When I compile this program
*$ cat vararg1-main.c
typedef struct {
double d;
} S0;
S0 g1;
void foo0(int a, ...);
int main(int argc, char **argv) {
S0 s0 = { 2.0 };
foo0(1, s0);
printf("%f\n", g1.d);
* * return 0;
}*
with this command,
*$ clang -target arm-none-linux-gnueabi-gcc -ccc-clang-archs armv7
-emit-llvm vararg1-main.c -S -o vararg1-main.ll -O3*
I get this
2012 Aug 07
0
[LLVMdev] ARM eabi calling convention
See ARMCallingConv.td:113. The alignment of the arg is checked and if
it's 8-byte aligned, the proper registers are chosen.
deep
On Tue, Aug 7, 2012 at 1:20 AM, Akira Hatanaka <ahatanak at gmail.com> wrote:
> Yes, I see the load is 8-byte aligned in the bit code.
>
> My question was, assuming that arguments requiring double word alignment
> have to be passed in even/odd
2012 Oct 17
1
Do *not* pass '...' to NextMethod() - it'll do it for you; missing documentation, a bug or just me?
Hi,
although I've done S3 dispatching for more than a decade now, I think
I managed to overlook/avoid the following pitfall when using
NextMethod():
If you explicitly pass argument '...' to NextMethod(), you will
effectively pass those argument twice to the "next" method!
EXAMPLE:
foo0 <- function(...) UseMethod("foo0");
foo1 <- function(...)
2012 Aug 07
2
[LLVMdev] ARM eabi calling convention
Yes, I see the load is 8-byte aligned in the bit code.
My question was, assuming that arguments requiring double word alignment
have to be passed in even/odd registers, how does the backend know that %0
has to be passed in register r2 and r3?
*tail call arm_aapcscc void (i32, ...)* @foo0(i32 1, [2 x i32] %0)
nounwindt
*
It doesn't seem that ARM backend can figure out that "[2 x i32]
2012 Aug 07
2
[LLVMdev] ARM eabi calling convention
On Aug 6, 2012, at 6:58 PM, Sandeep Patel <deeppatel1987 at gmail.com> wrote:
> See ARMCallingConv.td:113. The alignment of the arg is checked and if
> it's 8-byte aligned, the proper registers are chosen.
Are you sure? In this case, it looks like the frontend is translating the argument type to [2 x i32], so it's not going to have 8-byte alignment. This looks like a bug to
2012 Nov 06
1
LazyData: no / yes
Hi the list
I have package foo0 with a big dataset 'myData'.
In DESCRIPTION, if I use 'LazyData: no', then I get:
- when I open a R session : memory used=20 908
- when I attach 'library(foo0)' : memory used=24364
- then I load the set 'data(myData)' : memory used=39 668
If I use LazyData: yes', then I get
- when I open a R session : memory used=20 908
2007 Jan 19
7
Prototype.js: Is there an "in_array"-like function?
Hi
i was wondering if there is a quick way to search for a item within an
array. Here is my approach for this functionality. It''s an prototype
for an Array method called "has":
Array.prototype.has = function(needle) {
for (var i=0;i<this.length;i++) {
if(this[i] == needle){ return true; }
}
return false;
}
var someArray = [''jim'',
2001 Aug 10
3
specuak chars
Hi,
can anyone tell how to enter special characters like vowels with accents or
the spanish "?"?
For Linux apps I can enter them by typing a special key sequence, e.g.:
? : [CTRL] [?] [a]
When windows booted directly this also works. Alternatively it is possible
to enter the ASCII-number by pressing [Alt].
Well, when I start a windows application with wine none ot the
2012 Nov 06
1
Depends/Imports/Suggest/Enhence
Hi the list
In the DESCRIPTION file of my package foo0, I have:
Depends: foo1
Imports: foo2
Suggest: foo3
Enhence: foo4
If I understand correctly, to install foo0 on my computer, I need to already have foo1, foo2, foo3.
foo4 is not necessary.
I my R sesssion, when I will write: library(foo0), then the package foo1 will be attach. foo2, foo3
and foo4 will not. Is that correct?
But what is
2012 Nov 07
2
Correct use of Depends, Imports and ::
Dear R developers,
Taking advantage of the yesterday discussion about the use of
Depends/Import/Suggests/Enhances, I would like to add a related question.
Let's assume, in the DESCRIPTION file of my package foo0, I have:
Depends: foo1
Imports: foo2
while in the NAMESPACE file of my package I have
importFrom("foo2", f2)
and within my package I use the following two external
2014 Dec 19
2
[LLVMdev] questions about ARM EABI attributes
ARM backend emits different eabi build attributes based on the ISA variant
the target supports or whether certain fast-math options are passed on the
command line. For example, these are the attributes that have different
values depending on whether -ffast-math is passed to clang:
$ clang -target armv7-linux-gnueabi -ffast-math (with -ffast-math)
.eabi_attribute 20, 2 @ Tag_ABI_FP_denormal
2012 Jan 06
2
Zipcode validation
Hi All,
How to validate Zip/Postal code enterd is valid based on country
selected? Is there any plugin for checking zipcode format for different
countries..
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2008 Jul 20
1
selected attribute in options_for_select
Hello Everyone
I have a select_tag which I populate using a map, I use
options_for_select method to pass the map and "selected" value. For some
reason I can not get the option "selected" based on the value I pass to
the selected attribute. Here is the code
<%= select_tag :current_course,
options_for_select( Course.find(:all).map {|p| [p.title,p.id]},
@selected )
2004 Jun 14
5
mkChar can be interrupted
Hi,
As was discussed earlier in another thread and as documented in R-exts
.Call() should not be interruptible by Ctrl-C. However the following
code, which spends most of its time inside mkChar, turned out to be
interruptible on RH-7.3 R-1.8.1 gcc-2.96:
#include <Rinternals.h>
#include <R.h>
SEXP foo0(const SEXP nSexp) {
int i, n;
SEXP resSexp;
if (!isInteger(nSexp))
2007 Jan 26
1
CGIwithR and visible output of 'invisible(capture.output(library(...)))'
Dear alltogether,
I want to use CGIwithR in conjunction with R2HTML.
A small example called 'test.R':
#####
#! /usr/bin/R
invisible(capture.output(library(R2HTML)))
HTML(summary(as.numeric(scanText(formData$numbers))), file=stdout())
#####
The script gets its input via 'CGIwithR.cgi' and contains the variable
"numbers."
The 'HTML' output (-> summary() in
2002 Oct 13
3
Can't make a shadow directory
Thanks Lawson. I am trying to run a program now, but it doesn't start. I
have got the next output after I did: wine --debugmsg +loaddll logic.exe:
trace:loaddll:MODULE_LoadLibraryExA Loaded module 'C:\Program Files\Logic
Audio Platinum 5.01\msacm32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\WINDOWS\SYSTEM\msacm.drv' : builtin
2007 Nov 03
1
a couple of swfdec patches.
Missed you on #swfdec, so I'll throw you this mail instead. Please be
critical to these patches as it's way to late for me to write code and I
haven't really double-checked they are correct as my brain went to sleep
hours ago, but they seem to work in my minimal testing. ;)
Ran into this use-after-free...
http://www.fatal.se/tmp/swf/swfdec-use-after-free.diff (attached).
While
2015 Jun 02
2
[LLVMdev] [lld] TBSS wrong size
Hi,
I am tracking some TLS issues with lld and found that it is
generating wrong tbss size for case where multiple modules
have non initialized threads variables. For instance:
-- t0.c --
__thread int x0;
__thread int x1;
__thread int x2;
extern __thread int e0;
extern __thread int e1;
extern __thread int e2;
extern __thread int e3;
int foo0 ()
{
return x0;
}
int main ()
{
return x0;
}