Searched defs:off (Results 1 - 25 of 30) sorted by relevance

12

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/
H A DBaseCharFilter.java117 * @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 DCharFilter.java61 public int read(char[] cbuf, int off, int len) throws IOException { argument
62 return input.read(cbuf, off, len);
H A DCharReader.java53 public int read(char[] cbuf, int off, int len) throws IOException { argument
54 return input.read(cbuf, off, len);
H A DMappingCharFilter.java121 public int read(char[] cbuf, int off, int len) throws IOException { argument
129 for(int i = off; i < off + len; i++) {
H A DCharArraySet.java137 /** true if the <code>len</code> chars of <code>text</code> starting at <code>off</code>
139 public boolean contains(char[] text, int off, int len) { argument
140 return map.containsKey(text, off, len);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DReusableStringReader.java39 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/analyzers/common/src/java/org/apache/lucene/analysis/fa/
H A DPersianCharFilter.java36 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/lucene/contrib/facet/src/java/org/apache/lucene/util/
H A DUnsafeByteArrayOutputStream.java128 * @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/test-framework/src/java/org/apache/lucene/analysis/
H A DMockCharFilter.java76 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 DMockReaderWrapper.java60 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 DMockTokenizer.java57 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/core/src/java/org/apache/solr/analysis/
H A DPatternReplaceCharFilter.java71 public int read(char[] cbuf, int off, int len) throws IOException { argument
82 return transformedInput.read(cbuf, off, len);
/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/java/org/apache/lucene/analysis/ja/dict/
H A DDictionary.java61 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 DUnknownDictionary.java57 public String getReading(int wordId, char surface[], int off, int len) { argument
H A DUserDictionary.java133 * @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
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/
H A DReadTokensTask.java129 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);
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/utils/
H A DStringBuilderReader.java116 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/solr/core/src/java/org/apache/solr/internal/csv/
H A DExtendedBufferedReader.java106 * 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/solr/solrj/src/java/org/apache/solr/common/util/
H A DFastWriter.java72 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 DFastInputStream.java78 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 DFastOutputStream.java68 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/backwards/src/test-framework/java/org/apache/lucene/analysis/
H A DMockTokenizer.java56 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 DOpenStringBuilder.java86 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/schema/
H A DFieldProperties.java100 static boolean off(int bitfield, int props) { method in class:FieldProperties
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/fst/
H A DSort.java400 public void write(byte [] bytes, int off, int len) throws IOException { argument
402 assert off >= 0 && off + len <= bytes.length;
405 os.write(bytes, off, len);

Completed in 37 milliseconds

12