- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for computeIfAbsent (0.07 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
override fun <T : Any> tag( type: KClass<T>, computeIfAbsent: () -> T, ): T = tags.computeIfAbsent(type, computeIfAbsent) override fun <T : Any> tag( type: Class<T>, computeIfAbsent: () -> T, ): T = tags.computeIfAbsent(type.kotlin, computeIfAbsent) @SuppressWarnings("CloneDoesntCallSuperClone") // We are a final type & this saves clearing state.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 19.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java
if (pluginDeclaration != null) { pluginDeclarations.add(pluginDeclaration); } mojoIssues .computeIfAbsent(issueLocality, k -> new LinkedHashMap<>()) .computeIfAbsent(mojoInfo, k -> new LinkedHashSet<>()) .add(issue); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:32 UTC 2025 - 17.5K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
} return plural; } private void recordString(String path, String value) { pathStats .computeIfAbsent(path, k -> new HashMap<>()) .computeIfAbsent(value, k -> new StringStats()) .recordOccurrence(value); } List<PathAnalysis> getPathAnalysisSorted() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 13.4K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
return false; } // Check per-account limit if (username != null) { AccountAttempts account = accountAttempts.computeIfAbsent(username, k -> new AccountAttempts()); if (account.isLockedOut()) { if (account.getLockoutExpiry().isAfter(Instant.now())) { totalAttemptsBlocked.incrementAndGet();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 12.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
if (allProjects != null) { Map<String, Map<String, Map<String, MavenProject>>> map = new HashMap<>(); allProjects.forEach(project -> map.computeIfAbsent(project.getGroupId(), k -> new HashMap<>()) .computeIfAbsent(project.getArtifactId(), k -> new HashMap<>()) .put(project.getVersion(), project)); this.allProjects = map; } else {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:20:38 UTC 2025 - 24.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
SessionData data = session.getSession().getData(); Map<MavenProject, OwnerReentrantLock> locks = data.computeIfAbsent(PROJECT_LOCKS, ConcurrentHashMap::new); return locks.computeIfAbsent(session.getCurrentProject(), p -> new OwnerReentrantLock()); } } static class OwnerReentrantLock extends ReentrantLock { @Override
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 12 14:55:55 UTC 2025 - 21K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
vFrom.setCompareScope(scopedVertices); List<MetadataGraphEdge> exList = excidentEdges.computeIfAbsent(vFrom, k -> new ArrayList<>()); if (!exList.contains(e)) { exList.add(e); } List<MetadataGraphEdge> inList = incidentEdges.computeIfAbsent(vTo, k -> new ArrayList<>()); if (!inList.contains(e)) { inList.add(e); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 13K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
} private fun addExecutedTaskPath(taskPath: String) { projectPathToExecutedTaskPaths.computeIfAbsent(taskPathToProjectPath(taskPath)) { mutableListOf() }.add(taskPath) } private fun addFailedTaskPath(taskPath: String) { projectPathToFailedTaskPaths.computeIfAbsent(taskPathToProjectPath(taskPath)) { mutableListOf() }.add(taskPath) } privateRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Nov 05 11:43:49 UTC 2025 - 12.5K bytes - Viewed (1) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
} private LongAdder getCounter(BuilderProblem.Severity severity) { return counters.computeIfAbsent(severity, k -> new LongAdder()); } private List<P> getProblems(BuilderProblem.Severity severity) { return problems.computeIfAbsent(severity, k -> new CopyOnWriteArrayList<>()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 18 17:30:19 UTC 2025 - 11.4K bytes - Viewed (0)