Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for invalidateAll (0.19 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

                .removalListener(listener)
                .ticker(ticker)
                .build();
        cache.put(1, 1);
        ticker.advance(10, TimeUnit.MINUTES);
        cache.invalidateAll();
    
        assertThat(listener.poll().getCause()).isEqualTo(RemovalCause.EXPIRED);
      }
    
      private void runRemovalScheduler(
          LoadingCache<String, Integer> cache,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 18.7K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          localCache.put(key, value);
        }
    
        @Override
        public void invalidate(Object key) {
          checkNotNull(key);
          localCache.remove(key);
        }
    
        @Override
        public void invalidateAll() {
          localCache.clear();
        }
    
        @Override
        public long size() {
          return localCache.size();
        }
    
        @Override
        public ConcurrentMap<K, V> asMap() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top