Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 350 for invalidating (0.23 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultPersistentDirectoryCache.java

                        LOGGER.warn("Invalidating {} as it was not closed cleanly.", DefaultPersistentDirectoryCache.this);
                    }
                    return true;
                }
    
                if (!properties.isEmpty()) {
                    if (!propertiesFile.exists()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:20:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy

            build.waitForFinish()
            pathsInvalidated()
    
            cleanup:
            block?.releaseAll()
            build?.waitForFinish()
        }
    
        @TargetGradleVersion(">=3.0 <6.1")
        def "invalidating paths has no effect on older daemons"() {
            when:
            createIdleDaemon()
            def executedCommandCount = countExecutedCommands()
    
            then:
            executedCommandCount == 3
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java

            }
        }
    
        @Override
        public void invalidate(Iterable<String> locations) {
            LOGGER.debug("Invalidating VFS paths: {}", locations);
            updateRootUnderLock(root -> {
                SnapshotHierarchy result = root;
                VersionHierarchyRoot newVersionHierarchyRoot = versionHierarchyRoot;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/HandleInvalidateVirtualFileSystem.java

                gradleUserHomeScopeServiceRegistry.getCurrentServices().ifPresent(currentServices -> {
                    LOGGER.info("Invalidating {}", command.getChangedPaths());
                    FileSystemAccess fileSystemAccess = currentServices.get(FileSystemAccess.class);
                    fileSystemAccess.invalidate(command.getChangedPaths());
                });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 14:21:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/DefaultFileWatcherRegistry.java

                                    if (absolutePath == null) {
                                        LOGGER.info("Overflow detected (type: {}), invalidating all watched files", type);
                                        fileWatcherUpdater.getWatchedFiles().visitRoots(watchedRoot ->
                                            handler.handleChange(OVERFLOW, Paths.get(watchedRoot)));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/UnknownFileSystemNodeTest.groovy

            addedNodes.empty
            interaction { noMoreInteractions() }
    
            where:
            vfsSpec << (IS_PREFIX_OF_CHILD + SAME_PATH).findAll { it.childPaths.size() > 1 }
        }
    
        def "invalidating the only child by #vfsSpec.searchedPath removes the node (#vfsSpec)"() {
            setupTest(vfsSpec)
    
            when:
            def resultRoot = initialRoot.invalidate(searchedPath, CASE_SENSITIVE, diffListener)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. test/recover4.go

    		log.Fatalf("mmap: %v", err)
    	}
    
    	// Create a hole in the mapping that's PROT_NONE.
    	// Note that we can't use munmap here because the Go runtime
    	// could create a mapping that ends up in this hole otherwise,
    	// invalidating the test.
    	hole := data[len(data)/2 : 3*(len(data)/4)]
    	if err := syscall.Mprotect(hole, syscall.PROT_NONE); err != nil {
    		log.Fatalf("mprotect: %v", err)
    	}
    
    	// Check that memcopy returns the actual amount copied
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/InMemoryDecoratedCache.java

            if (previousState == null) {
                outOfDate = true;
            } else if (currentCacheState.hasBeenUpdatedSince(previousState)) {
                LOG.info("Invalidating in-memory cache of {}", cacheId);
                outOfDate = true;
            }
            if (outOfDate) {
                inMemoryCache.invalidateAll();
            }
            delegate.afterLockAcquire(currentCacheState);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/cache/internal/DefaultFileContentCacheFactory.java

                this.calculator = calculator;
            }
    
            @Override
            public void invalidateCachesFor(Iterable<String> affectedOutputPaths) {
                // A very dumb strategy for invalidating cache
                locationCache.clear();
            }
    
            @Override
            public V get(File file) {
                return locationCache.computeIfAbsent(file,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutor.java

                    return entry.getResult();
                } else if (LOGGER.isDebugEnabled()) {
                    LOGGER.debug("Invalidating result for rule {} and key {} in cache", rules, key);
                }
            }
    
            RESULT result = executeRule(key, action, detailsToResult, onCacheMiss);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top