Searched defs:src (Results 1 - 18 of 18) sorted by relevance

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/
H A DTestCopyBytes.java154 final IndexInput src; field in class:TestCopyBytes.CopyThread
157 CopyThread(IndexInput src, IndexOutput dst) { argument
158 this.src = src;
165 src.copyBytes(dst, src.length()-100);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/store/
H A DTestCopyBytes.java154 final IndexInput src; field in class:TestCopyBytes.CopyThread
157 CopyThread(IndexInput src, IndexOutput dst) { argument
158 this.src = src;
165 src.copyBytes(dst, src.length()-100);
/lucene-3.6.0/solr/core/src/test/org/apache/solr/analysis/
H A DTestSynonymMap.java301 private void assertTokIncludes( SlowSynonymMap map, String src, String exp ) throws Exception { argument
302 Token[] tokens = map.submap.get( src ).synonyms;
311 private SlowSynonymMap getSubSynonymMap( SlowSynonymMap map, String src ){
312 return map.submap.get( src );
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestIndexFileDeleter.java220 public void copyFile(Directory dir, String src, String dest) throws IOException { argument
221 IndexInput in = dir.openInput(src);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestIndexFileDeleter.java220 public void copyFile(Directory dir, String src, String dest) throws IOException { argument
221 IndexInput in = dir.openInput(src);
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/
H A DIndexSplitter.java161 private static void copyFile(File src, File dst) throws IOException { argument
162 InputStream in = new FileInputStream(src);
/lucene-3.6.0/solr/core/src/test/org/apache/solr/
H A DTestSolrCoreProperties.java149 private void copyFile(File src, File dst) throws IOException { argument
150 BufferedReader in = new BufferedReader(new FileReader(src));
/lucene-3.6.0/lucene/contrib/highlighter/src/java/org/apache/lucene/search/vectorhighlight/
H A DBaseFragmentsBuilder.java74 public abstract List<WeightedFragInfo> getWeightedFragInfoList( List<WeightedFragInfo> src );
139 private String makeFragment( WeightedFragInfo fragInfo, String src, int s, argument
146 .append( encoder.encodeText( src.substring( srcIndex, to.startOffset - s ) ) )
148 .append( encoder.encodeText( src.substring( to.startOffset - s, to.endOffset - s ) ) )
153 fragment.append( encoder.encodeText( src.substring( srcIndex ) ) );
162 String src = getFragmentSourceMSO( buffer, index, values, s, fragInfo.getEndOffset(), modifiedStartOffset );
167 .append( encoder.encodeText( src.substring( srcIndex, to.getStartOffset() - modifiedStartOffset[0] ) ) )
169 .append( encoder.encodeText( src.substring( to.getStartOffset() - modifiedStartOffset[0], to.getEndOffset() - modifiedStartOffset[0] ) ) )
174 fragment.append( encoder.encodeText( src.substring( srcIndex ) ) );
H A DFieldQuery.java173 * Check if src and dest have overlapped part and if it is, create PhraseQueries and add expandQueries.
175 * ex1) src="a b", dest="c d" => no overlap
176 * ex2) src="a b", dest="a b c" => no overlap
177 * ex3) src="a b", dest="b c" => overlap; expandQueries={"a b c"}
178 * ex4) src="a b c", dest="b c d" => overlap; expandQueries={"a b c d"}
179 * ex5) src="a b c", dest="b c" => no overlap
180 * ex6) src="a b c", dest="b" => no overlap
181 * ex7) src="a a a a", dest="a a a" => overlap;
183 * ex8) src="a b c d", dest="b c" => no overlap
185 private void checkOverlap( Collection<Query> expandQueries, Term[] src, Ter argument
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DDirectory.java213 * Copies the file <i>src</i> to {@link Directory} <i>to</i> under the new
229 public void copy(Directory to, String src, String dest) throws IOException { argument
235 is = openInput(src);
245 * Copy contents of a directory src to a directory dest. If a file in src
255 * @param src source directory
265 * for (String file : src.listAll()) {
267 * src.copy(dest, file, file);
273 public static void copy(Directory src, Directory dest, boolean closeDirSrc) throws IOException { argument
275 for (String file : src
[all...]
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/
H A DDirectIOLinuxDirectory.java119 public void writeBytes(byte[] src, int offset, int len) throws IOException { argument
124 buffer.put(src, offset, left);
130 buffer.put(src, offset, toWrite);
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/
H A DTestReplicationHandler.java776 private static void copyFile(File src, File dst) throws IOException { argument
777 copyFile(src, dst, null);
783 private static void copyFile(File src, File dst, Integer port) throws IOException { argument
784 BufferedReader in = new BufferedReader(new FileReader(src));
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DSegmentInfo.java127 * Copy everything from src SegmentInfo into our instance.
129 void reset(SegmentInfo src) { argument
131 version = src.version;
132 name = src.name;
133 docCount = src.docCount;
134 dir = src.dir;
135 preLockless = src.preLockless;
136 delGen = src.delGen;
137 docStoreOffset = src.docStoreOffset;
138 docStoreIsCompoundFile = src
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/compound/hyphenation/
H A DTernaryTree.java267 public static void strcpy(char[] dst, int di, char[] src, int si) { argument
268 while (src[si] != 0) {
269 dst[di++] = src[si++];
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java770 public synchronized void copy(Directory to, String src, String dest) throws IOException { argument
772 delegate.copy(to, src, dest);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/
H A DCoreContainer.java798 /** Copies a src file to a dest file:
801 public static void fileCopy(File src, File dest) throws IOException { argument
808 fis = new FileInputStream(src);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java671 public synchronized void copy(Directory to, String src, String dest) throws IOException { argument
673 delegate.copy(to, src, dest);
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/demohtml/
H A DHTMLParser.java35 public MyPipedInputStream(PipedOutputStream src) throws IOException{ argument
36 super(src);

Completed in 251 milliseconds