/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 { argument 37 final int charsRead = super.read(cbuf, off, len); 39 final int end = off + charsRead; 40 while (off < end) { 41 if (cbuf[off] == '\u200C') 42 cbuf[off] = ' '; 43 off++;
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/ |
H A D | FastWriter.java | 72 public void write(char cbuf[], int off, int len) throws IOException { argument 75 System.arraycopy(cbuf, off, buf, pos, len); 79 System.arraycopy(cbuf, off, buf, pos, space); 82 System.arraycopy(cbuf, off+space, buf, 0, pos); 87 sink.write(cbuf, off, len); 92 public void write(String str, int off, int len) throws IOException { argument 95 str.getChars(off, off+len, buf, pos); 99 str.getChars(off, off [all...] |
H A D | FastInputStream.java | 78 public int read(byte b[], int off, int len) throws IOException { argument 83 System.arraycopy(buf, pos, b, off, r); 91 int ret = in.read(b, off+r, len-r); 102 System.arraycopy(buf, pos, b, off+r, toRead); 120 public void readFully(byte b[], int off, int len) throws IOException { argument 122 int ret = read(b, off, len); 126 off += ret;
|
H A D | FastOutputStream.java | 68 public void write(byte arr[], int off, int len) throws IOException { argument 71 System.arraycopy(arr, off, buf, pos, len); 75 System.arraycopy(arr, off, buf, pos, space); 79 System.arraycopy(arr, off+space, buf, 0, pos); 87 out.write(arr, off, len);
|
/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/java/org/apache/lucene/analysis/ja/dict/ |
H A D | Dictionary.java | 61 public String getReading(int wordId, char surface[], int off, int len); argument 68 public String getBaseForm(int wordId, char surface[], int off, int len); argument 75 public String getPronunciation(int wordId, char surface[], int off, int len); argument
|
H A D | UserDictionary.java | 133 * @param off offset into text 137 public int[][] lookup(char[] chars, int off, int len) throws IOException { argument 145 int end = off + len; 146 for (int startOffset = off; startOffset < end; startOffset++) { 158 result.put(startOffset-off, segmentations[finalOutput]); 214 public String getReading(int wordId, char surface[], int off, int len) { argument 224 public String getBaseForm(int wordId, char surface[], int off, int len) { argument 229 public String getPronunciation(int wordId, char surface[], int off, int len) { argument
|
H A D | UnknownDictionary.java | 57 public String getReading(int wordId, char surface[], int off, int len) { argument
|
H A D | BinaryDictionary.java | 169 public String getBaseForm(int wordId, char surfaceForm[], int off, int len) { argument 176 System.arraycopy(surfaceForm, off, text, 0, prefix); 187 public String getReading(int wordId, char surface[], int off, int len) { argument 196 char ch = surface[off+i]; 213 public String getPronunciation(int wordId, char surface[], int off, int len) { argument 219 return getReading(wordId, surface, off, len); // same as the reading 253 readingLength = readingData & 0xfe; // UTF-16: mask off kana bit
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/ |
H A D | TopValueSource.java | 58 final int off = offset; 65 return vals.floatVal(doc + off); 70 return vals.intVal(doc + off); 75 return vals.longVal(doc + off); 80 return vals.doubleVal(doc + off); 85 return vals.strVal(doc + off); 90 return vals.strVal(doc + off);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
H A D | BaseCharFilter.java | 117 * @param off The output stream offset at which to apply the correction 121 protected void addOffCorrectMap(int off, int cumulativeDiff) { argument 130 assert (size == 0 || off >= offsets[size]) 131 : "Offset #" + size + "(" + off + ") is less than the last recorded offset " 134 if (size == 0 || off != offsets[size - 1]) { 135 offsets[size] = off;
|
H A D | CharFilter.java | 61 public int read(char[] cbuf, int off, int len) throws IOException { argument 62 return input.read(cbuf, off, len);
|
H A D | CharReader.java | 53 public int read(char[] cbuf, int off, int len) throws IOException { argument 54 return input.read(cbuf, off, len);
|
H A D | MappingCharFilter.java | 121 public int read(char[] cbuf, int off, int len) throws IOException { argument 129 for(int i = off; i < off + len; i++) {
|
H A D | CharArrayMap.java | 121 /** true if the <code>len</code> chars of <code>text</code> starting at <code>off</code> 123 public boolean containsKey(char[] text, int off, int len) { argument 124 return keys[getSlot(text, off, len)] != null; 142 * starting at <code>off</code> */ 143 public V get(char[] text, int off, int len) { argument 144 return values[getSlot(text, off, len)]; 161 private int getSlot(char[] text, int off, int len) { argument 162 int code = getHashCode(text, off, len); 165 if (text2 != null && !equals(text, off, len, text2)) { 171 } while (text2 != null && !equals(text, off, le 258 equals(char[] text1, int off, int len, char[] text2) argument 660 containsKey(char[] text, int off, int len) argument 681 get(char[] text, int off, int len) argument [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | ReusableStringReader.java | 39 public int read(char[] c, int off, int len) { argument 41 s.getChars(upto, upto+len, c, off); 50 s.getChars(upto, upto+left, c, off);
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/utils/ |
H A D | StringBuilderReader.java | 116 public int read(char cbuf[], int off, int len) throws IOException { argument 121 if (off < 0 || off > cbuf.length || len < 0 || off + len > cbuf.length) { 122 throw new IndexOutOfBoundsException("off=" + off + " len=" + len + " cbuf.length=" + cbuf.length); 134 sb.getChars(next, next + n, cbuf, off);
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/analysis/ |
H A D | MockCharFilter.java | 76 public int read(char[] cbuf, int off, int len) throws IOException { argument 78 for (int i = off; i < off + len; i++) { 95 protected void addOffCorrectMap(int off, int cumulativeDiff) { argument 96 corrections.put(off, cumulativeDiff);
|
H A D | MockReaderWrapper.java | 60 public int read(char[] cbuf, int off, int len) throws IOException { argument 76 read = in.read(cbuf, off, Math.min(realLen, left)); 80 read = in.read(cbuf, off, realLen);
|
H A D | MockTokenizer.java | 57 int off = 0; field in class:MockTokenizer 97 int startOffset = off; 107 endOffset = off; 140 off++; 144 off++; 169 lastOffset = off = 0; 193 int finalOffset = correctOffset(off);
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/noggit/ |
H A D | CharArr.java | 88 public int read(char cbuf[], int off, int len) { argument 99 public void unsafeWrite(char b[], int off, int len) { argument 100 System.arraycopy(b, off, buf, end, len); 127 public void write(char b[], int off, int len) { argument 129 unsafeWrite(b, off, len); 217 public void unsafeWrite(char b[], int off, int len) {} argument 223 public void write(char b[], int off, int len) {} argument 313 public void write(char b[], int off, int len) { argument 316 unsafeWrite(b, off, len); 318 unsafeWrite(b, off, spac [all...] |
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/analysis/ |
H A D | MockTokenizer.java | 56 int off = 0; field in class:MockTokenizer 95 int startOffset = off; 105 endOffset = off; 127 off++; 131 off++; 156 off = 0; 180 int finalOffset = correctOffset(off);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/util/ |
H A D | OpenStringBuilder.java | 86 public void unsafeWrite(char b[], int off, int len) { argument 87 System.arraycopy(b, off, buf, this.len, len); 114 public void write(char b[], int off, int len) { argument 116 unsafeWrite(b, off, len);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/internal/csv/ |
H A D | ExtendedBufferedReader.java | 106 * at bufferposition off. 116 public int read(char[] buf, int off, int len) throws IOException { argument 135 int cOff = off; 139 return cOff - off; 150 return cOff - off;
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/ |
H A D | UnsafeByteArrayOutputStream.java | 128 * @param off 134 public void write(byte[] b, int off, int len) throws IOException { argument 147 System.arraycopy(b, off, buffer, index, len);
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/ |
H A D | ReadTokensTask.java | 129 public int read(char[] c, int off, int len) { argument 131 s.getChars(upto, upto+len, c, off); 138 s.getChars(upto, upto+left, c, off);
|