Searched refs:out (Results 1 - 25 of 458) sorted by relevance

1234567891011>>

/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/encoding/
H A DIntEncoder.java48 protected OutputStream out = null; field in class:IntEncoder
72 if (out != null) {
73 out.close();
109 public void reInit(OutputStream out) { argument
110 this.out = out;
H A DVInt8IntEncoder.java54 out.write(value);
56 out.write(0x80 | (value >> 7));
57 out.write(0x7F & value);
59 out.write(0x80 | (value >> 14));
60 out.write(0x80 | (value >> 7));
61 out.write(0x7F & value);
63 out.write(0x80 | (value >> 21));
64 out.write(0x80 | (value >> 14));
65 out.write(0x80 | (value >> 7));
66 out
[all...]
H A DSimpleIntEncoder.java41 out.write(value >>> 24);
42 out.write((value >> 16) & 0xFF);
43 out.write((value >> 8) & 0xFF);
44 out.write(value & 0xFF);
H A DIntEncoderFilter.java54 public void reInit(OutputStream out) { argument
55 encoder.reInit(out);
H A DChunksIntEncoder.java78 out.write(indicator);
97 public void reInit(OutputStream out) { argument
98 encoder.reInit(out);
99 super.reInit(out);
/lucene-3.6.0/solr/solrj/src/java/org/apache/noggit/
H A DJSONUtil.java38 CharArr out = new CharArr();
39 new TextSerializer().serialize(new JSONWriter(out), o);
40 return out.toString();
46 public static void writeNumber(long number, CharArr out) { argument
47 out.write(Long.toString(number));
50 public static void writeNumber(double number, CharArr out) { argument
51 out.write(Double.toString(number));
54 public static void writeString(CharArr val, CharArr out) { argument
55 writeString(val.getArray(), val.getStart(), val.getEnd(), out);
58 public static void writeString(char[] val, int start, int end, CharArr out) { argument
64 writeString(CharSequence val, int start, int end, CharArr out) argument
70 writeStringPart(char[] val, int start, int end, CharArr out) argument
95 writeStringPart(CharSequence chars, int start, int end, CharArr out) argument
121 unicodeEscape(int ch, CharArr out) argument
130 writeNull(CharArr out) argument
134 writeBoolean(boolean val, CharArr out) argument
[all...]
H A DJSONWriter.java31 // IDEA 1) have JSONParser.getString(JSONWriter out)?
39 final CharArr out; field in class:JSONWriter
41 JSONWriter(CharArr out) { argument
42 this.out = out;
46 JSONUtil.writeNull(out);
50 JSONUtil.writeString(str,0,str.length(),out);
54 JSONUtil.writeString(str,out);
58 out.write('"');
62 JSONUtil.writeStringPart(partialStr.getArray(), partialStr.getStart(), partialStr.getEnd(), out);
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/servlet/
H A DLogLevelSelection.java54 PrintWriter out = response.getWriter();
55 out.write("<html><head>\n");
56 out.write("<title>Solr Admin: JDK Log Level Selector</title>\n");
57 out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"solr-admin.css\" />");
58 out.write("</head><body>\n");
59 out.write("<a href=\".\"><img border=\"0\" align=\"right\" height=\"78\" width=\"142\" src=\"solr_small.png\" alt=\"Solr\"></a>");
60 out.write("<h1>JDK Log Level Selector</h1>");
62 out.write("<p>Below is the complete JDK Log hierarchy with " +
70 out.write("<form method='POST'>\n");
72 out
[all...]
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/
H A DXML.java75 * @param out
78 public static void escapeCharData(String str, Writer out) throws IOException { argument
79 escape(str, out, chardata_escapes);
82 public static void escapeAttributeValue(String str, Writer out) throws IOException { argument
83 escape(str, out, attribute_escapes);
86 public static void escapeAttributeValue(char [] chars, int start, int length, Writer out) throws IOException { argument
87 escape(chars, start, length, out, attribute_escapes);
91 public final static void writeXML(Writer out, String tag, String val) throws IOException { argument
92 out.write('<');
93 out
108 writeUnescapedXML(Writer out, String tag, String val, Object... attrs) argument
133 writeXML(Writer out, String tag, String val, Object... attrs) argument
158 writeXML(Writer out, String tag, String val, Map<String, String> attrs) argument
182 escape(char [] chars, int offset, int length, Writer out, String [] escapes) argument
196 escape(String str, Writer out, String[] escapes) argument
[all...]
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/analysis/
H A DTokenStreamToDot.java37 protected final PrintWriter out; field in class:TokenStreamToDot
42 public TokenStreamToDot(String inputText, TokenStream in, PrintWriter out) { argument
44 this.out = out;
95 //System.out.println("start=" + startOffset + " end=" + endOffset + " len=" + inputText.length());
120 out.print(" " + fromNode + " -> " + toNode + " [");
122 out.print(" label=\"" + label + "\"");
125 out.print(" style=\"" + style + "\"");
127 out.println("]");
131 out
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DUnicodeUtil.java164 byte[] out = result.bytes;
167 if (out.length < maxLen)
168 out = result.bytes = new byte[ArrayUtil.oversize(maxLen, 1)];
176 hash = 31*hash + (out[upto++] = (byte) code);
178 hash = 31*hash + (out[upto++] = (byte) (0xC0 | (code >> 6)));
179 hash = 31*hash + (out[upto++] = (byte)(0x80 | (code & 0x3F)));
181 hash = 31*hash + (out[upto++] = (byte)(0xE0 | (code >> 12)));
182 hash = 31*hash + (out[upto++] = (byte)(0x80 | ((code >> 6) & 0x3F)));
183 hash = 31*hash + (out[upto++] = (byte)(0x80 | (code & 0x3F)));
193 hash = 31*hash + (out[upt
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/tools/java/org/apache/lucene/analysis/ja/util/
H A DDictionaryBuilder.java35 System.out.println("building tokeninfo dict...");
41 System.out.println("done");
43 System.out.print("building unknown word dict...");
49 System.out.println("done");
51 System.out.print("building connection costs...");
55 System.out.println("done");
74 System.out.println("dictionary builder");
75 System.out.println("");
76 System.out.println("dictionary format: " + format);
77 System.out
[all...]
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/
H A DVint8.java109 * Encodes {@code number} to {@code out}.
110 * @param number The value to be written in encoded form, to {@code out}.
111 * @param out The output stream receiving the encoded bytes.
112 * @exception IOException If there is a problem writing to {@code out}.
114 public static void encode(int number, OutputStream out) throws IOException { argument
116 out.write(number);
118 out.write(0x80 | (number >> 7));
119 out.write(0x7F & number);
121 out.write(0x80 | (number >> 14));
122 out
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DLockVerifyServer.java45 System.out.println("\nUsage: java org.apache.lucene.store.LockVerifyServer port\n");
53 System.out.println("\nReady on port " + port + "...");
60 OutputStream out = cs.getOutputStream();
72 System.out.println(getTime(startTime) + " ERROR: id " + id + " got lock, but " + lockedID + " already holds the lock");
78 System.out.println(getTime(startTime) + " ERROR: id " + id + " released the lock, but " + lockedID + " is the one holding the lock");
84 System.out.print(".");
87 out.write(1);
89 out.write(0);
91 out.close();
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DFormatPostingsPositionsWriter.java31 final IndexOutput out; field in class:FormatPostingsPositionsWriter
43 out = parent.parent.parent.dir.createOutput(IndexFileNames.segmentFileName(parent.parent.parent.segment, IndexFileNames.PROX_EXTENSION));
44 parent.skipListWriter.setProxOutput(out);
47 out = null;
56 assert out != null;
64 out.writeVInt((delta<<1)|1);
65 out.writeVInt(payloadLength);
67 out.writeVInt(delta << 1);
69 out.writeBytes(payload, payloadLength);
71 out
[all...]
H A DFormatPostingsDocsWriter.java33 final IndexOutput out; field in class:FormatPostingsDocsWriter
47 out = parent.parent.dir.createOutput(IndexFileNames.segmentFileName(parent.parent.segment, IndexFileNames.FREQ_EXTENSION));
55 skipListWriter.setFreqOutput(out);
61 IOUtils.closeWhileHandlingException(out);
84 throw new CorruptIndexException("docs out of order (" + docID + " <= " + lastDocID + " ) (out: " + out + ")");
96 out.writeVInt(delta);
98 out.writeVInt((delta<<1) | 1);
100 out
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/
H A DBCDUtils.java56 // out may refer to the same array if desired.
59 char[] out, int outend
73 if (val2=='+') { out[--wpos]=(char)val; break; }
74 if (val2=='-') { out[--wpos]=(char)val; neg=!neg; break; }
78 out[--wpos] = (char)val;
83 while (wpos<outend && out[wpos]==0) wpos++;
89 out[--wpos]=NEG_CHAR;
99 char[] out, int offset)
105 if (val== NEG_CHAR) { out[wpos++]='-'; continue; }
108 out[wpo
58 base10toBase100(char[] arr, int start, int end, char[] out, int outend ) argument
98 base100toBase10(char[] arr, int start, int end, char[] out, int offset) argument
185 base10toBase100SortableInt(char[] arr, int start, int end, char[] out, int outend ) argument
265 base100SortableIntToBase10(char[] arr, int start, int end, char[] out, int offset) argument
309 base10toBase10kSortableInt(char[] arr, int start, int end, char[] out, int outend ) argument
395 base10kSortableIntToBase10(char[] arr, int start, int end, char[] out, int offset) argument
[all...]
H A DBoundedTreeSet.java60 boolean out = super.add(item);
62 return out;
66 boolean out = super.addAll(c);
68 return out;
/lucene-3.6.0/solr/core/src/test/org/apache/solr/update/
H A DDocumentBuilderTest.java66 Document out = DocumentBuilder.toDocument( doc, core.getSchema() );
67 assertNull( out.get( "name" ) );
111 Document out = DocumentBuilder.toDocument( doc, core.getSchema() );
112 assertNotNull( out.get( "home" ) );//contains the stored value and term vector, if there is one
113 assertNotNull( out.getFieldable( "home_0" + FieldType.POLY_FIELD_SEPARATOR + "double" ) );
114 assertNotNull( out.getFieldable( "home_1" + FieldType.POLY_FIELD_SEPARATOR + "double" ) );
126 Document out = DocumentBuilder.toDocument( doc, core.getSchema() );
127 assertNotNull( out.get( "title_stringNoNorms" ) );
128 assertTrue("title_stringNoNorms has the omitNorms attribute set to true, if the boost is different than 1.0, it will fail",1.0f == out.getField( "title_stringNoNorms" ).getBoost() );
140 Document out
[all...]
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestDoc.java93 * TODO: the original test used to print the segment contents to System.out
100 PrintWriter out = new PrintWriter(sw, true);
112 printSegment(out, si1);
115 printSegment(out, si2);
119 printSegment(out, siMerge);
122 printSegment(out, siMerge2);
125 printSegment(out, siMerge3);
128 out.close();
132 //System.out.println(multiFileOutput);
135 out
211 printSegment(PrintWriter out, SegmentInfo si) argument
[all...]
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestDoc.java100 * TODO: the original test used to print the segment contents to System.out
107 PrintWriter out = new PrintWriter(sw, true);
119 printSegment(out, si1);
122 printSegment(out, si2);
126 printSegment(out, siMerge);
129 printSegment(out, siMerge2);
132 printSegment(out, siMerge3);
135 out.close();
138 //System.out.println(multiFileOutput);
141 out
217 printSegment(PrintWriter out, SegmentInfo si) argument
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/internal/csv/
H A DCSVPrinter.java30 protected final Writer out; field in class:CSVPrinter
45 * @param out stream to which to print.
48 public CSVPrinter(Writer out, CSVStrategy strategy) { argument
49 this.out = out;
61 out.write(strategy.getPrinterNewline());
66 out.flush();
101 out.write(this.strategy.getCommentStart());
102 out.write(' ');
113 out
[all...]
/lucene-3.6.0/solr/core/src/test/org/apache/solr/util/
H A DSolrPluginUtilsTest.java177 Query out;
193 out = qp.parse(t);
194 assertNotNull(t+" sanity test gave back null", out);
195 assertTrue(t+" sanity test isn't TermQuery: " + out.getClass(),
196 out instanceof TermQuery);
199 ((TermQuery)out).getTerm().field());
202 out = qp.parse(t);
203 assertNotNull(t+" sanity test gave back null", out);
204 assertTrue(t+" sanity test isn't TermQuery: " + out.getClass(),
205 out instanceo
[all...]
/lucene-3.6.0/lucene/contrib/icu/src/tools/java/org/apache/lucene/analysis/icu/
H A DGenerateHTMLStripCharFilterSupplementaryMacros.java62 System.out.print(APACHE_LICENSE);
63 System.out.print("// Generated using ICU4J " + VersionInfo.ICU_VERSION.toString() + " on ");
64 System.out.println(DATE_FORMAT.format(new Date()));
65 System.out.println("// by " + GenerateHTMLStripCharFilterSupplementaryMacros.class.getName());
66 System.out.print(NL + NL);
74 System.out.println(name + " = (");
77 System.out.println("\t []");
104 System.out.print( isFirst ? "\t " : "\t| ");
106 System.out.println(entry.getValue().getRegexEquivalent() + entry.getKey());
108 System.out
[all...]
H A DGenerateJFlexSupplementaryMacros.java76 System.out.print(APACHE_LICENSE);
77 System.out.print("// Generated using ICU4J " + VersionInfo.ICU_VERSION.toString() + " on ");
78 System.out.println(DATE_FORMAT.format(new Date()));
79 System.out.println("// by " + GenerateJFlexSupplementaryMacros.class.getName());
80 System.out.print(NL + NL);
88 System.out.println(name + " = (");
91 System.out.println("\t []");
108 System.out.print( isFirst ? "\t " : "\t| ");
110 System.out.println("([\\u" + Integer.toHexString(c) + "]" + trail.getRegexEquivalent() + ")");
112 System.out
[all...]

Completed in 45 milliseconds

1234567891011>>