search for: reday

Displaying 5 results from an estimated 5 matches for "reday".

Did you mean: rday
2006 Jul 21
0
Marshal.dump not dumping entire object?
...eously filed this problem with Matt Lipper, I''m also hoping someone here can can guide me a little - either in implementation (usage of Marshal), or to aid me to fix Runt to support Marshal. script/console Loading development environment. >> start_time = Runt::PDate.min(Runt::REDay::ANY_DATE.year, Runt::REDay::ANY_DATE.month,Runt::REDay::ANY_DATE.day, 8, 11) => #<Runt::PDate: 3531621371/1440,0,2299161> >> data = Marshal.dump(start_time) => "\004\010u:\020Runt::PDateA\004\010[\010o:\rRational\a: \017@numeratorl+\a\373C\200\322:\021@denominatori\002\2...
2006 Jul 21
0
[RESOLVED] Marshal.dump not dumping entire object?
...eously filed this problem with Matt Lipper, I''m also hoping someone here can can guide me a little - either in implementation (usage of Marshal), or to aid me to fix Runt to support Marshal. script/console Loading development environment. >> start_time = Runt::PDate.min(Runt::REDay::ANY_DATE.year, Runt::REDay::ANY_DATE.month,Runt::REDay::ANY_DATE.day, 8, 11) => #<Runt::PDate: 3531621371/1440,0,2299161> >> data = Marshal.dump(start_time) => "\004\010u:\020Runt::PDateA\004\010[\010o:\rRational\a: \017@numeratorl+\a\373C\200\322:\021@denominatori\002\2...
2012 Jul 03
2
[PATCH v2] virtio-scsi: hotplug support for virtio-scsi
..._node { + struct virtio_scsi *vscsi; + struct virtio_scsi_event event; + struct work_struct work; +}; + struct virtio_scsi_vq { /* Protects vq */ spinlock_t vq_lock; @@ -67,6 +74,9 @@ struct virtio_scsi { struct virtio_scsi_vq event_vq; struct virtio_scsi_vq req_vq; + /* Get some buffers reday for event vq */ + struct virtio_scsi_event_node event_list[VIRTIO_SCSI_EVENT_LEN]; + struct virtio_scsi_target_state *tgt[]; }; @@ -202,6 +212,97 @@ static void virtscsi_ctrl_done(struct virtqueue *vq) spin_unlock_irqrestore(&vscsi->ctrl_vq.vq_lock, flags); }; +static int virtscsi_...
2012 Jul 03
2
[PATCH v2] virtio-scsi: hotplug support for virtio-scsi
..._node { + struct virtio_scsi *vscsi; + struct virtio_scsi_event event; + struct work_struct work; +}; + struct virtio_scsi_vq { /* Protects vq */ spinlock_t vq_lock; @@ -67,6 +74,9 @@ struct virtio_scsi { struct virtio_scsi_vq event_vq; struct virtio_scsi_vq req_vq; + /* Get some buffers reday for event vq */ + struct virtio_scsi_event_node event_list[VIRTIO_SCSI_EVENT_LEN]; + struct virtio_scsi_target_state *tgt[]; }; @@ -202,6 +212,97 @@ static void virtscsi_ctrl_done(struct virtqueue *vq) spin_unlock_irqrestore(&vscsi->ctrl_vq.vq_lock, flags); }; +static int virtscsi_...
2005 Dec 12
2
Using a lib in YAML fixtures
...sion in a binary field in my db. I figured that then in order to do the fixtures, I''d need to do some erb in the yaml file. So I came up with this: onetime: id: 1 name: One Time description: This event occurs only one time. timex: <%= REYear.new(7) & REMonth.new(24) & REDay.new(3, 0, 17, 0) %> If I try to load in the fixture, I get the following error: 1) Error: test_create(EventTest): Fixture::FormatError: a YAML error occured parsing /Users/pergesu/work/mesafire/config/../test/fixtures/events.yml. Please note that YAML must be consistently indented using space...