search for: lbrace

Displaying 6 results from an estimated 6 matches for "lbrace".

Did you mean: brace
2010 Jan 09
0
[LLVMdev] [PATCH] - Union types, attempt 2
...PATypeHandle*>(this + 1); + NumContainedTys = Types.size(); + bool isAbstract = false; + for (unsigned i = 0; i < Types.size(); ++i) { No need to evaluate Types.size() every time through the loop. +bool LLParser::ParseUnionType(PATypeHolder &Result) { ... + if (!EatIfPresent(lltok::lbrace)) { + return Error(EltTyLoc, "'{' expected after 'union'"); + } Please use: if (ParseToken(lltok::lbrace, "'{' expected after 'union'")) return true; + EltTyLoc = Lex.getLoc(); + if (ParseTypeRec(Result)) return true; + ParamsList.push...
2010 Jan 06
3
[LLVMdev] [PATCH] - Union types, attempt 2
This patch adds a UnionType to DerivedTypes.h. It also adds code to the bitcode reader / writer and the assembly parser for the new type, as well as a tiny .ll test file in test/Assembler. It does not contain any code related to code generation or type layout - I wanted to see if this much was acceptable before I proceeded any further. Unlike my previous patch, in which the Union type was
2010 Jan 11
2
[LLVMdev] [PATCH] - Union types, attempt 2
...edTys = Types.size(); > + bool isAbstract = false; > + for (unsigned i = 0; i < Types.size(); ++i) { > > No need to evaluate Types.size() every time through the loop. > > > +bool LLParser::ParseUnionType(PATypeHolder &Result) { > ... > + if (!EatIfPresent(lltok::lbrace)) { > + return Error(EltTyLoc, "'{' expected after 'union'"); > + } > > Please use: > if (ParseToken(lltok::lbrace, "'{' expected after 'union'")) return true; > > > + EltTyLoc = Lex.getLoc(); > + if (ParseTypeRe...
2008 Jul 21
2
sftp needs a long time for sending a filelist
Hello all Im using sftp 1:4.7p1-8ubuntu1.2 in a batchjob Ive noticed that sftp needs a long time for sending a filelist. The timespan increases exponential if many files are on the remoteserver. for example "ls -la *.txt" needs 10 seconds for 2000 files but needs 50 seconds for 4000 files. For 150.000 Files i have to wait 15 minutes for example but the
2001 May 21
1
2.9p1 patches
...sd-compat/glob.c.orig Fri May 18 20:49:30 2001 +++ openbsd-compat/glob.c Fri May 18 20:49:42 2001 @@ -97,7 +97,7 @@ #define RBRACKET ']' #define SEP '/' #define STAR '*' -#define TILDE '~' +#define TILDE_CHAR '~' #define UNDERSCORE '_' #define LBRACE '{' #define RBRACE '}' @@ -354,7 +354,7 @@ const Char *p; Char *b, *eb; - if (*pattern != TILDE || !(pglob->gl_flags & GLOB_TILDE)) + if (*pattern != TILDE_CHAR || !(pglob->gl_flags & GLOB_TILDE)) return pattern; /* Copy up to the end of the string or /...
2005 May 12
6
segfault on large number of open brackets (PR#7859)
Full_Name: Max Version: R 2.0.1 (2004-11-15) OS: Gentoo Linux Submission from: (NULL) (158.143.49.181) I leaned on the "(" key by accident, and it looks as if R segfaults on a large number (88 or more in my case) open brackets: Script started on Thu May 12 15:18:04 2005 $ R R : Copyright 2004, The R Foundation for Statistical Computing Version 2.0.1 (2004-11-15), ISBN 3-900051-07-0