This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/Users/ruerue/code/rubinius/master/vm/vm | |
require "rubygems" | |
require "rack" | |
require "rack/builder" | |
require "rack/lint" | |
require "rack/response" | |
require "rack/showexceptions" | |
require "rack/utils" | |
require "rack/handler/cgi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) p *((SendSite*)tup->field[i]) | |
$72 = { | |
<rubinius::Object> = { | |
<rubinius::ObjectHeader> = { | |
{ | |
{ | |
obj_type_ = rubinius::SendSiteType, | |
zone = rubinius::MatureObjectZone, | |
age = 0, | |
Forwarded = 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CGI::HtmlExtension#checkbox_group when passed Hash | |
- uses the passed Hash to generate the checkbox sequence | |
- ignores a passed block | |
Program received signal EXC_BAD_ACCESS, Could not access memory. | |
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004 | |
0x000ef9cf in immix::Block::status (this=0x0) at immix.hpp:142 | |
142 return status_; | |
(gdb) bt | |
#0 0x000ef9cf in immix::Block::status (this=0x0) at immix.hpp:142 | |
#1 0x000f241c in immix::GC<rubinius::ImmixGC::ObjectDescriber>::mark_address (this=0x400420, addr={address_ = 41245460}, alloc=@0x400464) at immix.hpp:698 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Node in the URL resolution tree. | |
# | |
class Node | |
attr_accessor :component, :definition | |
attr_accessor :statics, :placeholders, :consumables, :maybes, :rest | |
def initialize(component) | |
@component = component | |
@statics = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def maps(); @maps ||= Hash.new {|h, k| h[k] = {} }; end | |
def on(methods, *pathspec, &block) | |
methods = [:get, :put, :post, :head] if methods == true | |
methods.each {|m| | |
tier = pathspec.inject(maps[m]) {|current, component| | |
current[component] ||= {} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 583f976309cd930319adde681dbd45eb18773bf2 Mon Sep 17 00:00:00 2001 | |
From: Eero Saynatkari <projects@kittensoft.org> | |
Date: Sun, 14 Dec 2008 20:35:12 +0200 | |
Subject: [PATCH] Temp patc | |
--- | |
vm/assembler/jit.cpp | 23 ++++++++++++----------- | |
1 files changed, 12 insertions(+), 11 deletions(-) | |
diff --git a/vm/assembler/jit.cpp b/vm/assembler/jit.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Directory in which the wiki pages live | |
Giraffe.wikiroot = "/Users/ruerue/code/rubinius/master/doc" | |
# Directory in which .git lives | |
Giraffe.reporoot = "#{Giraffe.wikiroot}/.." | |
# Append extension to *all* page name candidates | |
Giraffe.to_filename = lambda {|uri| uri + ".txt" } | |
Giraffe.to_uri = lambda {|file| file.chomp ".txt" } | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef RBX_GC_ROOT_HPP | |
#define RBX_GC_ROOT_HPP | |
#include <stdexcept> | |
#include "vm/linkedlist.hpp" | |
#include "vm/object.hpp" | |
#include "vm/oop.hpp" | |
#include "vm/prelude.hpp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef RBX_GC_ROOT_HPP | |
#define RBX_GC_ROOT_HPP | |
#include "prelude.hpp" | |
#include "oop.hpp" | |
#include <stdexcept> | |
#include "linkedlist.hpp" | |
namespace rubinius { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef RBX_GC_ROOT_HPP | |
#define RBX_GC_ROOT_HPP | |
#include "prelude.hpp" | |
#include "oop.hpp" | |
#include <stdexcept> | |
#include "linkedlist.hpp" | |
namespace rubinius { |