Displaying 20 results from an estimated 20 matches for "filereader".
Did you mean:
fileheader
2007 Dec 07
0
weird behavior of mocking ruby class methods
Hello everyone:
After I played with Rspec for three months, I realized a weird behavior of
mocking ruby classes (e.g. File).
Please let me post a sample code before I point out the problems:
#file_reader.rb (to be tested)
class FileReader
def do_read
File.read(''asd.txt'')
end
end
#file_reader_spec.rb
describe FileReader, "do_read" do
it "should throw File Not Found on non-existent file" do
reader = FileReader.new()
lambda {
reader.do_read
}.shoul...
2006 May 02
4
Indexing Speed?
Hi all,
Have been looking at lucene and ferret.
Have noticed that ferret takes ~463 seconds to index 200Mb of docs,
whereas lucene takes ~60 seconds.
I''m using the standard "get you started" sort of code provided by both
libraries.
My ruby code is: (abridged)
@index = Index::Index.new(:path => inIndexPath)
def createIndex(inRepositoryPath)
2004 Sep 10
2
Ogg FLAC
--- Ingo Ralf Blum <ingoralfblum@gmx.de> wrote:
> > currently flac sets all granulepos members of the ogg pages to 0,
> when
> > embedding a FLAC stream into an Ogg file. Is it possible to change
> this
> > behaviour to use a more reasonable value, e.g. the bytes written so
> far.
> So
> > when the first packets is 1000 bytes long it gets the granulepos
2004 Sep 10
0
Ogg FLAC
...tten, sample
> number, etc). I was going to forward this to vorbis-dev
> but haven't yet.
If you see the whole thing from a perspective of a filter graph, like
DirectShow or GStreamer, the number of bytes written so far is the best
solution. The graph for playing such a stream would be
FileReader -> OggDemultiplexer -> FLACDemultiplexer -> here we have PCM
audio data
Each filter has a capability to receive seek commands, which works upstream,
and each filter can deliver data by pushing it downstream. So lets look what
happens when you seek to a specific time. The FLAC demultiplexe...
2004 Sep 10
1
Ogg FLAC and granulepos
...oing to forward this to vorbis-dev
> > but haven't yet.
>
> If you see the whole thing from a perspective of a filter graph, like
> DirectShow or GStreamer, the number of bytes written so far is the
> best
> solution. The graph for playing such a stream would be
>
> FileReader -> OggDemultiplexer -> FLACDemultiplexer -> here we have
> PCM
> audio data
>
> Each filter has a capability to receive seek commands, which works
> upstream,
> and each filter can deliver data by pushing it downstream. So lets
> look what
> happens when you seek t...
2010 Apr 14
1
Cannot connect matroska splitter to theora encoder
...net/files/)
I use the matroska splitter directshow filter v1.0.2.9 (
<http://www.matroska.org/downloads/windows.html>
http://www.matroska.org/downloads/windows.html)
And I use the xiph theroa encoder directshow filter version 0.82.16930
The graph I try to create looks like :
fileReader -> Matroska Splitter -> theoraEncoder.
When I try to connect theora Encoder to the Matroska splitter the
ConnectDirect() method returns an error Code (0x80040207) which is
interpreted as
"There is no common media type between theses two pins"
And here is the issue : My gue...
2009 Mar 05
1
[PATCH 4/5] COM32: add trivial stat() function
From: Gene Cumm <gene.cumm at gmail.com>
COM32: add trivial stat() function; uses open(), fstat() then close()
or opendir(), closedir().
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
Not the most elegant thing in the world but it's been working for me.
diff --git a/com32/include/sys/stat.h b/com32/include/sys/stat.h
index ffc4105..2a06a68 100644
---
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
Hi,
I just pushed out changes that fix pretty much all the compiler build
warnings on the elflink branch. Also, I've added "auto extension"
support so that if the user doesn't type the file name extension it will
automatically be looked up, e.g. now typing "ls" will execute "ls.c32".
The following changes since commit
2010 Mar 18
0
SAMBA & Fuse
Hi All,
I'm developing a Fuse-based file system, which is intended to be
exported via Samba to the Windows world. My first question is how am I
supposed to export it. Currently I can export it only by setting the
allow_root mount option. Is it possible to share a Fuse file system
without allow_root?
The Share's section looks like this:
[dmfs]
comment = dmfstest
path =
2009 Jun 10
4
Wine path-association
hello.
I am trying to install an exe-file in the Program-Path of an individual Wine-Prefix. This exe-file reads an Inifile, which is in the same Directory.
When I use Winefile to open the .exe, the inifile is read correctly.
When I use it in a .desktop file with the order below, it does not work.
Code:
env WINEPREFIX "/opt/WPrefix" wine "C:\Program Files\Test\test.exe"
2007 Oct 08
16
Fileserver performance tests
...r = 20.0, avg depth = 2.3, mbytes=122
12746: 47.218: Removed any existing fileset bigfileset in 1 seconds
12746: 47.218: Creating fileset bigfileset...
12746: 60.222: Preallocated 1000 of 1000 of fileset bigfileset in 14 seconds
12746: 60.222: Creating/pre-allocating files
12746: 60.222: Starting 1 filereader instances
12751: 61.228: Starting 100 filereaderthread threads
12746: 64.228: Running...
12746: 65.238: Run took 1 seconds...
12746: 65.266: Per-Operation Breakdown
statfile1 988ops/s 0.0mb/s 0.0ms/op 22us/op-cpu
deletefile1 991ops/s 0.0mb/s 0.0ms/o...
2016 Apr 15
1
Need Help to solve an Error in R
Hi
Keep your answers to R help (others can help you too)
From the warning message it seems to me possible that function ReadExi needs to write something to the working directory. As I said I am not an expert in this package, but commands from help
R> make.gal.env(galname='galenv', gal.path='Exiqon')
R> ebatch <- ReadExi(galname='galenv',
2013 Jun 29
0
Syslinux 6.00 released
Hi,
Matt Fleming wrote:
> 'make efi64' will build just for x86-64. Likewise, 'make efi32' will
> build just for i386. You can combine these, so to build BIOS and efi64
> you'd do,
>
> make bios efi64
'make efi64' failed with:
ld -T /tmp/syslinux/efi/x86_64/syslinux.ld -Bsymbolic -pie -nostdlib
-znocombreloc -L/usr/lib64 --hash-style=gnu -m elf_x86_64
2011 Oct 15
6
winamp errors
...Deferred out_wave
PE 8430000- 8438000 Deferred albumart.w5s
PE 8440000- 846e000 Deferred auth.w5s
PE 8470000- 8477000 Deferred bmp.w5s
PE 8490000- 849e000 Deferred devices.w5s
PE 84a0000- 84a7000 Deferred dlmgr.w5s
PE 84c0000- 84c6000 Deferred filereader.w5s
PE 84d0000- 84d8000 Deferred gif.w5s
PE 84e0000- 84e7000 Deferred gracenote.w5s
PE 85a0000- 863d000 Deferred jnetlib.w5s
PE 8640000- 8668000 Deferred jpeg.w5s
PE 86b0000- 86fe000 Deferred ombrowser.w5s
PE 8710000- 8729000 Deferred playlist.w5s
PE...
2016 Apr 15
0
Need Help to solve an Error in R
> On Apr 15, 2016, at 6:07 AM, PIKAL Petr <petr.pikal at precheza.cz> wrote:
>
> Hi
>
> Keep your answers to R help (others can help you too)
>
> From the warning message it seems to me possible that function ReadExi needs to write something to the working directory. As I said I am not an expert in this package, but commands from help
>
> R>
2013 Jun 29
6
Syslinux 6.00 released
On Sat, 29 Jun, at 01:57:58AM, Igor Sverkos wrote:
> Hi,
>
> Matt Fleming wrote:
> > On Tue, 25 Jun, at 01:52:00PM, Helmut Hullen wrote:
> >> Thanks - now it crashes later ...
> >
> > What crash are you seeing?
> >
> >> I don't have the ia64 files which are needed for a complete binary. But
> >> maybe that's only my special
2006 Feb 20
46
Ruby + Apache Lucene using XMLRPC?
Please excuse me if this has been answered before.
Is there a "how-to" guide or a walkthrough on integrating Lucene with ROR via XMLRPC?
I got Ferret to work but I am worried that it''s not going to be as scalable.
I highly appreciate your assistance.
Thanks
Frank
---------------------------------
Relax. Yahoo! Mail virus
2020 May 29
15
[RFC 00/12] Audio DSP VirtIO and vhost drivers
This patch set is a follow up to "Add a vhost RPMsg API" [1], it is
marked as an RFC because firstly it depends on the RPMsg API series
and secondly it is currently being reviewed on ALSA and SOF mailing
lists, but any early comments from virtualisation developers would be
highly appreciated too!
Thanks
Guennadi
[1]
2020 May 29
15
[RFC 00/12] Audio DSP VirtIO and vhost drivers
This patch set is a follow up to "Add a vhost RPMsg API" [1], it is
marked as an RFC because firstly it depends on the RPMsg API series
and secondly it is currently being reviewed on ALSA and SOF mailing
lists, but any early comments from virtualisation developers would be
highly appreciated too!
Thanks
Guennadi
[1]
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and