Displaying 17 results from an estimated 17 matches for "getcolumn".
2009 Apr 20
1
[LLVMdev] Build fails on windows with VC2008
...ls to compile on windows using Visual Studio
2008.
I'm getting:
3>f:\dev\llvm\lib\codegen\asmprinter\dwarfwriter.cpp(1167) : error C4716:
'llvm::DbgScope::getLine' : must return a value
3>f:\dev\llvm\lib\codegen\asmprinter\dwarfwriter.cpp(1168) : error C4716:
'llvm::DbgScope::getColumn' : must return a value
3>f:\dev\llvm\lib\codegen\asmprinter\dwarfwriter.cpp(1169) : error C4716:
'llvm::DbgScope::getFile' : must return a value
Attached you can find a patch which should fix the issue.
Sincerely yours
Marius Wachtler
Index: DwarfWriter.cpp
======================...
2012 May 21
4
Getting model column names
...lumns would be [id, first_name, last_name]
Is it possible? I saw that active_record provides this kind of method
(column_names), but since I am not using active_record...
A solution that I tried is to create a method in the model class (it
works but its not the "best" solution...):
def getColumns
columns = Array.new
columns << "id"
columns << "first_name"
columns << "last_name"
end
Any idea/suggestion to solve this problem?
Thank you
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subsc...
2013 Dec 02
0
[LLVMdev] A problem about the location of ForStmt,
I get the location with :
SourceManager &SM = context.getSourceManager();
int lineStart = SM.getPresumedLoc(SR->getBegin()).getLine();
int lineEnd = SM.getPresumedLoc(SR->getEnd()).getLine();
int colStart = SM.getPresumedLoc(SR->getBegin()).getColumn();
int colEnd = SM.getPresumedLoc(SR->getEnd()).getColumn();
llvm::outs() << "For:" << lineStart << " " << colStart << " " <<
lineEnd << " " << colEnd << " \n";
the testCase:
for(...
2005 Aug 13
1
retrieving large columns using RODBC
...and I would like to retrive colums (correspond to variables)
using RODBC. I have a column called "index" which is used to order rows.
Unfortunately, sqlQuery can't return all the values from a column at once
(RODBC complains about lack of memory). So I am using the following code:
getcolumns <- function(channel, tablename, colnames, totalrows,
ordered=TRUE,chunksize=1e5) {
r <- matrix(double(0),totalrows,length(colnames))
for (i in 1:ceiling(totalrows/chunksize)) {
cat(".")
r[((i-1)*chunksize+1):(i*chunksize)] <- as.matrix(
sq...
2014 Oct 16
2
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
...; MDNode *Scope);
>> static MDLineTable *getInlined(MDLineTable *Base, MDNode *Scope);
>> static MDLineTable *getBase(MDLineTable *Inlined);
>>
>> unsigned getLine() const { return Line; }
>> unsigned getColumn() const { return Column; }
>> bool isInlined() const { return getNumOperands() == 2; }
>> MDNode *getScope() const { return getOperand(0); }
>> MDNode *getInlinedAt() const { return getOperand(1); }
>> };
>>
>> Proposed assemb...
2014 Oct 13
9
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
...ble *get(unsigned Line, unsigned Column,
MDNode *Scope);
static MDLineTable *getInlined(MDLineTable *Base, MDNode *Scope);
static MDLineTable *getBase(MDLineTable *Inlined);
unsigned getLine() const { return Line; }
unsigned getColumn() const { return Column; }
bool isInlined() const { return getNumOperands() == 2; }
MDNode *getScope() const { return getOperand(0); }
MDNode *getInlinedAt() const { return getOperand(1); }
};
Proposed assembly syntax:
; Not inlined.
!7 =...
2009 May 27
0
invisible columns
...guiToolkit="RGtk2")
>
> t <- gtable(mtcars[1:5, 1:4], cont = gwindow())
>
> removeColumn <- function(t, col.num) {
> name <- names(t)[col.num]
> tbl <- getToolkitWidget(t)
> ## remove a column, but store old one first to add back
> col <- tbl$getColumn(col.num - 1) # 0- based
> tbl$removeColumn(col)
> return(list(name=name, col=col))
> }
>
> addColumn <- function(t, col, col.num) {
> tbl <- getToolkitWidget(t)
> ## add back
> tbl$insertColumn(col$col, col.num - 1)
> ## add back column name
> col$col$ge...
2006 Nov 29
0
[ wxruby-Bugs-6972 ] Wx::ListCtrl will crash if item added before insert_column called
...before inserting a column) in user code is of course incorrect, but WxRuby should signal this mistake more courteously than by crashing.
The relevant line thrown in the crash is:
wxListMainWindow::InsertItem
at ../src/generic/listctrl.cpp:4541
wxColWidthInfo *pWidthInfo = m_aColWidths.Item(item.GetColumn());
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=6972&group_id=35
2009 Apr 30
2
[LLVMdev] Pulling line number/file/path information from DbgStopPointInst instructions
Hmm... if I do a print() on the result of getFileName(), I get
i8 * getelementptr ([9 x i8]* @.str, i32 0, i32 0)
back, but if I try to dyn_cast this to GetElementPtrInst it fails
(returning null), so presumably I'm seeing a
GetElementPtrConstantExpr... so how can I get at that constant i8
array without casting to a GetElementPtrInst, and with
GetElementPtrConstantExpr being
2014 Oct 15
3
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
...Scope);
> >> static MDLineTable *getInlined(MDLineTable *Base, MDNode
> >> *Scope);
> >> static MDLineTable *getBase(MDLineTable *Inlined);
> >>
> >> unsigned getLine() const { return Line; }
> >> unsigned getColumn() const { return Column; }
> >> bool isInlined() const { return getNumOperands() == 2; }
> >> MDNode *getScope() const { return getOperand(0); }
> >> MDNode *getInlinedAt() const { return getOperand(1); }
> >> };
> >>...
2014 Oct 14
2
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
...ned Column,
> MDNode *Scope);
> static MDLineTable *getInlined(MDLineTable *Base, MDNode *Scope);
> static MDLineTable *getBase(MDLineTable *Inlined);
>
> unsigned getLine() const { return Line; }
> unsigned getColumn() const { return Column; }
> bool isInlined() const { return getNumOperands() == 2; }
> MDNode *getScope() const { return getOperand(0); }
> MDNode *getInlinedAt() const { return getOperand(1); }
> };
>
> Proposed assembly syntax:
>
>...
2018 Jul 15
2
llvm pass is very slow
Hi
I write a LLVM function pass. The pass will loop the basicblock in the
function, check the instruction's type with dyn_cast<switchinst>, print the
instruction and the basicblock's successors. I think it is not very complex.
My bitcode file is about 30M. My CPU is i7-7700(3.6GHz). It has been
running for 60 hours but it is still running. I am not sure whether this is
a normal
2020 Mar 27
0
Wine release 5.5
...eak.
adsldp: Add a trace.
adsldp: Improve IDirectorySearch::GetNextRow() end of entries detection logic.
adsldp: Implement IDirectorySearch::GetNextColumnName().
adsldp: Add special column "ADsPath" at the end of the entry.
adsldp: Implement IDirectorySearch::GetColumn().
adsldp: Add support for special column name "ADsPath" to IDirectorySearch::GetColumn().
adsldp/tests: Add some tests for IDirectorySearch.
adsldp: Add more traces.
adsldp: Add initial version of attribute schema parser.
Fran?ois Gouget (18):
configure: Ad...
2007 Feb 09
20
Hello Everyone
I have a bit of a problem with installation. I installed wxX11 in my
linux box. I compiled the demos and all the demos, save dbbrowse,
work. I think I have a functional wx. Now I''m trying to install wxRuby
from source, since I have a 64 bit machine. I only have permission to
my home directory so my installation is :
/usr/people/stevenq/Applications/wxX11/
2004 Apr 27
15
Building wxruby on Solaris 9
Hi all,
Ruby 1.8.1
Solaris 9
wxwindows 2.4.2 (package from blastwave.org)
wxruby 0.3.0
I''m having trouble getting this sucker to build on my Solaris box.
Here''s how I''m building:
ruby extconf.rb --with-xrc-dir=/opt/csw
--with-xrc-include=/opt/csw/lib/wx
The include directive I added because the setup.h file is there (for
whatever reason). And yes, /opt/csw/bin and
2005 Aug 21
15
New inheritance
A good number of the samples I have tested are outright or subtly broken
on Windows now. I''m trying to determine what the cause is. Mostly it
seems related to the initialize function not being created when it
should be.
Case in point: ClientDC.i
The caret example won''t work at all because initialize isn''t declared
any longer. If you comment out the import
2020 Apr 10
0
Wine release 5.6
...1.3.6.1.4.1.1466.115.121.1.38 to ADSTYPE_CASE_IGNORE_STRING.
adsldp: Map 1.3.6.1.4.1.1466.115.121.1.15 to ADSTYPE_CASE_IGNORE_STRING.
adsldp: Map 1.3.6.1.4.1.1466.115.121.1.7 to ADSTYPE_BOOLEAN.
adsldp: Implement IDirectorySearch::FreeColumn().
adsldp: Fix IDirectorySearch::GetColumn() behaviour for not found case.
adsldp/tests: Handle more cases of ERROR_DS_SERVER_DOWN.
adsldp: Blacklist serverless and rootDSE connections in QueryInterface(&IID_IDirectorySearch).
adsldp: Store original LDAP values pointer in hReserved.
adsldp: Initialize also pADsVa...