- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 232 for hierarchyOf (0.23 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) -
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) -
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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java
* * @see #getModuleNames() */ private final Map<Path, String> descriptors; /** * Whether module hierarchy was detected. If false, then package hierarchy is assumed. * In a package hierarchy, the {@linkplain #descriptors} map has either zero or one entry. * In a module hierarchy, the descriptors map may have an arbitrary number of entries, * including one (so the map size cannot be used as a criterion). *
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/FileWatcherProbeRegistry.java
* indeed receives file system events from the operating system. * This is to avoid trusting locations where OSs silently not send any events, despite watchers being registered. * * When the hierarchy is first registered via {@link #registerProbe(File)}, we don't yet create the probe. * That only happens when the hierarchy is actually read or written by Gradle, in which case
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:38:01 UTC 2023 - 2.3K bytes - Viewed (0)