Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for hierarchyOf (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ivy/IvyConfigurationHelper.java

        }
    
        ImmutableList<ModuleComponentArtifactMetadata> filterArtifacts(String name, Collection<String> hierarchy) {
            Set<ModuleComponentArtifactMetadata> artifacts = new LinkedHashSet<>();
            collectArtifactsFor(name, artifacts);
            for (String parent : hierarchy) {
                collectArtifactsFor(parent, artifacts);
            }
            return ImmutableList.copyOf(artifacts);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top