search for: methodname

Displaying 20 results from an estimated 43 matches for "methodname".

2004 Jun 19
0
setGeneric / standardGeneric when args are not "literals" - corrected
...te a helper function that would "safely" create generics when a function with such a name already exists. Here is what I adapted from S4Objects but it doesn't work because of the above-mentioned problem. Any suggestion how to make it work, please? setMakeGenericMethod <- function(methodName, className, fun) { # sets a method and creates the generics if necessary if (!isGeneric(methodName)) { if (is.function(methodName)) { fun.default <- get(methodName) } else { assign(methodName, methodName) browser() fun.default <- function(object) stand...
2006 Jan 04
5
Webservice External XMLRPC
...service_dispatching_mode :delegated web_service_scaffold :invoke web_service(:directspool) {DirectSpoolService.new} end The controller behaves fine when accessing it with : http://localhost:3003/api/invoke, and curl -d ''<?xml version="1.0" ?><methodCall><methodName>Add</methodName><params><param><value><string>dsdfsa</string></value></param><param><value><string>safdasf</string></value></param></params></methodCall>'' http://localhost:3003/api/directspo...
2010 Sep 07
0
[LLVMdev] Intrinsic prototype has incorrect number of arguments!
On Sep 7, 2010, at 8:03 AM, F van der Meeren wrote: > Hello, > > I have a question, what is wrong with the following code? > > declare void @llvm.memcpy.p0i64.p0i64.i8(i64*, i64*, i8, i32, i1) nounwind > > ... > > call void @llvm.memcpy.p0i64.p0i64.i8(i64* %19, i64* %21, i8 %17, i32 0, i1 false) > > ... > > > According to the compiler this is the
2010 Sep 07
2
[LLVMdev] Intrinsic prototype has incorrect number of arguments!
I have created the function prototype with the following code: const uintmax_t methodNameSize = 1024; const char methodNameTemplate[] = "llvm.memcpy.p0i%llu.p0i%llu.i%llu"; char methodName[methodNameSize]; // Create the methodName. memset(methodName, 0, methodNameSize); sprintf(methodName, methodNameTemplate, dstSize, srcSize, lengthSize); // Search f...
2010 Aug 25
1
Documenting S4 Methods
...39;seqLen' Code: Docs: NULL * checking Rd \usage sections ... WARNING Objects in \usage without \alias in documentation object 'enrichmentCalc': enrichmentCalc Also, what is the difference between ... ... ... \docType{methods} ... ... ... \alias{methodName,class-method} ... ... ... \usage{methodName(arg1)} ... ... ... and ... ... ... \alias{methodName,class-method} ... ... ... \usage { \S4method{methodName}{class}(arg1) } ... ... ... I've seen both wa...
2006 Aug 16
7
ActionWebService: XMLRPC Server Multicall possible?
Hi all, I have a question concerning ActionWebService XMLRPC servers: Is it possible to send multicall requests to the Web service? I tried to use multicall and get the error message: no such method ''system.multicall'' on API [MyAPI] In Changeset 2021 there is the following commit message: add ''system.multicall'' support to XML-RPC. boxcarred methods must
2010 Sep 07
4
[LLVMdev] Intrinsic prototype has incorrect number of arguments!
Hello, I have a question, what is wrong with the following code? declare void @llvm.memcpy.p0i64.p0i64.i8(i64*, i64*, i8, i32, i1) nounwind ... call void @llvm.memcpy.p0i64.p0i64.i8(i64* %19, i64* %21, i8 %17, i32 0, i1 false) ... According to the compiler this is the error, but I seem to miss where exactly my fault is. Intrinsic prototype has incorrect number of arguments! void (i64*,
2006 Mar 28
7
[PATCH] XML-RPC: Cope with large integers on x86-64 systems
Attached patch fixes a problem in marshaling large integers. It seems to only occur on systems with very large memory. However, on those systems, it''s a show-stopper. I see this as a temporary solution until we can sanitize the XML-RPC functions and get rid of all the S-Expression stuff. I''ll run xm-test tomorrow against it. Right now I''ve only done basic
2007 Dec 06
3
XenApi
...port 9363 and paste in my own request same thing happens, error looks alittle diferent though.. Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is ''^]''. <?xml version="1.0" encoding="iso-8859-1"?><methodCall><methodName>session.login_with_password</methodName><params> <param> <value><string>root</string></value></param><param><value><string>none</string></value></param></params></methodCall> <head> <title&gt...
2006 Jun 07
1
Web Service: NoMethodError (missing attribute: featured) !?!?!?!?!
...that I''m aware of... ??? Thanks! ------------------------------------------------------------------------------------------------------------------------ Web Service Request: player.find_by_id(id=>99) Entrypoint: player <?xml version="1.0" ?><methodCall><methodName>player.find_by_id</methodName><params><param><value><i4>99</i4></value></param></params></methodCall> NoMethodError (missing attribute: featured): /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/ca...
2013 Nov 01
5
xend with XenAPI in stackless python-2.7
...pool = self.xenapi.pool.get_all()[0] File "/usr/lib/python2.7/site-packages/XenAPI.py", line 245, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.7/site-packages/XenAPI.py", line 149, in xenapi_request result = _parse_result(getattr(self, methodname)(*full_params)) File "/usr/lib/python2.7/site-packages/XenAPI.py", line 219, in _parse_result raise Failure(result[''ErrorDescription'']) XenAPI.Failure: [''MESSAGE_METHOD_UNKNOWN'', ''pool.get_all''] >>> __________________...
2011 Apr 07
0
[XCP 1.0] NetApp issue
...The SR backend failed to complete the operation <Enter> OK Here is what I find in my /var/log/messages: Apr 7 09:12:42 xhost0 fe: 26990 (/opt/xensource/sm/LVMoHBASR <methodCall><methodName>sr_probe</methodName><par...) exitted with code 1 Apr 7 09:12:42 xhost0 xsconsole: Exception: The SR backend failed to complete the operation You will find attached my xensource.log extracted log with the error. Thanks all, FG _____________________________________________...
2007 Oct 31
0
xm in xen-api mode problem after failure to start domain (vbd in use)
...ain, and so cannot be mounted now.. Internal error: (3, ''No such process''). # xm list Internal error: (3, ''No such process''). The conversation that is causing the problem: ---> to server <?xml version=''1.0''?> <methodCall> <methodName>VM_metrics.get_all_records</methodName> <params> <param> <value><string>314e378d-1895-3682-d254-66e6134f0950</string></value> </param> </params> </methodCall> <--- from server <?xml version=''1.0''?> <method...
2006 Nov 04
1
layere dispatching - please help!
...ollowing in the logs Processing BackendController#car (for 127.0.0.1 at 2006-08-24 09:59:54) [POST] Session ID: 4dbf6e1ffd1ab6764cce4e9f09927950 Parameters: {"action"=>"car", "controller"=>"backend", "methodCall"=>{"methodName"=>"FindCarByName", "params"=>{"param"=>{"value"=>{"string"=>"711N7013T1"}}}}} ActionController::UnknownAction (No action responded to car): I can''t, for the life of me, see what I''ve missed. C...
2013 Jul 22
0
[LLVMdev] Libclang get class name from DeclRefExpr
...e". So far I have the following code, which outputs: "[(DFDataModelContainer).dataModels addObject:helpmeh]" if (cursor.kind == CXCursor_ObjCMessageExpr) { __block NSString* memberName = nil; __block NSString* ownerClassName = nil; __block NSString* methodName = [NSString stringWithUTF8String:clang_getCString(clang_getCursorDisplayName(cursor))]; clang_visitChildrenWithBlock(cursor, ^enum CXChildVisitResult(CXCursor cursor, CXCursor parent) { if (cursor.kind == CXCursor_MemberRefExpr) { memberName = [NSString st...
2005 May 17
7
Basecamp API
Seeing as how the new Basecamp API reflects a similar use of RoR that I have been working on I''m curious as to what we can expect to be extracted from there in 0.13? Was the API written as an ActionWebService or just as a set of controllers? Any generic AR xml parsing/output methods that we may see in 0.13? Any reason you decided to do everything with HTTP Get instead of utilizing
2010 Jun 17
2
[PATCH] Improve cleanup of libguestfs handle with Sys::VirtV2V::GuestfsHandle
...= $?; + $? = 0; + + # This will close the underlying libguestfs handle, which may affect $? + $self->{g} = undef; + + warn(user_message(__x("libguestfs did not shut down cleanly"))) + if ($? != 0); + + $? = $retval; +} + +our $AUTOLOAD; +sub AUTOLOAD +{ + (my $methodname) = $AUTOLOAD =~ m/.*::(\w+)$/; + + # We don't want to call DESTROY explicitly + return if ($methodname eq "DESTROY"); + + my $self = shift; + my $g = $self->{g}; + + croak("$methodname called on guestfs handle after handle was closed") + unless (defi...
2011 Nov 17
1
how to read a free text file into individual variables
...this text file. How can I read the parameter into each variable in this file ? configinfo<-scan(file(configfile),ok=TRUE,n=-1) scan seems need every line have same column ? configinfo <- readLines(configfile,ok=TRUE,n=-1) methodnum <- unlist(strsplit(configinfo[2],":"))[2] methodname <- unlist(strsplit(configinfo[3],":")) time <- strtrim((unlist(strsplit(configinfo[4],":"))[2]),3) and time is a string "3 " and strtoi(time) failed and is "[1] NA" when time <- strtoi(strtrim((unlist(strsplit(configinfo[4],":"...
2012 Mar 30
1
Xen Cloud Platform 1.1 restart unexpectedly
...own A, which means all the I/O to the NFS share is disconnected, then B is restarted after that. I don''t know where to check. The most meaningful log to me is written below. Mar 30 20:35:25 xen01 fe: 19999 (/etc/xapi.d/plugins/vmops <methodCall><methodNa me>gethostvmstats</methodName>...) exitted with code 0 Mar 30 20:35:41 xen01 heartbeat: Problem with /var/run/sr-mount/92acaa0f-0dbf-75 e5-f70d-42968ec75ca4/hb-49618ae7-5248-4490-8228-7b1b9728a32c ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^...
2009 Sep 13
2
App cennik offline
Hello i have a special windows app (cennik offline) it works on win xp but not on wine. I copy all dependecies dlls from win xp to wine c directory and nothing happens. Ive installed a framework 2.0 from winetricks. The link for this app: http://www.cennik.conor.pl/download/beta/setup_v2.14.726.03.exe Can someone help me please?