Searched defs:limit (Results 1 - 5 of 5) sorted by relevance

/opengrok/src/org/opensolaris/opengrok/history/
H A DHistory.java77 * @param limit max number of entries
82 public List<HistoryEntry> getHistoryEntries(int limit, int offset) { argument
84 limit = offset + limit > entries.size() ? limit = entries.size() - offset : limit;
85 return entries.subList(offset, offset + limit);
/opengrok/test/org/opensolaris/opengrok/search/context/
H A DContextTest.java130 * @param limit true if limited, quick context scan should be used
134 private void testGetContext(boolean limit, boolean hitList) argument
140 RuntimeEnvironment.getInstance().setQuickContextScan(limit);
145 assertTrue(c.getContext(in, out, "", "", "", null, limit, qb.isDefSearch(), hits));
169 assertTrue(c.getContext(in, out, "", "", "", defs, limit, qb.isDefSearch(), hits));
186 assertTrue(c.getContext(in, out, "", "", "", defs, limit, qb.isDefSearch(), hits));
203 assertTrue(c.getContext(in, out, "", "", "", defs, limit, qb.isDefSearch(), hits));
224 assertTrue(c.getContext(in, out, "", "", "", defs, limit, qb.isDefSearch(), hits));
244 assertFalse(c.getContext(in, out, "", "", "", null, limit, qb.isDefSearch(), hits));
257 assertFalse(c.getContext(in, out, "", "", "", null, limit, q
[all...]
/opengrok/src/org/opensolaris/opengrok/search/context/
H A DContext.java124 boolean limit, boolean isDefSearch, List<Hit> hits) {
125 return getContext(in, out, urlPrefix, morePrefix, path, tags, limit, isDefSearch, hits, null);
136 * @param limit should the number of matching lines be limited?
141 boolean limit, boolean isDefSearch, List<Hit> hits, Scopes scopes) {
235 boolean lim = limit;
122 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, boolean isDefSearch, List<Hit> hits) argument
139 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, boolean isDefSearch, List<Hit> hits, Scopes scopes) argument
/opengrok/src/org/opensolaris/opengrok/configuration/
H A DConfiguration.java322 * @return int the current message limit
331 * @param limit the limit
333 public void setMessageLimit(int limit) { argument
334 this.messageLimit = limit;
H A DRuntimeEnvironment.java1379 * @param limit the new limit
1381 public void setMessageLimit(int limit) { argument
1382 threadConfig.get().setMessageLimit(limit);

Completed in 18 milliseconds