Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for clearValue (0.08 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        public String remove(Object key) {
            Layout l = layout.get(key);
            if (l != null) {
                l.clearValue();
            }
            return storage.remove(key);
        }
    
        @Override
        public void clear() {
            for (Layout l : layout.values()) {
                l.clearValue();
            }
            storage.clear();
        }
    
        /**
         * Return the comment header.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setTableEntryForTesting(0, entry);
        // don't increment count; this is used during computation
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
        // no notification sent with clearValue
        assertEquals(0, segment.count);
        assertNull(table.get(0));
    
        // clear wrong value reference
        segment.setTableEntryForTesting(0, entry);
        WeakValueReference<Object, Object, ?> otherValueRef =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setTableEntryForTesting(0, entry);
        // don't increment count; this is used during computation
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
        // no notification sent with clearValue
        assertEquals(0, segment.count);
        assertNull(table.get(0));
    
        // clear wrong value reference
        segment.setTableEntryForTesting(0, entry);
        WeakValueReference<Object, Object, ?> otherValueRef =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top