Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,456 for tcRange (0.12 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/TrivialChangeDetectorTest.groovy

        def change = Mock(Change)
        def visitor = Mock(ChangeVisitor)
    
        def "detects no change between empty current and previous"() {
            when:
            detector.visitChangesSince([:], [:], "test", visitor)
            then:
            0 * _
        }
    
        def "detects no change between the same one item"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/FileNotifyInformation.java

        /**
         * Any attribute change in the watched directory or subtree causes a change notification wait operation to return.
         */
        public static final int FILE_NOTIFY_CHANGE_ATTRIBUTES = 0x00000004;
    
        /**
         * Any file-size change in the watched directory or subtree causes a change notification wait operation to return.
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DefaultFileChange.java

        public ChangeTypeInternal getType() {
            return change;
        }
    
        @Override
        public boolean isAdded() {
            return change == ChangeTypeInternal.ADDED;
        }
    
        @Override
        public boolean isModified() {
            return change == ChangeTypeInternal.MODIFIED;
        }
    
        @Override
        public boolean isRemoved() {
            return change == ChangeTypeInternal.REMOVED;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. build-logic/packaging/src/main/kotlin/gradlebuild/instrumentation/transforms/InstrumentationMetadataTransform.kt

            inputChanges.getFileChanges(classesDir)
                .filter { change -> change.fileType == FileType.FILE }
                .forEach { change ->
                    when {
                        change.normalizedPath.endsWith(".class") -> handleClassChange(change, superTypes)
                        // "instrumented-classes.txt" is always just one in a classes dir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 14:00:26 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. pkg/proxy/servicechangetracker.go

    	sct.lock.Lock()
    	defer sct.lock.Unlock()
    
    	change, exists := sct.items[namespacedName]
    	if !exists {
    		change = &serviceChange{}
    		change.previous = sct.serviceToServiceMap(previous)
    		sct.items[namespacedName] = change
    	}
    	change.current = sct.serviceToServiceMap(current)
    	// if change.previous equal to change.current, it means no change
    	if reflect.DeepEqual(change.previous, change.current) {
    		delete(sct.items, namespacedName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/tasks/incrementalTask/groovy/build.gradle

            )
    
            // tag::process-file-changes[]
            inputChanges.getFileChanges(inputDir).each { change ->
                if (change.fileType == FileType.DIRECTORY) return
    
                println "${change.changeType}: ${change.normalizedPath}"
                def targetFile = outputDir.file(change.normalizedPath).get().asFile
                if (change.changeType == ChangeType.REMOVED) {
                    targetFile.delete()
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/CachingChangeContainer.java

            }
    
            @Override
            public boolean visitChange(Change change) {
                if (numChanges < maxCachedChanges) {
                    numChanges++;
                    cache.add(change);
                } else {
                    overrun = true;
                    cache.clear();
                }
                return delegate.visitChange(change);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/CollectingChangeVisitor.java

    import java.util.List;
    
    public class CollectingChangeVisitor implements ChangeVisitor {
        private List<Change> changes = new ArrayList<Change>();
    
        @Override
        public boolean visitChange(Change change) {
            changes.add(change);
            return true;
        }
    
        public Collection<Change> getChanges() {
            return changes;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-incremental/kotlin/build.gradle.kts

            inputChanges.getFileChanges(input).forEach { change ->          // <2>
                val changedFile = change.file
                if (change.fileType != FileType.FILE) {
                    return@forEach
                }
                val outputLocation = outputDir.resolve("${change.normalizedPath}.loc")
                when (change.changeType) {
                    ChangeType.ADDED, ChangeType.MODIFIED -> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tasks/incrementalTask/kotlin/build.gradle.kts

            // tag::process-changed-inputs[]
            inputChanges.getFileChanges(inputDir).forEach { change ->
                if (change.fileType == FileType.DIRECTORY) return@forEach
    
                println("${change.changeType}: ${change.normalizedPath}")
                val targetFile = outputDir.file(change.normalizedPath).get().asFile
                if (change.changeType == ChangeType.REMOVED) {
                    targetFile.delete()
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top