Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 814 for cacher (0.12 seconds)

  1. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

     *
     * <p>Thread Safety: This class is thread-safe. Each cached entry holds its own
     * GroovyClassLoader. The cache uses Guava Cache with segment-based locking for
     * lock-free concurrent reads. Each evaluate() call creates a new Script instance
     * to ensure thread isolation of bindings.</p>
     *
     * <p>Note on class-level isolation: Compiled Script classes are cached and reused.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java

        /**
         * Puts the specified data into the cache. <strong>Warning:</strong> The cache will directly save the provided
         * reference. If the cached data is mutable, i.e. could be modified after being put into the cache, the caller is
         * responsible for creating a copy of the original data and store the copy in the cache.
         *
         * @param request The repository request from which this cache was retrieved, must not be {@code null}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  3. cmd/metacache-manager.go

    	if err != nil {
    		return err
    	}
    	cache := *c
    
    	if cache.status == scanStateNone || cache.fileNotFound {
    		return errFileNotFound
    	}
    	if cache.status == scanStateSuccess || cache.status == scanStateStarted {
    		if time.Since(cache.lastUpdate) > metacacheMaxRunningAge {
    			// We got a stale entry, mark error on handling server.
    			err := fmt.Errorf("timeout: list %s not updated", cache.id)
    			cache.error = err.Error()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            for (String path : expiredPaths) {
                log.debug("Cleaning up expired directory cache entry: {}", path);
                releaseDirectoryLease(path);
            }
        }
    
        /**
         * Create SmbFile from cached file info
         *
         * @param directoryPath parent directory path
         * @param fileInfo cached file information
         * @return SmbFile instance
         * @throws IOException on error
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            String[] fields = { "cache1", "cache2", "cache3" };
            queryFieldConfig.setCacheResponseFields(fields);
    
            String[] result = queryFieldConfig.getCacheResponseFields();
            assertSame(fields, result);
        }
    
        @Test
        public void test_setCacheResponseFields() {
            String[] fields = { "cache1", "cache2", "cache3" };
            queryFieldConfig.setCacheResponseFields(fields);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Step 3: Verify can cache directory listing
            assertTrue(directoryLeaseManager.canCacheDirectoryListing(directoryPath));
    
            // Step 4: Initially no cached listing
            assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath));
    
            // Step 5: Simulate directory enumeration and update cache
            List<SmbFile> files = Arrays.asList(mockFile1, mockFile2);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                assertSame(cachedOrig, copySubj, "Clone should share the cached Subject reference");
    
                // Refreshing the original must not clear the clone's cached subject
                orig.refresh();
                // Clone should retain its cached Subject
                assertSame(copySubj, copy.getSubject(), "Clone should retain its cached Subject");
            } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

     * This implementation caches method and field lookups to avoid repeated reflection operations.
     */
    public final class EnhancedCompositeBeanHelper {
    
        // Cache for method lookups: Class -> PropertyName -> MethodInfo
        private static final ConcurrentMap<Class<?>, Map<String, MethodInfo>> METHOD_CACHE = new ConcurrentHashMap<>();
    
        // Cache for field lookups: Class -> FieldName -> Field
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/AbstractCache.java

      }
    
      /**
       * Accumulates statistics during the operation of a {@link Cache} for presentation by {@link
       * Cache#stats}. This is solely intended for consumption by {@code Cache} implementors.
       *
       * @since 10.0
       */
      public interface StatsCounter {
        /**
         * Records cache hits. This should be called when a cache request returns a cached value.
         *
         * @param count the number of hits to record
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

        )
    
    fun Project.isExpectedCompileCacheMiss() =
    // Expected cache-miss:
    // 1. CompileAll is the seed build
    // 2. Gradleception which re-builds Gradle with a new Gradle version
    // 3. buildScanPerformance test, which doesn't depend on compileAll
    // 4. buildScanPerformance test, which doesn't depend on compileAll
    // 5. Compile All for the experimental build cache NG
    // 6. BuildCommitDistribution may build a commit which is not built before
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Apr 11 20:57:49 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top