Displaying 20 results from an estimated 6108 matches for "reader".
Did you mean:
header
2009 Jun 02
9
XML::LibXML::Reader
is there anybody who knows how we can get child values using libxml
(Reader class)
def xml_import_to_brands
require''xml''
reader = XML::Reader.file(''c:/brands.xml'')
.
.
.
2008 Jan 09
5
Parallel indexing doesn''t work?
...#!/usr/bin/env ruby
require ''rubygems''
require ''ferret''
include Ferret::Index
5.times do |i|
name = "index#{i}"
puts name
i = Ferret::I.new(:path => "/tmp/#{i}", :create => true)
i << {:name => name}
i.close
end
readers = []
readers << IndexReader.new("/tmp/0")
readers << IndexReader.new("/tmp/1")
readers << IndexReader.new("/tmp/2")
readers << IndexReader.new("/tmp/3")
readers << IndexReader.new("/tmp/4")
index_writer = IndexWriter.n...
2013 Oct 09
7
[LLVMdev] [lld] Handling a whole bunch of readers
Hi,
We have a whole bunch of readers(we would have some more too), and was
thinking if we should have a vector of Readers, and have a function
isMyFormat in each of them.
Any reader that knows to handle, goes ahead and parses the file.
On a side note, we currently use .objtxt as an figure out if the file is
a YAML file or not. I...
2006 Nov 22
2
crash while retrieving term vectors
This program reliably crashes for me (usually a segfault):
require ''rubygems''
require ''ferret''
reader=Ferret::Index::IndexReader.new ARGV
fields=reader.field_infos.fields
reader.max_doc.times{|n|
fields.each{|field|
reader.term_vector(n,field)
} unless reader.deleted?(n)
print "."; STDOUT.flush
}
As you can see, it just goes through the index, retrieving all the term
vecto...
2013 Oct 09
0
[LLVMdev] [lld] Handling a whole bunch of readers
On Oct 9, 2013, at 11:23 AM, Shankar Easwaran <shankare at codeaurora.org> wrote:
> We have a whole bunch of readers(we would have some more too), and was thinking if we should have a vector of Readers, and have a function isMyFormat in each of them.
>
> Any reader that knows to handle, goes ahead and parses the file.
>
> On a side note, we currently use .objtxt as an figure out if the file is a YA...
2018 Aug 27
2
LLVM/Clang version 7.0.0rc2 fails with gcc (Debian 8.2.0-4)
Hi,
I have not sent yet any bug-reports to llvm-dev but I am seeing this
build-failure:
...
[574/3685] Building CXX object
lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
FAILED: lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
/usr/bin/g++-8 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Ilib/Bitcode/Reader
-I/home/sdi/src/llvm-to...
2007 Mar 01
2
FerretHash
...is below.) This class offers a simplified Hash-like interface to
(a very restricted subset of) Ferret. Hence I call it FerretHash.
FerretHash comes with its very own pet Ferret bug. Run the crude unit
test to see the problem. (Long story short, it looks like term
frequency, as reported by IndexReader#terms, does not take deletions
into account.)
require ''rubygems''
require ''ferret''
require ''tempfile''
class FerretHash
def initialize(name=nil)
#make temp file name
unless path
tf=Tempfile.new("ferrethash_#$$")...
2018 Aug 29
3
Get full cmake lines and prepocessed source for a GCC bug report
...eed to set options for this in my build-script?
>
> From your other email, when the compiler crashed, ninja printed the invocation:
>
> /usr/bin/g++-8 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE
> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
> -Ilib/Bitcode/Reader
> -I/home/sdi/src/llvm-toolchain/llvm/lib/Bitcode/Reader -Iinclude
> -I/home/sdi/src/llvm-toolchain/llvm/include -fPIC
> -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra
> -Wno-unused-parameter -Wwrite-strings -Wcast-qual
> -Wno-missing-field-initializers -pedan...
2009 Jun 08
4
how can i get attribute values from xml using libxml
Hi ,
i have xml document like this
<?xml version="1.0" encoding="ISO-8859-9"?>
<Root><Stk Category="601" Group="60101"
Brand="001">....................
then i have to use Category attribute but reader class couldnt
recognize attributes
when i use these codes below for testing;
while reader.read
puts reader.node_type
end
it shows only 1 and 15 values which means
XML_READER_TYPE_ELEMENT => 1
XML_READER_TYPE_END_ELEMENT => 15
how can i get attribute valu...
2008 Dec 25
2
Acessing pdf help files (PR#13419)
Full_Name: Marc Thibault
Version: 2.8.1
OS: Windows XP Pro SP2
Submission from: (NULL) (216.104.125.106)
I had Adobe Acrobat 5 and Adobe Reader 9 installed. The .pdf "open" association
is to Reader.
When I selected "Help | Manuals(in pdf) | An Introduction to R", it brought up
the file in Acrobat instead of Reader. After making sure the default
associations were correctly pointing to Reader, I took the extreme step of...
2012 Mar 13
1
how to write crossed and nested random effects in a model
Dear R Users,
I have a question based on my research. I am analyzing reader-based
diagnostic data set. My study involves diabetic patients who were evaluated
for treatable diabetic retinopathy based on the presence or absence of two
pathologies in their eyes. Pathologies were identified using the clinical
examination (Gold standard method). In addition it can be identifi...
2007 May 11
3
shell.exec() on Windows, unexpected behavior
I have Windows XP machines with different software configurations.
My laptop has Adobe Reader 8 and Adobe Acrobat 6.
My desktop has Adobe Reader 8 and does not have Adobe Acrobat.
On both machines, PDF extensions are registered to Adobe Reader 8.0,
and double-clicking a pdf file in Windows Explorer opens Adobe Reader
8.0.
In R-2.5.0, with all Adobe windows closed, the command
shell.exec...
2018 Aug 29
2
LLVM/Clang version 7.0.0rc2 fails with gcc (Debian 8.2.0-4)
...t;>>>>
>>>>>> I have not sent yet any bug-reports to llvm-dev but I am seeing this
>>>>>> build-failure:
>>>>>>
>>>>>> ...
>>>>>> [574/3685] Building CXX object
>>>>>> lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
>>>>>> FAILED: lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
>>>>>> /usr/bin/g++-8 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE
>>>>>> -D__STDC_CONSTANT_MACROS -D__STDC_FORMA...
2011 Sep 21
1
{SOLVED} Re: PDF Reader/Editor for CentOS 5.7 (32 bit)?
On Tue, Sep 20, 2011 at 8:35 AM, Lanny Marcus <lmmailinglists at gmail.com> wrote:
> I had, in the past, a .pdf reader that also permitted me to fill in
> some information, when I received a .pdf file.
>
> I have KPDF installed, but that seems to only have Reader capability.
>
<snip>
> Received a contract via email and I would like to add some information
> and send it back via email.
>
&...
2018 Aug 28
2
LLVM/Clang version 7.0.0rc2 fails with gcc (Debian 8.2.0-4)
...e:
> On Mon, Aug 27, 2018 at 6:09 PM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>> Hi,
>>
>> I have not sent yet any bug-reports to llvm-dev but I am seeing this
>> build-failure:
>>
>> ...
>> [574/3685] Building CXX object
>> lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
>> FAILED: lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
>> /usr/bin/g++-8 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE
>> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
>> -Ilib/Bi...
2006 May 10
13
Issue in ActiveRecord generated reader methods
...ced the problem down to
the generated read methods. When
ActiveRecord::Base#generate_read_methods is false, all is well. When
its true, my migraine returns.
More research, reading, and I come to this curiosity...
ActiveRecord::Base#define_read_method(symbol, attr_name, column)
generates reader code for an attribute after Rails realizes there
should be a reader method for it, correct? But the generated reader
method body does not call read_attribute... instead it accesses the
attribute directly and performs a type cast (if necessary)
Is this intended? Am I missing something that...
2016 Aug 30
2
[PATCH v8 15/18] ARM: STi: DT: STiH407: Add uniperif reader dt nodes
On Fri, 26 Aug 2016, Peter Griffin wrote:
> This patch adds the DT node for the uniperif reader
> IP block found on STiH407 family silicon.
>
> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen at st.com>
> Signed-off-by: Peter Griffin <peter.griffin at linaro.org>
> ---
> arch/arm/boot/dts/stih407-family.dtsi | 26 ++++++++++++++++++++++++++
> 1 file change...
2016 Aug 30
2
[PATCH v8 15/18] ARM: STi: DT: STiH407: Add uniperif reader dt nodes
On Fri, 26 Aug 2016, Peter Griffin wrote:
> This patch adds the DT node for the uniperif reader
> IP block found on STiH407 family silicon.
>
> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen at st.com>
> Signed-off-by: Peter Griffin <peter.griffin at linaro.org>
> ---
> arch/arm/boot/dts/stih407-family.dtsi | 26 ++++++++++++++++++++++++++
> 1 file change...
2018 Aug 29
2
LLVM/Clang version 7.0.0rc2 fails with gcc (Debian 8.2.0-4)
...ilek at gmail.com> wrote:
>>>> Hi,
>>>>
>>>> I have not sent yet any bug-reports to llvm-dev but I am seeing this
>>>> build-failure:
>>>>
>>>> ...
>>>> [574/3685] Building CXX object
>>>> lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
>>>> FAILED: lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
>>>> /usr/bin/g++-8 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE
>>>> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_...
2007 Jul 29
7
RDig and AAF playing together
...earch will
not "see" the changes to Index B until I restart Mongrel (or restart
script/console). If I query Index B directly through
ClassB.find_by_contents("myfield:my_value") I see the updated results
immediately with no restart.
I know that RDig creates a single IndexReader for class. Does the
IndexReader cache the segments files in memory?
Does anyone have any ideas?
Thanks in advance for your help!
Erik