Displaying 11 results from an estimated 11 matches for "notnul".
Did you mean:
notnull
2012 Nov 08
4
Accessing selected elements of a list
...list(NULL,c(1,0),NULL,c(1,2,3), NULL)
and want to access all the elements that have length greater than zero, I know how to find the elements with:
which(sapply(jlist,length)>0)
But how do I get a new list, only with the non-zero-length elements, without having to write a for loop?
I tried:
notnull <- which(sapply(jlist,length)>0)
jlist[[notnull]]
and got the error:
Error in jlist[[notnull]] : recursive indexing failed at level 2
Thank you for any help!
2005 Dec 17
1
lost in an ActiveRecord::StatementInvalid
...eturning structure = execute("PRAGMA table_info(#
{table_name})") do
raise ActiveRecord::StatementInvalid if structure.empty?
end
end
Now, the sqlite client returns this:
sqlite> pragma table_info("users");
cid name type notnull dflt_value pk
---------- ---------- ---------- ---------- ----------
----------
0 id integer 0 1
1 name varchar(10 99 0
2 hashed_pas char(40) 0 0...
2011 Dec 09
1
[LLVMdev] Implementing devirtualization
...%3 = bitcast i8* %x2.i.i.i to i32*
store i32 2, i32* %3, align 4, !tbaa !0
store i32 (...)** bitcast (i8** getelementptr inbounds ([5 x i8*]*
@_ZTV1B, i64 0, i64 2) to i32 (...)**), i32 (...)*** %2, align 8
%isnull = icmp eq i8* %call, null
br i1 %isnull, label %delete.end, label %delete.notnull
delete.notnull: ; preds = %invoke.cont3
tail call void @_ZdlPv(i8* %call) nounwind
br label %delete.end
delete.end: ; preds =
%delete.notnull, %invoke.cont3
%isnull16 = icmp eq i8* %call1, null
br i1 %isnull16, label...
2018 Jul 20
3
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
...::narrow_oop_base() > 0) { // Implies UseCompressedOops.
+ if (Universe::narrow_oop_base() != NULL) { // Implies UseCompressedOops.
if (val && val->is_Mach()) {
if (val->as_Mach()->ideal_Opcode() == Op_DecodeN) {
// This assumes all Decodes with TypePtr::NotNull are matched
to nodes that
diff -r 3544d85cfe11 src/share/vm/opto/loopPredicate.cpp
--- a/src/share/vm/opto/loopPredicate.cpp Thu Jul 19 10:00:36 2018 +0100
+++ b/src/share/vm/opto/loopPredicate.cpp Fri Jul 20 10:06:37 2018 +0800
@@ -869,7 +869,7 @@
Node* idx = cmp->in...
2011 Dec 09
0
[LLVMdev] Implementing devirtualization
On Thu, Dec 8, 2011 at 2:11 PM, Vitor Luis Menezes <vitor at utexas.edu> wrote:
> We've got the following test case:
>
>
> class A {
> public:
> int x;
> A(int x) : x(x) {}
> int hoo() {return 4;}
> virtual int foo() {return x;}
> virtual int goo() {return foo()+10;}
> virtual int operator+(A &a) {
> return x + a.x;
> }
> };
2018 Jul 23
2
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
...ressedOops.
>> + if (Universe::narrow_oop_base() != NULL) { // Implies
>> UseCompressedOops.
>> if (val && val->is_Mach()) {
>> if (val->as_Mach()->ideal_Opcode() == Op_DecodeN) {
>> // This assumes all Decodes with TypePtr::NotNull are
>> matched
>> to nodes that
>> diff -r 3544d85cfe11 src/share/vm/opto/loopPredicate.cpp
>> --- a/src/share/vm/opto/loopPredicate.cpp Thu Jul 19 10:00:36 2018
>> +0100
>> +++ b/src/share/vm/opto/loopPredicate.cpp Fri Jul 20 10:06:37 2018
>> +0800...
2009 Apr 03
2
Start application with no sound
Hi guys!
Is there a ways to start an application with wine but diable it's sound? Command flag maybe? I'm interested in disabling the sound for only one application, otherwise i would go into wine setting and uncheck everything :)
Thanks.
2007 Jan 22
0
dropdown list
...;],
[''Commercial Land''],
[''Industrial Building''],
[''Industrial Shed''],
[''Farm House'']], to_s), :onchange =>
"content.category(this,notnull ) ;" %>
please help me....
Thank you.
--
Posted via http://www.ruby-forum.com/.
2007 Feb 19
0
Invalid SQL generated with PostgreSQL 8.2.3
...ctive_record/transactions.rb:95:in `transaction''
from /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.2/lib/
active_record/acts/list.rb:105:in `move_to_bottom''
from (irb):3
The error is pretty specific. I''m thinking the where clause should be
(slideshow_id NOTNULL AND position > 1)?
Any help?
Thanks,
Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public...
2011 Dec 08
2
[LLVMdev] Implementing devirtualization
We've got the following test case:
class A {
public:
int x;
A(int x) : x(x) {}
int hoo() {return 4;}
virtual int foo() {return x;}
virtual int goo() {return foo()+10;}
virtual int operator+(A &a) {
return x + a.x;
}
};
class B : public A {
public:
B(int x) : A(x) {}
int hoo() {return 2;}
virtual int foo() {return A::foo()*2;}
};
int main() {
A* a = new A(1);
2018 Jul 19
2
error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int')
Hi HotSpot and LLVM developers,
I am building OpenJDK8[1] with LLVM toolchain[2] for mips64el, it failed
to build:
/home/loongson/jdk8-mips/hotspot/src/share/vm/opto/lcm.cpp:52:35: error:
ordered comparison between pointer and zero ('address' (aka 'unsigned
char *') and 'int')
if (Universe::narrow_oop_base() > 0) { // Implies UseCompressedOops.