Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 254 for caches (0.04 seconds)

  1. .github/workflows/maven.yml

              merge-multiple: true
              pattern: 'cache-${{ runner.os }}*'
              path: ${{ env.MIMIR_LOCAL }}
          - name: Publish cache
            uses: actions/cache/save@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
            if: ${{ github.event_name != 'pull_request' && !cancelled() && !failure() }}
            with:
              path: ${{ env.MIMIR_LOCAL }}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 04:24:24 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  2. cmd/metacache-bucket.go

    			remove[id] = struct{}{}
    			continue
    		}
    		if cache.id != id {
    			logger.Info("cache ID mismatch %s != %s", id, cache.id)
    			remove[id] = struct{}{}
    			continue
    		}
    		if cache.bucket != b.bucket {
    			logger.Info("cache bucket mismatch %s != %s", b.bucket, cache.bucket)
    			remove[id] = struct{}{}
    			continue
    		}
    	}
    
    	// If above limit, remove the caches with the oldest handout time.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. .github/workflows/codeql-analysis.yml

        - name: Cache Gradle Modules
          uses: actions/cache@v5
          with:
            path: |
              ~/.gradle/caches/modules-2/
              ~/.gradle/caches/build-cache-1/
              ~/.gradle/caches/signatures/
              ~/.gradle/caches/keyrings/
            key: ${{ runner.os }}-gradle-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 22:12:03 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. internal/stmt_store/stmt_store.go

    // This interface provides methods for creating new statements, retrieving all cache keys,
    // getting cached statements, setting cached statements, and deleting cached statements.
    type Store interface {
    	// New creates a new Stmt object and caches it.
    	// Parameters:
    	//   ctx: The context for the request, which can carry deadlines, cancellation signals, etc.
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Apr 27 06:05:16 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                    valueType = null;
                }
                helper.setProperty(bean, propertyName, valueType, element);
            }
        }
    
        /**
         * Clear all caches. Useful for testing or memory management.
         */
        public static void clearCaches() {
            EXPRESSION_CACHE.clear();
            EnhancedCompositeBeanHelper.clearCaches();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCache.java

    public interface ModelCache {
    
        /**
         * Puts the specified data into the cache.
         *
         * @param groupId The group id of the cache record, must not be {@code null}.
         * @param artifactId The artifact id of the cache record, must not be {@code null}.
         * @param version The version of the cache record, must not be {@code null}.
         * @param tag The tag of the cache record, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

     *
     * The main method will execute the JMH benchmarks with the configured parameters.
     *
     * IMPORTANT: Caches are only cleared between trials (10-second periods), not between individual
     * iterations, to properly test the cache benefits within each measurement period.
     */
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MICROSECONDS)
    @Warmup(iterations = 3, time = 1)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

    import org.eclipse.aether.repository.RemoteRepository;
    import org.eclipse.aether.repository.WorkspaceRepository;
    
    /**
     * Caches raw plugin descriptors. A raw plugin descriptor is a descriptor that has just been extracted from the plugin
     * artifact and does not contain any runtime specific data. The cache must not be used for descriptors that hold runtime
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java

            config.setValue("testValue");
    
            when(evaluator.evaluate("testValue")).thenReturn("testValue");
    
            // First call - should populate cache
            helper.setProperty(bean1, "name", String.class, config);
    
            // Second call - should use cache
            long start2 = System.nanoTime();
            helper.setProperty(bean2, "name", String.class, config);
            long time2 = System.nanoTime() - start2;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 8.7K bytes
    - Click Count (0)
Back to Top