- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 185 for computeIfAbsent (0.46 sec)
-
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/JavaToolchainQueryService.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 08:02:27 UTC 2024 - 9.2K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
apiTypesBySourceName.computeIfAbsent(sourceName) { repository.classBytesFor(sourceName)?.let { apiTypeFor(sourceName) { it } } }?.invoke() } internal fun allTypes(): Sequence<ApiType> = open { repository.allClassesBytesBySourceName().map { (sourceName, classBytes) -> apiTypesBySourceName.computeIfAbsent(sourceName) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 06 19:56:10 UTC 2024 - 20.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java
throws ArtifactDescriptorException { Relocations relocations = (Relocations) session.getData() .computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session)); if (relocations != null) { Artifact original = artifactDescriptorResult.getRequest().getArtifact();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 9.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildWorkGraphController.java
pendingGraphs.add(workGraph); return workGraph; } } private DefaultExportedTaskNode doLocate(TaskIdentifier taskIdentifier) { return nodesByPath.computeIfAbsent(taskIdentifier.getTaskPath(), DefaultExportedTaskNode::new); } @Nullable private TaskInternal findTaskNode(String taskPath) { for (Task task : taskNodeFactory.getTasks()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 31 05:15:28 UTC 2023 - 11.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java
project.getRemoteProjectRepositories(), scopesToCollect, scopesToResolve, aggregating, session); return keys.computeIfAbsent(key, k -> k); } @Override public CacheRecord get(Key key) throws LifecycleExecutionException { CacheRecord cacheRecord = cache.get(key);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:49 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/IncrementalResultStoringCompiler.java
merged.keySet().removeAll(changedClasses); for (Map.Entry<String, Set<String>> entry : newSourceClassesMapping.entrySet()) { merged.computeIfAbsent(entry.getKey(), key -> new HashSet<>()).addAll(entry.getValue()); } return merged; } private AnnotationProcessingData getAnnotationProcessingData(JavaCompileSpec spec, WorkResult result) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 10.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultExternalComponentGraphResolveState.java
return resolveStateFor(configuration); } } private DefaultConfigurationGraphResolveState resolveStateFor(ModuleConfigurationMetadata configuration) { return variants.computeIfAbsent(configuration, c -> newVariantState(configuration)); } protected VariantGraphResolveState newResolveStateFor(ModuleConfigurationMetadata configuration) { return newVariantState(configuration); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 10.9K bytes - Viewed (0) -
maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
throws ArtifactDescriptorException { Relocations relocations = (Relocations) session.getData() .computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session)); if (relocations != null) { Artifact original = artifactDescriptorResult.getRequest().getArtifact();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Dec 18 12:26:49 UTC 2023 - 9K bytes - Viewed (0) -
maven-jline/src/main/java/org/apache/maven/jline/JLineMessageBuilderFactory.java
MavenStyleResolver() { super(s -> System.getProperty("style." + s)); } @Override public AttributedStyle resolve(String spec) { return styles.computeIfAbsent(spec, this::doResolve); } @Override public AttributedStyle resolve(String spec, String defaultSpec) { return resolve(defaultSpec != null ? spec + ":-" + defaultSpec : spec);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:59 UTC 2024 - 9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/services/CacheInstrumentationDataBuildService.java
return hashToOriginalFile.get().get(hash); } @Nullable private String getArtifactHash(File file) { return hashCache.computeIfAbsent(file, __ -> { Hasher hasher = Hashing.newHasher(); FileSystemLocationSnapshot snapshot = internalServices.getFileSystemAccess().read(file.getAbsolutePath());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 15:08:33 UTC 2024 - 10.6K bytes - Viewed (0)