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

/opengrok-jel/test/org/opensolaris/opengrok/search/context/
H A DContextTest.java129 * @param limit true if limited, quick context scan should be used
134 private static void testGetContext(boolean limit, boolean hitList) argument
141 RuntimeEnvironment.getConfig().setQuickContextScan(limit);
146 assertTrue(c.getContext(in, out, "", "", "", null, limit, hits));
170 assertTrue(c.getContext(in, out, "", "", "", defs, limit, hits));
190 assertTrue(c.getContext(in, out, "", "", "", defs, limit, hits));
210 assertFalse(c.getContext(in, out, "", "", "", null, limit, hits));
223 assertFalse(c.getContext(in, out, "", "", "", null, limit, hits));
/opengrok-jel/src/org/opensolaris/opengrok/search/context/
H A DContext.java141 * @param limit should the number of matching lines be limited?
147 String morePrefix, String path, Definitions tags, boolean limit,
221 boolean lim = limit;
146 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, List<Hit> hits) argument
/opengrok-jel/src/org/opensolaris/opengrok/index/
H A DIndexDatabase.java975 final int limit = 4;
997 db.listTokens(limit);

Completed in 11 milliseconds