Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 611 for evicting (0.19 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/metacache-bucket.go

    func (b *bucketMetacache) updateCacheEntry(update metacache) (metacache, error) {
    	b.mu.Lock()
    	defer b.mu.Unlock()
    	existing, ok := b.caches[update.id]
    	if !ok {
    		return update, errFileNotFound
    	}
    	existing.update(update)
    	b.caches[update.id] = existing
    	b.updated = true
    	return existing, nil
    }
    
    // cloneCaches will return a clone of all current caches.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        // next map.get()
        when(backingMap.get(KEY)).thenReturn(existingZero);
        // since get returned zero, try a replace; that fails due to a simulated race
        when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false);
        when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existing);
    
        // another map.get()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            @DisplayName("should not overwrite existing .mvn directory")
            void shouldNotOverwriteExistingMvnDirectory() throws Exception {
                Path projectDir = tempDir.resolve("project");
                Files.createDirectories(projectDir);
    
                Path mvnDir = projectDir.resolve(".mvn");
                Files.createDirectories(mvnDir);
                Path existingFile = mvnDir.resolve("existing.txt");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

         */
        @Override
        public void addProfile(Profile profile) {
            String profileId = profile.getId();
    
            Profile existing = profilesById.get(profileId);
            if (existing != null) {
                logger.warn("Overriding profile: '" + profileId + "' (source: " + existing.getSource()
                        + ") with new instance from source: " + profile.getSource());
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens
     * when maximumSize is reached, etc.
     *
     * @author mike nonemacher
     */
    @NullUnmarked
    public class CacheEvictionTest extends TestCase {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/escape/EscapersTest.java

        builder.addEscape(' ', "_");
        Escaper first = builder.build();
        // Modify one of the existing mappings before creating a new escaper.
        builder.addEscape(' ', "-");
        builder.addEscape('!', "$");
        Escaper second = builder.build();
        // This should have no effect on existing escapers.
        builder.addEscape(' ', "*");
    
        // Test both escapers after modifying the builder.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

         * found, the existing values are replaced.
         */
        operator fun set(
          name: String,
          value: Date,
        ) = set(name, value.toHttpDateString())
    
        /**
         * Set a field with the specified instant. If the field is not found, it is added. If the field
         * is found, the existing values are replaced.
         */
        @Suppress("NewApi")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            Map<String, Object> dataMap = new HashMap<>();
            dataMap.put("url", "http://example.com/test");
            dataMap.put("doc_id", "existing-doc-id");
    
            indexUpdateCallback.store(paramMap, dataMap);
    
            // Should keep existing doc_id
            assertEquals("existing-doc-id", dataMap.get("doc_id"));
        }
    
        @Test
        public void test_concurrentStore() throws Exception {
            // Test thread safety
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

        public void test_createDirectories_existingPath() throws Exception {
            // Test that Files.createDirectories is idempotent (no exception on existing dir)
            Path tempDir = Files.createTempDirectory("toctou_test");
            try {
                Path existingPath = tempDir.resolve("existing");
                Files.createDirectories(existingPath);
                assertTrue(Files.exists(existingPath));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. docs/fr/llm-prompt.md

    D'autres ...
    La suite ...
    ```
    
    - This does not apply in URLs, code blocks, and code snippets. Do not remove or add spaces there.
    
    ### Headings
    
    - Prefer translating headings using the infinitive form (as is common in the existing French docs): `Créer…`, `Utiliser…`, `Ajouter…`.
    
    - For headings that are instructions written in imperative in English (e.g. `Go check …`), keep them in imperative in French, using the formal grammar (e.g. `Allez voir …`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 16 11:57:08 GMT 2026
    - 3.6K bytes
    - Click Count (0)
Back to Top