Displaying 15 results from an estimated 15 matches for "args2".
Did you mean:
args
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello,
On Mac OS X, certain Aqua/Quartz UI functionality requires an
application to be launched from within an app bundle, or
(alternatively) requires a Carbon application with a resource fork.
Playing with the wxWidgets distribution, I discovered that it is quite
easy and transparent to make such a Carbon app from (I guess) any
command line application. When applied to the R executable called
2009 Apr 28
1
[macosx] improving quartz & Aqua Tk behaviour outside of RGui
Hello,
On Mac OS X, certain Aqua/Quartz UI functionality requires an
application to be launched from within an app bundle, or
(alternatively) requires a Carbon application with a resource fork.
Playing with the wxWidgets distribution, I discovered that it is quite
easy and transparent to make such a Carbon app from (I guess) any
command line application. When applied to the R executable called
2024 Feb 17
2
Capturing Function Arguments
......) {
call <- rlang::call_match(fn = f0, defaults = TRUE)
args <- rlang::call_args(call)
# do something here to evaluate args as if force() had been called
# I've tried many things but haven't found a solution that handled everything
args
}
# In the below example args1 and args2 should be the same
a <- 1
args1 <- f(a, z = 1 + 100)
args2 <- list( a = 1, y = 202, z = 101, a = NULL, b = rlang::missing_arg() )
If anyone knows how to get this to work, I would appreciate the help.
Thanks,
Reed
--
Reed A. Cartwright, PhD
Associate Professor of Genomics, Evolution, an...
2011 Aug 31
2
[LLVMdev] How to place call(s) to functions found in other llvm modules ???
...1.push_back(x);
args1.push_back(yMinusX);
Value* recur_1 = builder.CreateCall(gcd, args1.begin(), args1.end(),
"tmp");
builder.CreateRet(recur_1);
builder.SetInsertPoint(cond_false_2);
Value* xMinusY = builder.CreateSub(x, y, "tmp");
std::vector<Value*> args2;
args2.push_back(xMinusY);
args2.push_back(y);
Value* recur_2 = builder.CreateCall(gcd, args2.begin(), args2.end(),
"tmp");
builder.CreateRet(recur_2);
return mod;
}
----------------------------------------------------------------------
I am not sure why its happening o...
2010 Jul 19
4
[LLVMdev] Is va_arg deprecated?
...i8* %8, i8** %args, align 4
%9 = load i8** %args.2, align 4 ; <i8*> [#uses=1]
%10 = bitcast i8* %9 to double* ; <double*> [#uses=1]
%11 = load double* %10, align 4 ; <double> [#uses=1]
store double %11, double* %d, align 8
%args2 = bitcast i8** %args to i8* ; <i8*> [#uses=1]
call void @llvm.va_end(i8* %args2)
br label %return
return: ; preds = %entry
ret void
}
declare void @llvm.va_start(i8*) nounwind
declare void @llvm.va_end(i8*) nounwind
-------------...
2015 Aug 19
5
creating a callinst to an external function
...e* PtrToFuncTy = PointerType::get(FuncTy, 0);
Constant *fun = M->getOrInsertFunction("foo", Type::getVoidTy(C), PtrToFuncTy, Type::getLabelTy(C), nullptr);
Function *dofoo = cast<Function>(fun);
Instruction* dofooCall = CallInst::Create(fun, Args2, "", bb);
Note: Args2 is an arraylist containing 2 value pointers to a function and a basicblock, bb is the basicblock to insert the call in.
When I run the pass using op on a given IR, it produces a declaration and a call correctly like this:
declaration: declare void @foo(i3...
2010 Jul 19
0
[LLVMdev] Is va_arg deprecated?
...4
> %9 = load i8** %args.2, align 4 ; <i8*> [#uses=1]
> %10 = bitcast i8* %9 to double* ; <double*> [#uses=1]
> %11 = load double* %10, align 4 ; <double> [#uses=1]
> store double %11, double* %d, align 8
> %args2 = bitcast i8** %args to i8* ; <i8*> [#uses=1]
> call void @llvm.va_end(i8* %args2)
> br label %return
>
> return: ; preds = %entry
> ret void
> }
>
> declare void @llvm.va_start(i8*) nounwind
>
> declar...
2009 May 05
1
Backtrace error
...to
have thousands of emails reopened her mail and this showed up in the
log. Not sure if this is critical or if more info/dovecot -n is needed
dovecot: 2009-05-05 14:06:38 Panic: imap <REMOVED>: file
mail-search.c: line 712 (mail_search_args_equal): assertion failed:
(args1->simplified == args2->simplified)
dovecot: 2009-05-05 14:06:38 Error: imap <REMOVED>: Raw backtrace:
imap [0x4a3042] -> imap [0x4a30c3] -> imap [0x4a2796] -> imap
[0x467ffa] -> imap(mail_thread_init+0xaa) [0x463a5a] ->
imap(index_storage_search_init+0x132) [0x45e222] ->
/usr/local/lib/dovecot...
2007 Nov 05
1
Should numeric()/character() etc initialize with NA instead of 0 or ""?
...value of the vector elements
themselves
and programming errors would be far less easy to overlook.
e.g.
x <- numeric(n) or
for( i in seq(along = x) )
{
try(x[i] <- function.which.might.crash( args[i] ))
}
or
x <- numeric(n)
x[condition1] <- foo(args1)
x[condition2] <- foo(args2)
...
x[conditionN] <- foo(argsN)
will produce x without any NAs even if function.which.might.crash() actually
did crash during the loop or
if there are indices for which none of conditions 1 to N were true and you
cannot distinguish between zeroes which
are real results and zeroes that remained...
2014 Mar 28
1
Crash in pop3 with version 2.2.12
...7f9dd8ca488d in vfprintf () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f9dd8cc6732 in vsnprintf () from /lib/libc.so.6
No symbol table info available.
#2 0x00007f9dd904d0db in str_vprintfa (str=0x11aa4f8, fmt=0x409184 "%u %s", args=0x7ffffab4fff0) at str.c:155
args2 = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7ffffab500e0, reg_save_area = 0x7ffffab50010}}
init_size = 4231558
pos = 0
ret = <value optimized out>
ret2 = <value optimized out>
__FUNCTION__ = "str_vprintfa"
#3 0x00000000004...
2016 Jul 01
2
kqueue crash on FreeBSD with 2.2.25
Hi,
2.2.25 crashes on FreeBSD with a kqueue-related message. I see references to something similar (http://www.dovecot.org/list/dovecot/2012-February.txt) from a couple years ago.
I get:
Jul 1 10:07:27 imap dovecot: master: Panic: kevent(EV_ADD, READ, 54) failed: Bad file descriptor
It's not dumping core, and I get the message even with "protocols ="
Downgrading back to 2.2.24
2009 Sep 01
3
dovecot 1.2 and logging start failures
Hi,
I've got report about issue when dovecot fails to start and there is no error
logged (error goes only to stderr)
situation:
1) dovecot is running
2) dovecot is automatically updated to new version (by yum update daemon),
after update, dovecot is restarted (it's part of update script)
3) new dovecot fails to start (for whatever reason)
result:
dovecot not running and no error
2008 Mar 29
3
Expire plugin with Mysql
Hey guys, got a question about the expire plugin. According to the
wiki, the expire plugin "keeps an internal database (Berkeley DB or
SQL)". I was wondering what fields in the mysql table are needed for
expire to work.
I assume it is setup is similar to the quota dict
setup, so was just wondering what fields are required (i.e:
select_field, where_field, username_field, for quota).
2016 Jul 02
5
kqueue crash on FreeBSD with 2.2.25
...atal_callback (ctx=0xffffaaf0, format=0x281ccf7a "kevent(EV_ADD, READ, %d) failed: %m", args=0xffffab24 "8") at main.c:167
path = 0x28803810 "master-fatal.lastlog"
str = 0x28803860 "kevent(EV_ADD, READ, 56) failed: Bad file descriptor"
args2 = 0xffffab24 "8"
pid = 94804
fd = -1
#6 0x2815b23a in i_panic (format=0x281ccf7a "kevent(EV_ADD, READ, %d) failed: %m") at failures.c:275
ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0, timestamp_usecs = 0}
args = 0xffffab24 "...
2016 Oct 06
2
[imap-login] SSL related crashes using the latest 2.2.25
...%s:%u: %s", args=0x7ffd537d0a80,
size_r=0x7ffd537d0a5c) at /usr/include/bits/stdio2.h:78
No locals.
#3 t_noalloc_strdup_vprintf (format=0x7f1a58c90ad8 "proxy: Received
invalid SSL certificate from %s:%u: %s", args=0x7ffd537d0a80,
size_r=0x7ffd537d0a5c) at strfuncs.c:132
args2 = {{gp_offset = 8, fp_offset = 48, overflow_arg_area =
0x7ffd537d0b60, reg_save_area = 0x7ffd537d0aa0}}
tmp = 0x1fe0e38 "proxy: Received invalid SSL certificate from
\314-A\235q\210\021\b\354\062Lz?)\367.\002 \031\233
\362w?\224\356K7\343\224 \002\037\364!+\266\371\277O`K\021\b\315...