/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | ReusableStringReader.java | 35 public int read(char[] c) { method in class:ReusableStringReader 36 return read(c, 0, c.length); 39 public int read(char[] c, int off, int len) { method in class:ReusableStringReader
|
H A D | AbstractAllTermDocs.java | 62 public int read(int[] docs, int[] freqs) throws IOException { method in class:AbstractAllTermDocs
|
H A D | TermDocs.java | 55 /** Attempts to read multiple entries from the enumeration, up to length of 60 * <p>Returns the number of entries read. Zero is only returned when the 62 int read(int[] docs, int[] freqs) throws IOException; method in interface:TermDocs
|
H A D | TermBuffer.java | 29 private boolean dirty; // true if text was set externally (ie not read via UTF8 bytes) 54 /** Call this if the IndexInput passed to {@link #read} 61 public final void read(IndexInput input, FieldInfos fieldInfos) method in class:TermBuffer
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/fa/ |
H A D | PersianCharFilter.java | 36 public int read(char[] cbuf, int off, int len) throws IOException { method in class:PersianCharFilter 37 final int charsRead = super.read(cbuf, off, len);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/cz/ |
H A D | TestCzechAnalyzer.java | 74 public int read() throws IOException { method in class:TestCzechAnalyzer.UnreliableInputStream
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/quality/trec/ |
H A D | TrecTopicsReader.java | 60 * @param reader where queries are read from. 62 * @throws IOException if cannot read the queries. 68 while (null!=(sb=read(reader,"<top>",null,false,false))) { 71 sb = read(reader,"<num>",null,true,false); 75 sb = read(reader,"<title>",null,true,false); 79 read(reader,"<desc>",null,false,false); 114 // read until finding a line that starts with the specified prefix 115 private StringBuilder read (BufferedReader reader, String prefix, StringBuilder sb, boolean collectMatchLine, boolean collectAll) throws IOException { method in class:TrecTopicsReader 135 //System.out.println("read: "+sb);
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/ |
H A D | UnsafeByteArrayInputStream.java | 78 * buffer[endPos] will never be read 115 * buffer[endPos] will never be read 134 public int read() throws IOException { method in class:UnsafeByteArrayInputStream
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
H A D | CharFilter.java | 61 public int read(char[] cbuf, int off, int len) throws IOException { method in class:CharFilter 62 return input.read(cbuf, off, len);
|
H A D | CharReader.java | 53 public int read(char[] cbuf, int off, int len) throws IOException { method in class:CharReader 54 return input.read(cbuf, off, len);
|
H A D | MappingCharFilter.java | 51 public int read() throws IOException { method in class:MappingCharFilter 83 return input.read(); 121 public int read(char[] cbuf, int off, int len) throws IOException { method in class:MappingCharFilter 123 int l = input.read(tmp, 0, len); 130 int c = read();
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/analysis/ |
H A D | MockCharFilter.java | 48 public int read() throws IOException { method in class:MockCharFilter 60 // otherwise actually read one 61 int ch = in.read(); 76 public int read(char[] cbuf, int off, int len) throws IOException { method in class:MockCharFilter 79 int c = read();
|
H A D | MockReaderWrapper.java | 27 * exceptions, and spoon feed read chars. */ 60 public int read(char[] cbuf, int off, int len) throws IOException { method in class:MockReaderWrapper 64 final int read; 76 read = in.read(cbuf, off, Math.min(realLen, left)); 77 assert read != -1; 78 readSoFar += read; 80 read = in.read(cbuf, off, realLen); 82 return read; [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/ |
H A D | PatternReplaceCharFilter.java | 71 public int read(char[] cbuf, int off, int len) throws IOException { method in class:PatternReplaceCharFilter 76 for (int cnt = input.read(temp); cnt > 0; cnt = input.read(temp)) { 82 return transformedInput.read(cbuf, off, len);
|
H A D | BufferedTokenStream.java | 43 * Token t2 = read(); 88 * Process a token. Subclasses may read more tokens from the input stream, 101 Token t = read(); 113 protected Token read() throws IOException { method in class:BufferedTokenStream 123 * be returned by a future call to <code>read()</code> 136 * <code>read()</code> from the stream.
|
/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/analysis/icu/segmentation/ |
H A D | ICUTokenizer.java | 92 if (length <= 0) // no more bytes to read; 121 * Text is read from the input stream in 4kB chunks. Within a 4kB chunk of 154 int returned = read(input, buffer, leftover, requested); 158 else { /* still more data to be read, find a safe-stopping place */ 173 private static int read(Reader input, char[] buffer, int offset, int length) throws IOException { method in class:ICUTokenizer 179 int count = input.read( buffer, offset + location, remaining );
|
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/ |
H A D | InstantiatedTermDocs.java | 77 public int read(int[] docs, int[] freqs) { method in class:InstantiatedTermDocs
|
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/ |
H A D | NativePosixUtil.java | 39 public static native FileDescriptor open_direct(String filename, boolean read) throws IOException; argument
|
H A D | WindowsDirectory.java | 94 bytesRead = WindowsDirectory.read(fd, b, offset, length, getFilePointer()); 102 throw new EOFException("read past EOF: " + this); 136 private static native int read(long fd, byte bytes[], int offset, int length, long pos) throws IOException; method in class:WindowsDirectory
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/fst/ |
H A D | ByteSequenceOutputs.java | 119 public BytesRef read(DataInput in) throws IOException { method in class:ByteSequenceOutputs
|
H A D | IntSequenceOutputs.java | 121 public IntsRef read(DataInput in) throws IOException { method in class:IntSequenceOutputs
|
H A D | NoOutputs.java | 82 public Object read(DataInput in) { method in class:NoOutputs
|
H A D | Outputs.java | 54 public abstract T read(DataInput in) throws IOException; method in class:Outputs
|
H A D | PositiveIntOutputs.java | 101 public Long read(DataInput in) throws IOException { method in class:PositiveIntOutputs
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/ |
H A D | ReadTokensTask.java | 34 * read all tokens out of that stream. 56 return "read " + recsCount + " docs; " + totalTokenCount + " tokens"; 125 public int read(char[] c) { method in class:ReadTokensTask.ReusableStringReader 126 return read(c, 0, c.length); 129 public int read(char[] c, int off, int len) { method in class:ReadTokensTask.ReusableStringReader
|