Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for invalidateAll (0.17 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/AbsolutePathFileCollectionFingerprinterTest.groovy

            when:
            FileCollectionFingerprint fingerprint = fingerprinter.fingerprint(files(file))
            virtualFileSystem.invalidateAll()
            changes(fingerprint, fingerprinter.fingerprint(files(file)), listener)
            file.setLastModified(45600L)
            virtualFileSystem.invalidateAll()
            changes(fingerprint, fingerprinter.fingerprint(files(file)), listener)
    
            then:
            0 * listener._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 20 16:00:23 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileProcessorTest.groovy

        }
    
        def added(TestFile sourceFile) {
            virtualFileSystem.invalidateAll()
            modifiedFiles << sourceFile
            graph[sourceFile] = []
        }
    
        def sourceAdded(TestFile sourceFile, List<File> deps = []) {
            virtualFileSystem.invalidateAll()
            sourceFiles << sourceFile
            modifiedFiles << sourceFile
            graph[sourceFile] = deps
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:31:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(2456, 56);
        cache.put(2, 15);
    
        cache.invalidateAll();
        assertFalse(cache.asMap().containsKey(654));
        assertFalse(cache.asMap().containsKey(2456));
        assertFalse(cache.asMap().containsKey(2));
    
        cache.put(654, 2675);
        cache.put(2456, 56);
        cache.put(2, 15);
        cache.put(1, 3);
    
        cache.invalidateAll(ImmutableSet.of(1, 2));
    
        assertFalse(cache.asMap().containsKey(1));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 15.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(2456, 56);
        cache.put(2, 15);
    
        cache.invalidateAll();
        assertFalse(cache.asMap().containsKey(654));
        assertFalse(cache.asMap().containsKey(2456));
        assertFalse(cache.asMap().containsKey(2));
    
        cache.put(654, 2675);
        cache.put(2456, 56);
        cache.put(2, 15);
        cache.put(1, 3);
    
        cache.invalidateAll(ImmutableSet.of(1, 2));
    
        assertFalse(cache.asMap().containsKey(1));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 15K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

            if (StringUtil.isBlank(pipeline)) {
                return OptionalThing.empty();
            }
            return OptionalThing.of(pipeline);
        }
    
        public void refresh() {
            crawlingConfigCache.invalidateAll();
        }
    
        public synchronized String store(final String sessionId, final CrawlingConfig crawlingConfig) {
            final String sessionCountId = sessionId + "-" + count;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

                defaultExcludes = newDefaultExcludes;
                directorySnapshotter = new DirectorySnapshotter(hasher, stringInterner, newDefaultExcludes, statisticsCollector);
                virtualFileSystem.invalidateAll();
            }
        }
    
        private static class StripedProducerGuard<T> {
            private final Striped<Lock> locks = Striped.lock(Runtime.getRuntime().availableProcessors() * 4);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                    computationComplete.countDown();
                  }
                })
            .start();
    
        // wait for the computingEntry to be created
        computationStarted.await();
        cache.invalidateAll();
        // let the computation proceed
        computingLatch.countDown();
        // don't check cache.size() until we know the get("b") call is complete
        computationComplete.await();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 03 20:10:02 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

        }
    
        ExecutionEngine.Result execute(UnitOfWork unitOfWork) {
            virtualFileSystem.invalidateAll()
            createExecutor().createRequest(unitOfWork).execute()
        }
    
        String executeDeferred(UnitOfWork unitOfWork, Cache<UnitOfWork.Identity, Try<Object>> cache) {
            virtualFileSystem.invalidateAll()
            def result = createExecutor().createRequest(unitOfWork)
                .executeDeferred(cache)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
Back to top