similar to: [LLVMdev] Referring to an argument in another function

Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] Referring to an argument in another function"

2009 Jun 18
0
[LLVMdev] Referring to an argument in another function
Scott Ricketts wrote: > I would like to instrument certain function calls with a function call > of my own that takes some of the same arguments. For example, I would > like to instrument calls to free with some function foo, so the C code > would look like: > > foo(myarg1, myarg2, ptr); > free(ptr); > > The problem occurs when I grab the arg from the free function and
2003 Jun 20
1
More than one param to AGI
I'm starting to write an AGI script. I want to pass more than one parameter to the script, but seem to be unable to. extensions.conf: exten => 85,1,AGI(/etc/asterisk/agi/args.agi,myarg1,myarg2) args.agi: #!/usr/bin/perl print STDERR "FNORD prog = $0\n"; print STDERR "FNORD arg 1 = $ARGV[0]\n"; print STDERR "FNORD arg 2 = $ARGV[1]\n"; print
2009 May 07
1
Macro arguments on app_queue
hi list, i have a question about the args of queue: when we use Queue() app, there are some arguments than can use. help from CLI: Queue(queuename[,options[,URL[,announceoverride[,timeout[,AGI[,macro[,gosub[,rule]]]]]]]]) well.. i'm trying to identify who has taken the call on a queue, and, when agent conected, launch a macro with some args based on who takes the call i do: exten =>
2012 Jun 12
1
IAX2 Registered OK without IP
This has come up before on the list and archives but I don't seem to find a solution for this. On just a few nodes we have this situation where we see the IP disappear from the CLI iax2 show peers list but the status shows OK: 3012/3012 (Unspecified) (D) 255.255.255.255 0 OK (89 ms) How can the status be OK a few milliseconds ago and have no IP ?? The strange thing is
2013 Aug 07
2
How to use --simple-bind-dn in samba-tool
Hi, I understand that using options -H and --simple-bind-dn one could run samba-tool remotely. But how should I specify the DN to use for simple bind? I tried many syntaxes: cn=Administrator cn=Administrator at domain domain all with the Administrator password, but it always fail with: Failed to bind - LDAP error 49 LDAP_INVALID_CREDENTIALS - <Simple Bind Failed:
2009 Jul 29
1
problem with disable_plaintext_auth
Hi, I am using dovecot with postfix for authentication. Everything (TLS/SSL, authentication) is working fine, except that when I set: disable_plaintext_auth = yes I still can authenticate with plain text on a no TLS/SSL session: 20 mail2.cs.ait.ac.th ESMTP Postfix (2.6.2) EHLO [192.41.170.57] 250-mail2.cs.ait.ac.th 250-PIPELINING 250-SIZE 10240000 250-VRFY
2005 Feb 25
3
passing command line arguments to 'R CMD BATCH myScript.R'
Hi Community, I have a question about how to pass command line parameters to R script running in the batch mode. The problem is: there is a banch of data files which are to be processed by R script called from a web-server, i.e. in the batch mode. The web server generates data files and passes their names calling 'R CMD BATCH' one by one for every file. Now the question is how to
2002 Dec 02
1
[LLVMdev] Function Formal parameters
can we assume that for(Function::aiterator I = F.abegin(); E = F.aend(); I!=E; ++I) { .... } or Argument *FA = &F.afront(); do { FA = FA->getNext(); .... } while (FA != &F.aback()); would iterate over function "F" formal parameters in order? All the tests I've run so far indicate so, but unless it is guaranteed, I don't see how can I match
2006 Jan 23
2
Ext3 filesystem access after downgrade from v4.2 to v3.6
I need to downgrade a system from Centos x4.2 to v3.6 (x86) due to performance problems with Arkeia Network Backup and AIT-4 tape drives. The backup database is stored on a v4.2 created ext3 partition. When accessing this partition after the downgrade, Centos complains on boot that fsck.ext3: Filesystem has unsupported feature(s) (/dev/sda5) *fsck: Get a newer version of e2fsck! [fail] If I
2010 Sep 25
4
Help required
Is it possible to read jpeg files into R? If yes please guide, Thanks.. I tried to search many time but failed to do. Thankis in advance.. with Best Regards, Malik Shahzad Visiting Researcher National Institute of Informatics (NII) Tokyo, Japan Doctoral Student Asian Institute of Technology (AIT) Bangkok, Thailand +66-8-7676-5616 [[alternative HTML version deleted]]
2002 Jan 02
2
Help for installation (PR#1233)
Dear r-bugs, I down loaded the R-1.4.0.tgz But cannot unzip or install. I would be grateful if you could give some help. My system is Microsoft windows. Best regards, Sohan -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or
2003 Oct 07
2
error in rsync protocol data stream (code 12) at io.c
List, I am having trouble with a previously working rsync server. Version: > # rsync --version > rsync version 2.5.4 protocol version 26 > Copyright (C) 1996-2002 by Andrew Tridgell and others > <http://rsync.samba.org/> > Capabilities: 64-bit files, socketpairs, hard links, symlinks, > batchfiles, IPv6, 64-bit system inums, 64-bit internal inums
2010 Nov 19
2
Ekiga can register but not my IP phone
Hello, I have a Sip phone (Siemens C470IP) which works perfectly with different VoIP providers (iptel, betamax, ovh...). It also worked well with my testing server (ubuntu and inside the LAN). But now the problem i have is that the hardphone doesn't connect to my dedicated server (debian lenny / Asterisk 1.6.2.13). The strange thing is that ekiga can connect to the same asterisk server with
2010 Apr 21
12
Using AR.connection.execute(sql) -- messing with my string?
Does ActiveRecord.connection.execute(string) perform any modifications on the given string? If so, what quoting do I need to add? Here''s why: I''m trying to use execute(string) to load a stored procedure. I can hand-load the procedure without error (i.e. via dbconsole), but when I call the function below, it throws the error: ==== ActiveRecord::StatementInvalid: Mysql::Error:
2009 Apr 10
2
Some questions about Samba and LDAP
Hello, I have been using Samba for years (login onto the PC, files and printers sharing) and since recently I have a LDAP server running and serving authentication to few Unix systems (mail, web, Zope, ssh, etc.) Now that I set-up a new server to use with Samba, I would like to integrate Samba into the existing LDAP. All the doc I could find so far is about creating a LDAP service from scratch
2002 Oct 18
1
Using RSYNC for Multiple Servers
Hi all, Am wanting to backup three servers to a AIT tape device that is connected to a SCO 5.0.5 server. Apart from itself, there is one other SCO 5.0.5 system and a Slackware Linux server. Is it possible to use RSYNC to backup all three servers from the primary SCO server to the tape device ? I wish to append to the tape device also for incremental backups. Any other suggestions appreciated.
2005 Dec 10
2
sg device
What is the "sg" device? The reason I ask, is that I have a file server running CentOS 4.2 on a Dell Precision 1650. Disks are attached via QLogic FC. I backup to a Qualstar TLS-4222 tape changer, with AIT-2 tapes, which is connected over an Adaptec 29160 Ultra 160 SCSI. The software I'm using is Legato Networker version 7.1.2. I'm backing up a bit under 1 TB a month
2005 Jan 11
2
[LLVMdev] Loop IR insertion
Hi, I am trying to insert a Loop IR into the existed bytecode file. insertion part by C code, char *p[n]; // pointer array for storing the address of strings int i; for(i=0;i<n;i++){ (p[i])[2] = (p[i])[2] ^ 0x27; } My questions are 1. for local variable 'char *p[n]' , it is represented by IR as alloca ...., so could I insert local variable (pointer array) directly as same way
2004 Aug 17
4
[LLVMdev] JIT API example (fibonacci)
Hi LLVMers, the example attached I have used to prove that JIT and some visible optimizations are really invoked. Proved OK. I got 30% speed-up in comparison to gcc 3.3.3 on my Athlon XP 1500. Nice. P.S. guys, no fears, I don't plan to flood the cvs repository with my "brilliant" examples ;) --- Valery A.Khamenya -------------- next part -------------- An
2008 Nov 12
1
SNMP error and more
Hi, I just installed NUT to monitor 4 UPS, all APC, all with Network card APC 9617. NUT have problem to access the following SNMP OID on all the UPSes: Detected Smart-UPS 3000 XL on host apc4.cs.ait.ac.th (mib: apcc 1.1) [apc4] nut_snmp_get: .1.3.6.1.4.1.318.1.1.1.9.2.2.1.2.1: Error in packet: (noSuchName) There is no such variable name in this MIB. [apc4] nut_snmp_get: