Searched refs:limit (Results 1 - 3 of 3) sorted by relevance

/opengrok-sun/test/org/opensolaris/opengrok/search/context/
H A DContextTest.java120 * @param limit true if limited, quick context scan should be used
124 private void testGetContext(boolean limit, boolean hitList) argument
130 RuntimeEnvironment.getInstance().setQuickContextScan(limit);
135 assertTrue(c.getContext(in, out, "", "", "", null, limit, hits));
159 assertTrue(c.getContext(in, out, "", "", "", defs, limit, hits));
179 assertTrue(c.getContext(in, out, "", "", "", defs, limit, hits));
199 assertFalse(c.getContext(in, out, "", "", "", null, limit, hits));
212 assertFalse(c.getContext(in, out, "", "", "", null, limit, hits));
/opengrok-sun/src/org/opensolaris/opengrok/search/context/
H A DContext.java125 * @param limit should the number of matching lines be limited?
130 boolean limit, List<Hit> hits) {
204 boolean lim = limit;
128 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, List<Hit> hits) argument
/opengrok-sun/src/org/opensolaris/opengrok/index/
H A DIndexDatabase.java1000 final int limit = 4;
1022 db.listTokens(limit);

Completed in 18 milliseconds