/lucene-3.6.0/solr/core/src/java/org/apache/solr/internal/csv/ |
H A D | ExtendedBufferedReader.java | 78 public int read() throws IOException { method in class:ExtendedBufferedReader 81 lookaheadChar = super.read(); 85 lookaheadChar = super.read(); 96 * Returns the last read character again. 98 * @return the last read char or UNDEFINED 108 * performs an iteratative read on the underlying stream 110 * - less than len chars have been read 112 * - next read is not blocking 114 * @return nof chars actually read or END_OF_STREAM 116 public int read(cha method in class:ExtendedBufferedReader [all...] |
H A D | CSVParser.java | 183 * @throws IOException on parse error or input read-failure 204 * @throws IOException on parse error or input read-failure 234 * @throws IOException on parse error or input read-failure 309 // get the last read char (required for empty line detection) 312 // read the next char and set eol 318 int c = in.read(); 329 c = in.read(); 350 c = in.read(); 431 c = in.read(); 461 c = in.read(); [all...] |
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/analysis/ |
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...] |
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();
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/util/ |
H A D | TestPagedBytes.java | 51 int read = 0; 52 while(read < numBytes) { 54 verify[read++] = in.readByte(); 56 int chunk = Math.min(random.nextInt(1000), numBytes - read); 57 in.readBytes(verify, read, chunk); 58 read += chunk;
|
/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 | 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
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/ |
H A D | InputStreamDataInput.java | 36 int v = is.read(); 44 final int cnt = is.read(b, offset, len); 46 // Partially read the input, but no more data available in the stream.
|
/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/facet/src/test/org/apache/lucene/util/ |
H A D | UnsafeByteArrayInputStreamTest.java | 41 int by = ubais.read(); 44 by = ubais.read(); 63 int by = ubais.read(); 66 by = ubais.read(); 86 int by = ubais.read(); 89 by = ubais.read(); 104 int by2 = ubais.read(); 107 by2 = ubais.read(); 118 assertEquals(-1, ubais.read()); 129 ubais.read(); [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | CharacterUtils.java | 131 * Fills the {@link CharacterBuffer} with characters read from the given 132 * reader {@link Reader}. This method tries to read as many characters into 150 * the reader to read characters from. 191 final int read = reader.read(charBuffer, 194 if (read == -1) { 199 assert read > 0; 200 buffer.length = read + offset; 202 // If we read only a single char, and that char was a 203 // high surrogate, read agai [all...] |
/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/contrib/facet/src/java/org/apache/lucene/util/encoding/ |
H A D | VInt8IntDecoder.java | 36 int first = in.read();
|
H A D | SimpleIntDecoder.java | 42 int nRead = in.read(buffer, offset, 4 - offset);
|
/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/core/src/test/org/apache/lucene/util/ |
H A D | TestPagedBytes.java | 55 int read = 0; 56 while(read < numBytes) { 58 verify[read++] = in.readByte(); 60 int chunk = Math.min(random.nextInt(1000), numBytes - read); 61 in.readBytes(verify, read, chunk); 62 read += chunk;
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestSizeBoundedForceMerge.java | 61 sis.read(dir); 75 sis.read(dir); 108 sis.read(dir); 135 sis.read(dir); 162 sis.read(dir); 189 sis.read(dir); 215 sis.read(dir); 242 sis.read(dir); 275 sis.read(dir); 307 sis.read(di [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestSizeBoundedForceMerge.java | 61 sis.read(dir); 75 sis.read(dir); 108 sis.read(dir); 135 sis.read(dir); 162 sis.read(dir); 189 sis.read(dir); 215 sis.read(dir); 242 sis.read(dir); 275 sis.read(dir); 307 sis.read(di [all...] |
H A D | TestMultiReader.java | 28 sis.read(dir);
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/analysis/ |
H A D | LegacyHTMLStripCharFilterTest.java | 57 while ((ch = reader.read()) != -1){ 73 while ((ch = reader.read()) != -1){ 93 while ((ch = reader.read()) != -1){ 110 while ((ch = reader.read()) != -1){ 127 while ((ch = reader.read()) != -1){ 143 while ((ch = reader.read()) != -1){ 160 while ((ch = reader.read()) != -1){ 210 while ((ch = reader.read()) != -1){ 227 while ((ch = reader.read()) != -1){ 242 while ((ch = reader.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);
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/impl/ |
H A D | XMLResponseParser.java | 122 throw new Exception( "already read the response!" ); 155 STR (true) { @Override public String read( String txt ) { return txt; } }, 156 INT (true) { @Override public Integer read( String txt ) { return Integer.valueOf(txt); } }, 157 FLOAT (true) { @Override public Float read( String txt ) { return Float.valueOf(txt); } }, 158 DOUBLE (true) { @Override public Double read( String txt ) { return Double.valueOf(txt); } }, 159 LONG (true) { @Override public Long read( String txt ) { return Long.valueOf(txt); } }, 160 BOOL (true) { @Override public Boolean read( String txt ) { return Boolean.valueOf(txt); } }, 161 NULL (true) { @Override public Object read( String txt ) { return null; } }, 164 public Date read( String txt ) { 175 ARR (false) { @Override public Object read( Strin 187 public abstract Object read( String txt ); method in class:XMLResponseParser.KnownType [all...] |
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/common/util/ |
H A D | TestFastInputStream.java | 62 int b = in.read(); 67 | (in.read() & 0x3F)); 70 | ((in.read() & 0x3F) << 6) 71 | (in.read() & 0x3F));
|