- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 292 for hierarchyOf (0.18 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchy.kt
internal fun classLoaderHierarchyJsonFor( klass: Class<*>, targetScope: ClassLoaderScope, pathFormatter: PathStringFormatter = { it } ) = classLoaderHierarchyJsonFor( hierarchyOf(klass.classLoader), hierarchyOf(targetScope), pathFormatter ) private typealias ClassLoaderId = String private class ClassLoaderNode( val id: ClassLoaderId, val label: String,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/plan/ExecutionNodeAccessHierarchyTest.groovy
def other = Mock(Node) def location = "/some/location" hierarchy.recordNodeAccessingLocations(node1, [location]) hierarchy.recordNodeAccessingLocations(child, ["/some/location/second"]) hierarchy.recordNodeAccessingLocations(node2, [location]) hierarchy.recordNodeAccessingLocations(other, ["/some/other"]) hierarchy.recordNodeAccessingLocations(node3, [location]) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 11 15:00:43 UTC 2022 - 9.5K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/DefaultFileWatcherProbeRegistry.java
probe.trigger(); } } @Override public File getProbeDirectory(File hierarchy) { WatchProbe watchProbe = watchProbesByHierarchy.get(hierarchy); if (watchProbe == null) { throw new IllegalStateException("Cannot find probe for hierarchy: " + hierarchy); } return watchProbe.getProbeFile().getParentFile(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:38:01 UTC 2023 - 6.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/plan/ValuedVfsHierarchyTest.groovy
def hierarchy = emptyHierarchy() hierarchy = hierarchy.recordValue(VfsRelativePath.of("some/location"), 1) hierarchy = hierarchy.recordValue(VfsRelativePath.of("some/other/location"), 2) hierarchy = hierarchy.recordValue(VfsRelativePath.of("some/location/intermediate/child/sub1/leaf1"), 5) hierarchy = hierarchy.recordValue(VfsRelativePath.of("some/location/intermediate/child/sub1/leaf2"), 6)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 28 17:21:57 UTC 2022 - 8.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/IvyDependencyDescriptorTest.groovy
def toConfig1 = configuration(toComponent, "to-1") def toConfig2 = configuration(toComponent, "to-2") fromConfig.hierarchy >> ImmutableSet.of("from") fromConfig2.hierarchy >> ImmutableSet.of("child", "from") fromConfig3.hierarchy >> ImmutableSet.of("other") Multimap<String, String> configMapping = LinkedHashMultimap.create() configMapping.put("*", "to-2")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 16:00:57 UTC 2024 - 23K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractConfigurationMetadata.java
) { this.componentId = componentId; this.name = name; this.transitive = transitive; this.visible = visible; this.artifacts = artifacts; this.hierarchy = hierarchy; this.excludes = excludes; this.attributes = attributes; this.configDependencies = configDependencies; this.capabilities = capabilities; this.externalVariant = externalVariant; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 7K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotHierarchy.java
/** * The empty hierarchy. */ @CheckReturnValue SnapshotHierarchy empty(); CaseSensitivity getCaseSensitivity(); /** * Returns all root snapshots in the hierarchy. */ Stream<FileSystemLocationSnapshot> rootSnapshots(); /** * Returns all root snapshots in the hierarchy below {@code absolutePath}. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultImmutableAttributes.java
this.attribute = key; this.value = value; Map<Attribute<?>, DefaultImmutableAttributes> hierarchy = new LinkedHashMap<>(); hierarchy.putAll(parent.hierarchy); hierarchy.put(attribute, this); this.hierarchy = ImmutableMap.copyOf(hierarchy); Map<String, DefaultImmutableAttributes> hierarchyByName = new LinkedHashMap<>(); hierarchyByName.putAll(parent.hierarchyByName);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 12:57:50 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchyTest.kt
val mapper = jacksonObjectMapper() val hierarchy = mapper.readValue<ClassLoaderHierarchy>(json) assertThat(hierarchy.classLoaders.size, equalTo(3)) assertThat(hierarchy.scopes.size, equalTo(1)) assertThat(hierarchy.classLoaders[0].parents, hasItem(hierarchy.classLoaders[1].id)) assertThat(hierarchy.scopes[0].label, equalTo("the path"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/MetadataExtracter.java
antlr.Tool tool = new antlr.Tool(); antlr.preprocessor.Hierarchy hierarchy = new antlr.preprocessor.Hierarchy(tool); // first let antlr preprocess the grammars... for (File grammarFileFile : sources) { final String grammarFilePath = grammarFileFile.getPath(); try { hierarchy.readGrammarFile(grammarFilePath); } catch (FileNotFoundException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 3.8K bytes - Viewed (0)