search for: preiniti

Displaying 20 results from an estimated 20 matches for "preiniti".

Did you mean: preinit
2006 Mar 07
2
Inode Usage
I am building a tool to identify the file that has a specific LBA. The approach I am using is to search through each inode from number 2 up. This approach works well with UFS1 file systems as then preinitialize all the inodes. However, UFS2 does lazy inode initialization so there are always some that are basically garbage. I have not found any relaiable way to determine from the inode contents if it is in use or not. I suspect that information is in the inode bit map. However, I haven'...
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
...ike # Don''t change this file! # Configure your app in config/environment.rb and config/environments/*.rb RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT) module Rails class << self def boot! unless booted? preinitialize pick_boot.run end end def booted? defined? Rails::Initializer end def pick_boot (vendor_rails? ? VendorBoot : GemBoot).new end def vendor_rails? File.exist?("#{RAILS_ROOT}/vendor/rails") end def preinitialize l...
2011 Feb 17
2
Pre-allocation of matrices is LESS efficient?
Motivation: during each iteration, my code needs to collect tabular data (and use it only during that iteration), but the rows of data may vary. I thought I would speed it up by preinitializing the matrix that collects the data with zeros to what I know to be the maximum number of rows. I was surprised by what I found... # set up (not the puzzling part) x<-matrix(runif(20),nrow=4); y<-matrix(0,nrow=12,ncol=5); foo<-c(); # this is what surprises me... what the? > syste...
2008 Mar 24
3
Yet again: Gem plugins
The patch I''m working on is just a) A more declarative way of specifying the gems your app uses, and having Rails automatically require them for you, and b) A mechanism for enabling those gems hook up to your target app, just like init.rb does for file-system plugins. Please take a look at the Trac ticket as it''s more self-explanatory: http://dev.rubyonrails.org/ticket/11167
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
...; something else than VIRTIO_BALLOON_S_NR for its size or something else > > than sizeof(vb->stats) as the last argument to sg_init_one in this > > file. > > Ah, got it. Would one of you create a fixed patch for this, or should I? > > An easy way to solve it would be to preinitialize the events array > and return zeroes to the host, but I don't know if that's the right > solution. I think that's out of spec. > Another option would be to return 'idx' from update_balloon_stats, > and use that for the size: > > diff --git a/drivers/vi...
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
...; something else than VIRTIO_BALLOON_S_NR for its size or something else > > than sizeof(vb->stats) as the last argument to sg_init_one in this > > file. > > Ah, got it. Would one of you create a fixed patch for this, or should I? > > An easy way to solve it would be to preinitialize the events array > and return zeroes to the host, but I don't know if that's the right > solution. I think that's out of spec. > Another option would be to return 'idx' from update_balloon_stats, > and use that for the size: > > diff --git a/drivers/vi...
2017 Mar 28
1
[PATCH] virtio_balloon: prevent uninitialized variable use
...g 'idx' from > update_balloon_stats, my patch > > virtio_balloon: don't push uninitialized buffers to stats virtqueue > > needs to be redone anyway. Thanks! Can you do it soon pls? I'd like to do a pull request. > >> An easy way to solve it would be to preinitialize the events array > >> and return zeroes to the host, but I don't know if that's the right > >> solution. > > > > > > I think that's out of spec. > > > >> Another option would be to return 'idx' from update_balloon_stats, &g...
2017 Mar 28
1
[PATCH] virtio_balloon: prevent uninitialized variable use
...g 'idx' from > update_balloon_stats, my patch > > virtio_balloon: don't push uninitialized buffers to stats virtqueue > > needs to be redone anyway. Thanks! Can you do it soon pls? I'd like to do a pull request. > >> An easy way to solve it would be to preinitialize the events array > >> and return zeroes to the host, but I don't know if that's the right > >> solution. > > > > > > I think that's out of spec. > > > >> Another option would be to return 'idx' from update_balloon_stats, &g...
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
On Fri, Mar 24, 2017 at 7:38 PM, David Hildenbrand <david at redhat.com> wrote: > On 23.03.2017 16:17, Arnd Bergmann wrote: >> The latest gcc-7.0.1 snapshot reports a new warning: >> >> virtio/virtio_balloon.c: In function 'update_balloon_stats': >> virtio/virtio_balloon.c:258:26: error: 'events[2]' is used uninitialized in this function
2017 Mar 24
2
[PATCH] virtio_balloon: prevent uninitialized variable use
On Fri, Mar 24, 2017 at 7:38 PM, David Hildenbrand <david at redhat.com> wrote: > On 23.03.2017 16:17, Arnd Bergmann wrote: >> The latest gcc-7.0.1 snapshot reports a new warning: >> >> virtio/virtio_balloon.c: In function 'update_balloon_stats': >> virtio/virtio_balloon.c:258:26: error: 'events[2]' is used uninitialized in this function
2012 Sep 04
0
Mongrel_service and bundler
...he service starts, mongrels does not start because am unable it has to start with bundle exec. my question, how can I include bundle exec in the command that creates the windows service so that it will start mongrels with bundle? is there any other way, perhaps including bundle exec in boot.rb or preinitializer.rb so that it will loaded automatically? am using rails 2.3. The mongrel log is below ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with production environment... c:/Ruby/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/runtime.rb:31:in `setup'': You have already...
2010 Oct 22
6
(Unable to start rails application) ruby scipt/server error
1) I installed the ruby-1.9.2-p0 and rubygems-1.3.7 in the (/usr/local/src directory ) 2) Then i installed rails from terminal by typing follwoing sudo gem install rails --include-dependencies 3) Then i made a rails applcation from terminal as rails new demo then cd demo ruby
2008 Mar 25
3
Com32 api problem !
(sorry for my english if it is approximate !) I want to access harddisk from com32 api with PXELINUX. I try to use int 13h Extended Read Drive Parameters (48h), it doesn't works. Here is my code, I have an error 1 in AH return code. Int 13h Read Drive Parameters (08h) work well. ******************************************************************************************* struct params {
2017 Mar 24
0
[PATCH] virtio_balloon: prevent uninitialized variable use
...s smaller, either by using > something else than VIRTIO_BALLOON_S_NR for its size or something else > than sizeof(vb->stats) as the last argument to sg_init_one in this > file. Ah, got it. Would one of you create a fixed patch for this, or should I? An easy way to solve it would be to preinitialize the events array and return zeroes to the host, but I don't know if that's the right solution. Another option would be to return 'idx' from update_balloon_stats, and use that for the size: diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index cd...
2017 Mar 27
0
[PATCH] virtio_balloon: prevent uninitialized variable use
...create a fixed patch for this, or should I? I will do it. If we go the route of returning 'idx' from update_balloon_stats, my patch virtio_balloon: don't push uninitialized buffers to stats virtqueue needs to be redone anyway. Thanks! >> An easy way to solve it would be to preinitialize the events array >> and return zeroes to the host, but I don't know if that's the right >> solution. > > > I think that's out of spec. > >> Another option would be to return 'idx' from update_balloon_stats, >> and use that for the size: &...
2011 Oct 18
8
rspec 1.3.2, Rails 2.3.14 - plugins not loading
Hi there I have a weird situation. I have inherited a project in Rails 1.2.3 that has been upgraded to Rails 2.3.14 (and is running). I have installed Cucumber and Rspec to start to write features/tests for the new code that needs to be written. In my Gemfile, these Gems are loaded: group :test do gem ''rspec-rails'', ''~> 1.3.4'', :require =>
2002 Nov 04
0
CUPS PostScript drivers for Samba explained -- was: Re: 2.2.6 and printer questions
...and printer questions > Reply-To: Volker.Lendecke@SerNet.DE > Date: Mon, 04 Nov 2002 08:54:01 +0100 > Organization: Service Network GmbH, Goettingen, Germany > > -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > >> If you could get around the EULA, then you could package preinitialized >> drivers and write the information to smbd's tdbs. We have support for >> storing driver initialization data already. > > Have you heard that you can get CUPS printer drivers exactly for that > from cups.org? If they are good drivers, this could be very interest...
2016 Apr 15
0
Wine release 1.9.8
...e for pending events. msi: Fix stack alignment in CUSTOMPROC_wrapper. ntdll/tests: Fix some test failures on Win 8+. ntdll/tests: Add tests for iosb.Status value after pending FSCTL_PIPE_LISTEN call. ntdll: Do not update iosb.Status after FSCTL_PIPE_LISTEN call. ntdll: Preinitialize OS version data in thread_init. ntdll: Handle stack guard pages on x86_64. kernel32/tests: Use inline implementation of NtCurrentTeb for virtual tests. kernel32/tests: Port stack commit tests to x86_64. services: Initialize environment block immediately after startup....
2003 Mar 23
4
What am I missing here?!
OK, I've tried changing my printcap name from printcap to cups. Printing works fine locally using CUPS on the Samba box. What am I missing here? Why can't I print to the Samba box via the Windows and linux clients? Shared directories work fine. I am really frustrated here and have exhausted Google and all other resources I have. Here's my smb.conf for what it's worth.
2002 Jan 30
1
Patch: update zlib/* to 1.1.3
...ted in the file ChangeLog. -The main changes since 1.1.1 are: +The changes made in version 1.1.3 are documented in the file ChangeLog. +The main changes since 1.1.2 are: -- added contrib/minzip, mini zip and unzip based on zlib (Gilles Vollant) - See http://www.winimage.com/zLibDll/unzip.html -- preinitialize the inflate tables for fixed codes, to make the code - completely thread safe (Mark) -- some simplifications and slight speed-up to the inflate code (Mark) -- fix gzeof on non-compressed files (Allan Schrum) -- add -std1 option in configure for OSF1 to fix gzprintf (Martin Mokrejs) -- use def...