Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 265 for hierarchy (0.14 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatisticsTest.groovy

            then:
            1 * statisticsCollector.recordVisitHierarchy()
    
            then:
            1 * statisticsCollector.recordVisitDirectory()
            0 * _
        }
    
        def "can visit directory hierarchy"() {
            given:
            def root = tmpDir.createDir("root")
            def subDir1 = root.createDir("sub-dir-1")
            subDir1.createFile("file.txt")
            def subDir2 = root.createDir("sub-dir-2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdaterTest.groovy

            new HierarchicalFileWatcherUpdater(watcher, NO_VALIDATION, probeRegistry, watchableHierarchies, movedWatchedDirectoriesSupplier)
        }
    
        @Override
        int getIfNonHierarchical() { 0 }
    
        def "does not watch hierarchy to watch if no snapshot is inside"() {
            def watchableHierarchy = file("watchable").createDir()
            def secondWatchableHierarchy = file("watchable2").createDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/logging/TestExceptionFormat.java

    /**
     * Determines how exceptions are formatted in test logging.
     */
    public enum TestExceptionFormat {
        /**
         * Short display of exceptions.  Shows the exception types and locations as well as the hierarchy of causes, but not exception messages or full stack traces.
         */
        SHORT,
        /**
         * Full display of exceptions.
         */
        FULL
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1017 bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemSnapshotHierarchyVisitor.java

        default void enterDirectory(DirectorySnapshot directorySnapshot) {}
    
        /**
         * Called for each regular file/directory/missing/unavailable file.
         *
         * @return how to continue visiting the rest of the snapshot hierarchy.
         */
        SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot);
    
        /**
         * Called after all entries in the directory has been visited.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotVisitResult.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.snapshot;
    
    /**
     * Ways to continue visiting a snapshot hierarchy after an entry has been visited.
     *
     * @see java.nio.file.FileVisitResult
     */
    public enum SnapshotVisitResult {
    
        /**
         * Continue visiting. When returned after visiting a directory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RelativePathTrackingFileSystemSnapshotHierarchyVisitor.java

        /**
         * Called for each regular file/directory/missing/unavailable file.
         *
         * @return how to continue visiting the rest of the snapshot hierarchy.
         */
        SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot, RelativePathSupplier relativePath);
    
        /**
         * Called after all entries in the directory has been visited.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/BYTECODE-INTERCEPTION-README.md

    1. We generate interceptors from the annotations declared in the source code 
    2. We collect Gradle API type hierarchy
    
    The first one is important for both configuration cache instrumentation and API upgrades while the second one is used just for API upgrades. 
    Collecting the Gradle API type hierarchy is fully automatic, while declaring interceptors have to be done by Gradle developers. 
    
    ```mermaid
    flowchart TB
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 09:22:58 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/type/ModelTypesTest.groovy

     */
    
    package org.gradle.model.internal.type
    
    import org.gradle.api.JavaVersion
    import spock.lang.Specification
    
    class ModelTypesTest extends Specification {
        def "collects type hierarchy of #types.simpleName to #closed.simpleName"() {
            expect:
            ModelTypes.collectHierarchy(types.collect { ModelType.of(it) }) == (closed.collect { ModelType.of(it) } as Set)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/ClassLoaderDetails.java

    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.UUID;
    
    public class ClassLoaderDetails implements Serializable {
        // TODO:ADAM - using a UUID means we create a ClassLoader hierarchy for each daemon process we talk to. Instead, use the spec to decide whether to reuse a ClassLoader
        public final UUID uuid;
        public final ClassLoaderSpec spec;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RootTrackingFileSystemSnapshotHierarchyVisitor.java

        /**
         * Called for each regular file/directory/missing/unavailable file.
         *
         * @return how to continue visiting the rest of the snapshot hierarchy.
         */
        public abstract SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot, boolean isRoot);
    
        /**
         * Called after all entries in the directory has been visited.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top