Searched refs:buffer (Results 1 - 25 of 27) sorted by relevance

12

/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DFastCharStream.java27 byte[] buffer = null; field in class:FastCharStream
32 int tokenStart = 0; // offset in buffer
33 int bufferStart = 0; // position in file of buffer
45 return (char) buffer[bufferPosition++];
51 if (tokenStart == 0) { // token won't fit in buffer
52 if (buffer == null) { // first time: alloc buffer
53 buffer = new byte[2048];
54 } else if (bufferLength == buffer.length) { // grow buffer
[all...]
H A DSimpleCharStream.java27 protected char[] buffer; field in class:SimpleCharStream
41 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin);
42 System.arraycopy(buffer, 0, newbuffer,
44 buffer = newbuffer;
58 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin);
59 buffer = newbuffer;
107 if ((i = inputStream.read(buffer, maxNextCharInd,
184 return buffer[bufpos];
190 char c = buffer[bufpos];
245 buffer
[all...]
/opengrok/test/org/opensolaris/opengrok/history/
H A DSCCSgetTest.java108 byte[] buffer = new byte[8192];
111 while ((nr = in.read(buffer, 0, buffer.length)) != -1) {
112 out.write(buffer, 0, nr);
139 byte[] buffer = new byte[32 * 1024];
142 while ((len = in.read(buffer)) != -1) {
144 out.write(buffer, 0, len);
H A DMercurialRepositoryTest.java233 byte[] buffer = new byte[1024];
241 while ((len = input.read(buffer)) > 0) {
242 str += new String(buffer, 0, len);
275 byte[] buffer = new byte[1024];
284 int len = input.read(buffer);
286 String str = new String(buffer, 0, len);
/opengrok/test/org/opensolaris/opengrok/analysis/haskell/
H A DHaskellXrefTest.java90 byte buffer[] = new byte[8192];
93 numBytesRead = expectedInputStream.read(buffer, 0, buffer.length);
95 expectedOutputSteam.write(buffer, 0, numBytesRead);
/opengrok/src/org/opensolaris/opengrok/search/
H A DSummary.java100 StringBuilder buffer = new StringBuilder();
102 buffer.append(fragments.get(i));
104 return buffer.toString();
/opengrok/test/org/opensolaris/opengrok/analysis/php/
H A DPhpXrefTest.java115 byte buffer[] = new byte[8192];
118 read = exp.read(buffer, 0, buffer.length);
120 baosExp.write(buffer, 0, read);
/opengrok/src/org/opensolaris/opengrok/history/
H A DRCSget.java92 public int read(byte[] buffer, int pos, int len) throws IOException { argument
93 return stream.read(buffer, pos, len);
H A DClearCaseHistoryParser.java130 * @param buffer The string to be parsed
132 * @throws IOException if we fail to parse the buffer
134 History parse(String buffer) throws IOException { argument
135 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
H A DBazaarHistoryParser.java185 * @param buffer The string to be parsed
187 * @throws IOException if we fail to parse the buffer
189 History parse(String buffer) throws IOException { argument
191 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
H A DCVSHistoryParser.java184 * @param buffer The string to be parsed
186 * @throws IOException if we fail to parse the buffer
188 History parse(String buffer) throws IOException { argument
189 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
H A DSSCMHistoryParser.java167 * @param buffer The string to be parsed
169 * @throws IOException if we fail to parse the buffer
171 History parse(String buffer) throws IOException { argument
172 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
H A DGitHistoryParser.java176 * @param buffer The string to be parsed
178 * @throws IOException if we fail to parse the buffer
180 History parse(String buffer) throws IOException { argument
182 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
H A DMonotoneRepository.java84 byte[] buffer = new byte[32 * 1024];
88 while ((len = in.read(buffer)) != -1) {
90 out.write(buffer, 0, len);
H A DBazaarRepository.java118 byte[] buffer = new byte[32 * 1024];
122 while ((len = in.read(buffer)) != -1) {
124 out.write(buffer, 0, len);
H A DCVSRepository.java225 byte[] buffer = new byte[32 * 1024];
229 while ((len = in.read(buffer)) != -1) {
231 out.write(buffer, 0, len);
H A DSubversionHistoryParser.java196 * @param buffer The string to be parsed
198 * @throws IOException if we fail to parse the buffer
200 History parse(String buffer) throws IOException { argument
202 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
H A DGitRepository.java251 byte[] buffer = new byte[8192];
265 while ((len = in.read(buffer)) != -1) {
268 output.write(buffer, 0, len);
277 while ((len = in.read(buffer)) != -1) {
279 output.write(buffer, 0, len);
H A DMercurialRepository.java226 byte[] buffer = new byte[32 * 1024];
230 while ((len = in.read(buffer)) != -1) {
232 out.write(buffer, 0, len);
/opengrok/test/org/opensolaris/opengrok/analysis/
H A DTextAnalyzerTest.java76 byte[] buffer = new byte[]{(byte) 239, (byte) 187, (byte) 191, 'h', 'e', 'l', 'l', 'o'};
78 getStreamSource(buffer), null);
/opengrok/src/org/opensolaris/opengrok/search/context/
H A DContext.java58 private char[] buffer; field in class:Context
86 buffer = new char[MAXFILEREAD];
242 charsRead = in.read(buffer);
251 if (buffer[i] == '\n') {
265 tokens.reInit(buffer, charsRead, out, urlPrefixE + pathE + "#", matchingTags, scopes);
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/query/
H A DQuery.java76 StringBuffer buffer = new StringBuffer();
78 buffer.append(tmp);
81 List<Hit> resultList = parseJSON(buffer.toString());
/opengrok/src/org/opensolaris/opengrok/util/
H A DExecutor.java358 byte[] buffer = new byte[8092];
361 while ((len = in.read(buffer)) != -1) {
363 bytes.write(buffer, 0, len);
/opengrok/test/org/opensolaris/opengrok/web/
H A DDirectoryListingTest.java81 byte[] buffer = new byte[size];
82 out.write(buffer);
/opengrok/.mvn/wrapper/
H A Dmaven-wrapper.jarorg/apache/maven/wrapper/BootstrapMainStarter.class BootstrapMainStarter.java package org.apache.maven.wrapper public ...

Completed in 61 milliseconds

12