- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 183 for computeIfAbsent (0.21 sec)
-
maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
ConcurrentMap<String, ConcurrentMap<String, Object>> pluginContextsByKey = pluginContextsByProjectAndPluginKey.computeIfAbsent(projectKey, k -> new ConcurrentHashMap<>()); String pluginKey = plugin.getPluginLookupKey(); return pluginContextsByKey.computeIfAbsent(pluginKey, k -> new ConcurrentHashMap<>()); } public ProjectDependencyGraph getProjectDependencyGraph() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/DefaultLocalComponentGraphResolveState.java
Transformer<LocalComponentArtifactMetadata, LocalComponentArtifactMetadata> cachedTransformer = oldArtifact -> transformedArtifacts.computeIfAbsent(oldArtifact, transformer::transform); LocalComponentGraphResolveMetadata originalMetadata = getMetadata(); LocalComponentGraphResolveMetadata copiedMetadata = new LocalComponentGraphResolveMetadata(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:25:36 UTC 2024 - 20.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java
} private void addMojoExecution( Map<Integer, List<MojoExecution>> phaseBindings, MojoExecution mojoExecution, int priority) { List<MojoExecution> mojoExecutions = phaseBindings.computeIfAbsent(priority, k -> new ArrayList<>()); mojoExecutions.add(mojoExecution); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Jan 10 12:55:54 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/ProjectStateStore.kt
} return readValue(key, address) } private fun loadOrCreateAddress(key: K, creator: () -> V): BlockAddress { val valueContainer = currentValues.computeIfAbsent(key) { k -> createContainer(k, creator) } // Calculate the value after adding the entry to the map, so that the value container can take care of thread synchronization
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java
public void flush() { descriptors.clear(); } public Key createKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) { return keys.computeIfAbsent(new CacheKey(plugin, repositories, session), k -> k); } public PluginDescriptor get(Key cacheKey) { return clone(descriptors.get(cacheKey)); } @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:49 UTC 2024 - 6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.5K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/DependencyTree.groovy
DependencyTree calculateClassDependencies(int project, int first, int last) { (first..last).each { classToproject.put(it, project) placeNode(it, CLASSES_ON_LEVEL, classDependencyTrees.computeIfAbsent(project) {[]}, parentToChildClassIds) } this } DependencyTree calculateProjectDependencies() { (0..classDependencyTrees.size() - 1).each {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
return projects == null ? null : map(projects, this::getProject); } @Override public Project getProject(MavenProject project) { return allProjects.computeIfAbsent(project.getId(), id -> new DefaultProject(this, project)); } @Override public List<ArtifactRepository> toArtifactRepositories(List<RemoteRepository> repositories) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 16 08:45:24 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/CodeGenerator.kt
targetTypesOf(accessorSpec.name).add(accessorSpec.receiver) private fun targetTypesOf(accessorNameSpec: AccessorNameSpec): HashSet<TypeAccessibility.Accessible> = targetTypesByName.computeIfAbsent(accessorNameSpec) { hashSetOf() } } internal fun extensionAccessor(spec: TypedAccessorSpec): String = spec.run { when (type) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 9.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/PlannedNodeGraph.java
ToPlannedNodeConverter converter = converterRegistry.getConverter(node); if (converter == null) { return null; } return nodeIdentityCache.computeIfAbsent(node, converter::getNodeIdentity); } } /** * Computes dependencies of a node in breadth-first order, stopping at each dependency for which identity is provided. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 22 15:46:00 UTC 2023 - 8.2K bytes - Viewed (0)