My Recent Pastes (139 and counting)
Recent Pasties by enebo (139 and counting)
Below are summaries of the 15 most recent pasties by enebo.
January 08, 2009
4:19PM EDT
by enebo
View more (17 lines)
1 2 3 4 5 |
@Override
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock) {
IRubyObject value = caseNode == null ? null : caseNode.interpret(runtime, context, self, aBlock);
context.pollThreadEvents();
|
November 28, 2008
5:54PM EDT
by enebo
View more (75 lines)
1 2 3 4 5 |
Index: src/org/jruby/RubyThread.java =================================================================== --- src/org/jruby/RubyThread.java (revision 8191) +++ src/org/jruby/RubyThread.java (working copy) @@ -87,6 +87,7 @@ |
November 28, 2008
5:00PM EDT
by enebo
View more (16 lines)
1 2 3 4 5 |
require 'java' class Base include java.util.Comparator end |
November 26, 2008
4:56PM EDT
by enebo
View more (10 lines)
1 2 3 4 5 |
require 'java' class Java::lang.Iterable def each(&block) iter = iterator |
November 25, 2008
4:13PM EDT
by enebo
View more (31 lines)
1 2 3 4 5 |
Before (-X-C --server): user system total real control, const access directly 0.526000 0.000000 0.526000 ( 0.526167) 1m colon2 (constant 2) 0.675000 0.000000 0.675000 ( 0.674712) |
November 25, 2008
2:05PM EDT
by enebo
View more (28 lines)
1 2 3 4 5 |
Index: src/org/jruby/RubyIO.java =================================================================== --- src/org/jruby/RubyIO.java (revision 8134) +++ src/org/jruby/RubyIO.java (working copy) @@ -54,6 +54,7 @@ |
November 22, 2008
1:18PM EDT
by enebo
View more (14 lines)
1 2 3 4 5 |
require 'java' import java.util.ArrayList class ArrayList |
November 21, 2008
10:10AM EDT
by enebo
View more (22 lines)
1 2 3 4 5 |
static VALUE
rb_file_chown(obj, owner, group)
VALUE obj, owner, group;
{
OpenFile *fptr;
|
November 20, 2008
5:44PM EDT
by enebo
View more (22 lines)
1 2 3 4 5 |
Index: src/builtin/yaml.rb =================================================================== --- src/builtin/yaml.rb (revision 8083) +++ src/builtin/yaml.rb (working copy) @@ -97,7 +97,7 @@ |
November 11, 2008
6:04PM EDT
by enebo
View more (51 lines)
1 2 3 4 5 |
**** JRuby 1.1.5 simple routing bench on Rails 2.0.2 (yeah old) enebo:16:59 ~/jruby/test/bench/rails 828% ~/jruby/releases/jruby-1.1.5/bin/jruby --server bench_rails_routing.rb JRuby limited openssl loaded. gem install jruby-openssl for full support. |
November 04, 2008
12:36PM EDT
by enebo
View more (40 lines)
1 2 3 4 5 |
def foo0(a, *b) puts "A=#{a}, B=#{b.inspect}" end def foo1(*a, b) |
November 03, 2008
3:24PM EDT
by enebo
View more (66 lines)
1 2 3 4 5 |
| k_for for_var keyword_in
{COND_PUSH(1);}
expr_value do
{COND_POP();}
compstmt
|
Pastie