- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 185 for computeIfAbsent (0.26 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 14:04:46 UTC 2024 - 22.9K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
} if (cls.isArray()) { evaluateArray(target); } else if (isQualifiedForInterpolation(cls)) { Field[] fields = FIELDS_BY_CLASS.computeIfAbsent(cls, k -> cls.getDeclaredFields()); for (Field field : fields) { Class<?> type = field.getType(); if (isQualifiedForInterpolation(field, type)) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 15 14:24:56 UTC 2023 - 14.1K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AbstractInstrumentationProcessor.java
for (CallInterceptionRequestReader.Result readerResult : readerResults) { if (readerResult instanceof CallInterceptionRequestReader.Result.InvalidRequest) { errors.computeIfAbsent(methodElement, key -> new ArrayList<>()).add((CallInterceptionRequestReader.Result.InvalidRequest) readerResult); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 10.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java
} String projectKey = ArtifactUtils.versionlessKey(project.getGroupId(), project.getArtifactId()); Map<String, Vertex> vertices = vertexMap.computeIfAbsent(projectKey, k -> new HashMap<>(2, 1)); vertices.put(project.getVersion(), graph.addVertex(projectId)); } for (Vertex projectVertex : graph.getVertices()) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Sep 22 06:02:04 UTC 2023 - 10.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/DeclarativeReflectionToObjectConverter.kt
private val reflectionIdentityObjects = mutableMapOf<ObjectAccessKey, Any?>() private fun objectByIdentity(key: ObjectAccessKey, newObject: () -> Any?): Any? { // This code does not use `computeIfAbsent` because `newObject` can make reentrant calls, leading to CME. // Also, it does not check for the value being null, because null values are potentially allowed if (key !in reflectionIdentityObjects) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 14:27:23 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/listeners/ConstantsCollectorTest.groovy
(String constantOrigin, String dependent) -> accessibleDependentToConstants.computeIfAbsent(dependent, { new LinkedHashSet<>() }).add(constantOrigin), (String constantOrigin, String dependent) -> privateDependentToConstants.computeIfAbsent(dependent, { new LinkedHashSet<>() }).add(constantOrigin) ) compiler = new TestCompiler(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:06:26 UTC 2023 - 22.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementBuildScopeServices.java
return new ResolvedVariantCache() { @Override public ResolvedVariant computeIfAbsent(VariantResolveMetadata.Identifier key, Function<? super VariantResolveMetadata.Identifier, ? extends ResolvedVariant> mappingFunction) { return map.computeIfAbsent(key, mappingFunction); } }; } @Provides
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 28.4K bytes - Viewed (0) -
platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java
} @Override @Nullable public Object computeIfAbsent(Object key, Function<? super Object, ?> mappingFunction) { Object oldValue; Object computedValue = null; synchronized (delegate) { oldValue = delegate.get(key); if (oldValue == null) { computedValue = delegate.computeIfAbsent(key, mappingFunction); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 07:32:51 UTC 2024 - 20.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultCapabilitiesConflictHandler.java
} private Set<NodeState> findNodesFor(CapabilityInternal capability) { String capabilityId = capability.getCapabilityId(); return capabilityWithoutVersionToNodes.computeIfAbsent(capabilityId, k -> new LinkedHashSet<>()); } @Override public boolean hasConflicts() { return !conflicts.isEmpty(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 12.1K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/model/ConfigurationReportModelFactory.java
return ruleChain.doesSomething(); } } /** * Recursively calling {@link Map#computeIfAbsent(Object, Function)} to insert multiple keys could pose issues, depending on the implementation of the underlying map. * * This method exists to externalize that usage and avoid the potential for these sort of issues.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 05 20:34:52 UTC 2024 - 12.2K bytes - Viewed (0)