search for: stringvalue

Displaying 9 results from an estimated 9 matches for "stringvalue".

Did you mean: string_value
2004 Sep 10
1
Multi-line string constants: proposed patch
...for continuation. I recently (http://tolstoy.newcastle.edu.au/R/devel/04b/0256.html) requested compatability with S-Plus and was told to contribute a patch and then it would be considered. Here is the proposed patch. In the files src/main/gram.y and src/main/gram.c strings are parsed with the StringValue function. Looking at the function it is clear that a newline character (not the two-byte '\n') generates an error: static int StringValue(int c) { ... if (c == '\n') { xxungetc(c); return ERROR; } ... } I tracked this code down and Mark Bravington confirmed (by build...
2009 Nov 06
1
issues with SSOAP when wsdl has ComplexTypes
...Locator() >>> service = loc.getDataServicePortType(tracefile=sys.stdout) >>> req = DataServiceQueryRequest() >>> req.Query = "select 1 as One" >>> res = service.simpleQuery(req) >>> print "Field names: %s" % [field.StringValue for field in ... res.Result.ResultHeading.QueryFields] >>> print "Rows:" >>> for i in xrange(0, len(res.Result.ResultRows)): >>> print "Row %d: %s" % (i+1, [field.StringValue or ... field.LongValue or field.DoubleValue fo...
2004 Sep 16
0
FW: Parsing multi-line strings. Bug? Feature?
...o) > > There's a very good reason for the change of prompt, as anyone who has > debugged SAS code with stray quotes will tell you: The system would > appear to be completely unresponsive because all input is being eaten > by the string readers. I think the following patch in StringValue might address Peter Dalgaard's point: when a bare newline is found (i.e. not preceded by a backslash), it's pushed back onto the character stack via xxungetc(c) and StringValue pretends that it's just read a backslash instead. Then, as usual, it looks for the next character which is of...
2007 Sep 21
1
Weird data from evalJSON
...index)) {result = value;throw $break;}})); return result; } function (iterator) { var results = []; this.each((function (value, index) {if (iterator(value, index)) {results.push(value);}})); return results; } function (pattern, iterator) { var results = []; this.each((function (value, index) {var stringValue = value.toString();if (stringValue.match(pattern)) {results.push((iterator || Prototype.K) (value, index));}})); return results; } function (object) { var found = false; this.each((function (value) {if (value == object) {found = true;throw $break;}})); return found; } function (number, fillWith)...
2018 Feb 28
0
LLVM map to specific data model?
...p; result.speed > 15 Here is my data model, it is generic data model and a data schema that describe the 'form' of the data. Here are some pseudo-code :     struct Data     {       vector<double> doubleValues;       vector<double> intValues;       vector<double> stringValues;       vector<Data>   children;     };     enum class DataPropertyType     {       DPT_DOUBLE,       DPT_INT,       DPT_TEXT,       DPT_CHILDREN,     };     struct DataProperty     {       DataPropertyType type;       string name;       int index;       DataSchema* children...
2016 Jan 27
2
rstan warning messages
Confirmed that gcc-gfortran is installed Package gcc-gfortran-4.4.7-16.el6.x86_64 already installed and latest version What could I check next? I do not have the following installed and will get that done and tested again. libcurl-devel libidn-devel Thanks, Larry -----Original Message----- From: Tom Callaway [mailto:tcallawa at redhat.com] Sent: Wednesday, January 27, 2016
2016 Jan 28
2
rstan warning messages
...=1 -DHAVE_CURLOPT_SOCKOPTDATA=1 -DHAVE_CURLOPT_SSL_SESSIONID_CACHE=1 -I/usr/include/libxml2 -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c myUTF8.c -o myUTF8.o myUTF8.c: In function 'StringValue': myUTF8.c:284:5: warning: passing argument 1 of 'Rf_mkCharLenCE' from incompatible pointer type [enabled by default] yylval = mkCharLenCE(wcs, wcnt, CE_UTF8); /* include terminator */ ^ In file included from /usr/include/R/Rdefines.h:29:0,...
2013 Apr 05
2
Problem with fts lucene, on solaris 10
Hi all, I'm planning to migrate my courier-imap imap server to dovecot, but I'm experiencing a strange issue with fts-lucene plugin. Basically, every time I start a search, the log starts to write: Apr 05 19:30:53 indexer: Error: Indexer worker disconnected, discarding 1 requests for XXXXXX Apr 05 19:30:53 indexer-worker(XXXXX): Fatal: master: service(indexer-worker): child 809 killed
2017 Jun 14
4
[WISH / PATCH] possibility to split string literals across multiple lines
On Wed, 14 Jun 2017 06:12:09 -0500, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 14/06/2017 5:58 AM, Andreas Kersting wrote: > > Hi, > > > > I would really like to have a way to split long string literals across > > multiple lines in R. > > I don't understand why you require the string to be a literal. Why not > construct the long