Searched refs:get (Results 1 - 25 of 92) sorted by relevance

1234

/opengrok/src/org/opensolaris/opengrok/web/
H A DDiffType.java57 public static final DiffType get(char c) { method in class:DiffType
71 public static final DiffType get(String c) { method in class:DiffType
76 return get(c.charAt(0));
84 return get(c.charAt(0));
H A DSortOrder.java55 public static SortOrder get(String name) { method in class:SortOrder
H A DPrefix.java108 public static Prefix get(String servletPath) { method in class:Prefix
117 Prefix p = lookupTable.get(pathPrefix);
/opengrok/test/org/opensolaris/opengrok/history/
H A DPerforceHistoryParserTest.java74 HistoryEntry e1 = result.getHistoryEntries().get(0);
80 HistoryEntry e2 = result.getHistoryEntries().get(1);
83 HistoryEntry e3 = result.getHistoryEntries().get(2);
86 HistoryEntry e4 = result.getHistoryEntries().get(3);
125 HistoryEntry e1 = result.getHistoryEntries().get(0);
131 HistoryEntry e2 = result.getHistoryEntries().get(1);
134 HistoryEntry e3 = result.getHistoryEntries().get(2);
137 HistoryEntry e4 = result.getHistoryEntries().get(3);
160 assertEquals("year", year, cal.get(Calendar.YEAR));
161 assertEquals("month", month, cal.get(Calenda
[all...]
H A DRazorHistoryParserTest.java113 HistoryEntry h1 = result.getHistoryEntries().get(0);
116 assertEquals(2009, cal.get(Calendar.YEAR));
117 assertEquals(23, cal.get(Calendar.DAY_OF_MONTH));
118 assertEquals(5, cal.get(Calendar.HOUR));
119 assertEquals(56, cal.get(Calendar.MINUTE));
120 assertEquals(24, cal.get(Calendar.SECOND));
H A DJDBCHistoryCacheTest.java184 * Basic tests for the {@code store()} and {@code get()} methods.
201 // test get history for single file
206 History retrievedHistory = cache.get(makefile, repos, true);
228 // test get history for renamed file
233 retrievedHistory = cache.get(novel, repos, true);
239 // test get history for directory
241 History dirHistory = cache.get(reposRoot, repos, true);
254 History updatedHistory = cache.get(reposRoot, repos, true);
277 History clearedHistory = cache.get(reposRoot, repos, true);
283 cache.get(reposRoo
[all...]
H A DClearCaseHistoryParserTest.java113 HistoryEntry e1 = result.getHistoryEntries().get(0);
119 HistoryEntry e4 = result.getHistoryEntries().get(3);
177 HistoryEntry e1 = result.getHistoryEntries().get(0);
183 HistoryEntry e4 = result.getHistoryEntries().get(3);
H A DCVSHistoryParserTest.java120 HistoryEntry e0 = result.getHistoryEntries().get(0);
124 HistoryEntry e1 = result.getHistoryEntries().get(1);
129 HistoryEntry e2 = result.getHistoryEntries().get(2);
H A DSSCMHistoryParserTest.java124 HistoryEntry e0 = result.getHistoryEntries().get(0);
132 HistoryEntry e1 = result.getHistoryEntries().get(1);
140 HistoryEntry e2 = result.getHistoryEntries().get(2);
148 HistoryEntry e3 = result.getHistoryEntries().get(3);
H A DFileHistoryCacheTest.java179 History updatedHistory = cache.get(reposRoot, repo, true);
187 History retrievedHistoryMainC = cache.get(main, repo, true);
191 HistoryEntry e0 = entries.get(0);
195 HistoryEntry e1 = entries.get(1);
200 HistoryEntry e2 = entries.get(2);
209 // We cannot call cache.get() here since it would read the history anew.
214 History updatedHistoryFromScratch = cache.get(reposRoot, repo, true);
224 History retrievedUpdatedHistoryMainC = cache.get(main, repo, true);
232 * Basic tests for the {@code store()} and {@code get()} methods.
253 // test get histor
[all...]
H A DGitHistoryParserTest.java133 HistoryEntry e0 = result.getHistoryEntries().get(0);
138 HistoryEntry e1 = result.getHistoryEntries().get(1);
143 HistoryEntry e2 = result.getHistoryEntries().get(2);
199 HistoryEntry e0 = result.getHistoryEntries().get(0);
207 HistoryEntry e1 = result.getHistoryEntries().get(1);
286 HistoryEntry e0 = result.getHistoryEntries().get(0);
294 HistoryEntry e1 = result.getHistoryEntries().get(1);
337 HistoryEntry e0 = result.getHistoryEntries().get(0);
H A DBazaarHistoryParserTest.java131 HistoryEntry e1 = result.getHistoryEntries().get(0);
136 HistoryEntry e2 = result.getHistoryEntries().get(1);
141 HistoryEntry e3 = result.getHistoryEntries().get(2);
185 HistoryEntry e1 = result.getHistoryEntries().get(0);
H A DSubversionHistoryParserTest.java140 HistoryEntry e1 = result.getHistoryEntries().get(0);
146 HistoryEntry e2 = result.getHistoryEntries().get(1);
152 HistoryEntry e3 = result.getHistoryEntries().get(2);
202 HistoryEntry e = result.getHistoryEntries().get(0);
/opengrok/src/org/opensolaris/opengrok/configuration/
H A DRuntimeEnvironment.java239 LOGGER.log(Level.SEVERE, "Failed to get canonical path", ex);
245 return threadConfig.get().getScanningDepth();
249 threadConfig.get().setScanningDepth(scanningDepth);
253 return threadConfig.get().getCommandTimeout();
257 threadConfig.get().setCommandTimeout(timeout);
261 return threadConfig.get().getIndexRefreshPeriod();
265 threadConfig.get().setIndexRefreshPeriod(seconds);
274 return threadConfig.get().getDataRoot();
298 threadConfig.get().setDataRoot(getCanonicalPath(dataRoot));
378 return threadConfig.get()
[all...]
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/model/
H A DHit.java22 String directory = (String) jsonobj.get(ATTRIBUTE_DIRECTORY);
26 setFilename((String) jsonobj.get(ATTRIBUTE_FILENAME));
28 String base64 = (String) jsonobj.get(ATTRIBUTE_LINE);
31 String lineno = (String) jsonobj.get(ATTRIBUTE_LINENO);
35 setPath((String) jsonobj.get(ATTRIBUTE_PATH));
/opengrok/src/org/opensolaris/opengrok/analysis/
H A DDefinitions.java98 Set<Integer> lines = symbols.get(symbol);
105 LineTagMap line_map = line_maps.get(lineNumber);
107 for (Tag tag : line_map.sym_tags.get(symbol)) {
128 Set<Integer> lines = symbols.get(symbol);
157 LineTagMap line_map = line_maps.get(line);
221 Set<Integer> lines = symbols.get(symbol);
230 LineTagMap line_map = line_maps.get(aLine);
237 Set<Tag> ltags = line_map.sym_tags.get(symbol);
/opengrok/src/org/opensolaris/opengrok/util/
H A DInterner.java76 T interned = map.get(instance);
H A DGetopt.java121 ret = options.get(current).option;
142 ret = options.get(current).argument;
/opengrok/plugins/src/main/java/
H A DHttpBasicAuthorizationPlugin.java84 userGroups.get(request.getUserPrincipal().getName()).addAll(descendants);
92 userProjects.get(request.getUserPrincipal().getName()).add(p.getDescription());
95 userProjects.get(request.getUserPrincipal().getName()).add(p.getDescription());
99 userProjects.get(request.getUserPrincipal().getName()).add(p.getDescription());
102 userProjects.get(request.getUserPrincipal().getName()).add(p.getDescription());
122 return userProjects.get(request.getUserPrincipal().getName()).contains(project.getDescription());
133 return userGroups.get(request.getUserPrincipal().getName()).contains(group.getName());
/opengrok/src/org/opensolaris/opengrok/history/
H A DDirectoryHistoryReader.java87 * searching the index to get recently changed files under in the directory
128 String rpath = doc.get(QueryBuilder.PATH);
134 cdate = DateTools.stringToDate(doc.get(QueryBuilder.DATE));
137 "Could not get date for " + path, ex);
192 Map<String, Map<List<String>, SortedSet<String>>> ac = hash.get(date);
198 Map<List<String>, SortedSet<String>> cf = ac.get(author);
208 SortedSet<String> fls = cf.get(cr);
232 aiter = hash.get(idate = diter.next()).keySet().iterator();
238 citer = hash.get(idate).get(iautho
[all...]
H A DAnnotation.java72 return lines.get(line-1).revision;
101 return lines.get(line-1).author;
115 return lines.get(line-1).enabled;
167 return desc.get(revision);
181 return fileVersions.get(revision);
H A DHistoryCache.java62 History get(File file, Repository repository, boolean withFiles) method in interface:HistoryCache
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DDeltaDelTextLine.java26 Line l = (Line) lines.get(atLine);
H A DPhrases.java83 String value = get(key).toString();
/opengrok/src/org/opensolaris/opengrok/analysis/executables/
H A DELFAnalyzer.java78 String fullpath = doc.get("fullpath");
139 c = fmap.get();
167 while ((c = fmap.get(start++)) != 0x00) {
200 if (fmap.get(ELFIdentification.EI_MAG0.value()) != 0x7f ||
201 fmap.get(ELFIdentification.EI_MAG1.value()) != 'E' ||
202 fmap.get(ELFIdentification.EI_MAG2.value()) != 'L' ||
203 fmap.get(ELFIdentification.EI_MAG3.value()) != 'F') {
207 ei_class = EI_Class.valueOf(fmap.get(ELFIdentification.EI_CLASS.value()));
208 ei_data = EI_Data.valueOf(fmap.get(ELFIdentification.EI_DATA.value()));
209 ei_version = fmap.get(ELFIdentificatio
[all...]

Completed in 44 milliseconds

1234