Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 675 for zeros (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresent() {
        try {
          assertEquals(v0(), getMap().replace(k0(), v3()));
          expectReplacement(entry(k0(), v3()));
        } catch (ClassCastException tolerated) { // for ClassToInstanceMap
          expectUnchanged();
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_sometimesTrue() {
        assertTrue(
            "removeIf(isEqual(present)) should return true",
            collection.removeIf(Predicate.isEqual(samples.e0())));
        expectMissing(samples.e0());
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_allPresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresent() {
        assertEquals(v0(), getMap().replace(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresentNoChange() {
        assertEquals(v0(), getMap().replace(k0(), v0()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresent() {
        try {
          assertEquals(v0(), getMap().replace(k0(), v3()));
          expectReplacement(entry(k0(), v3()));
        } catch (ClassCastException tolerated) { // for ClassToInstanceMap
          expectUnchanged();
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testClearPropagatesToGet() {
        for (K key : sampleKeys()) {
          resetContainer();
          Collection<V> collection = multimap().get(key);
          multimap().clear();
          assertEmpty(collection);
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClearPropagatesToAsMapGet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testContainsEntryWithNullValuePresent() {
        initMapWithNullValue();
        assertTrue(getMap().entrySet().contains(mapEntry(getKeyForNullValue(), null)));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testContainsEntryWithNullValuePresent() {
        initMapWithNullValue();
        assertTrue(getMap().entrySet().contains(mapEntry(getKeyForNullValue(), null)));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

          a = entries.get(0);
          if (entries.size() >= 3) {
            c = entries.get(2);
          }
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapFirst() {
        assertThrows(NoSuchElementException.class, () -> navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapLast() {
        assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. common/config/sass-lint.yml

      # Raise an error if more than 50 warnings are generated
      max-warnings: 500
    # Rule Configuration
    rules:
      attribute-quotes:
        - 2
        -
          include: false
      bem-depth: 2
      border-zero: 2
      brace-style: 2
      class-name-format: 2
      clean-import-paths: 2
      declarations-before-nesting: 2
      empty-args: 2
      empty-line-between-blocks: 2
      extends-before-declarations: 2
      extends-before-mixins: 2
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 11 23:32:21 UTC 2019
    - 2K bytes
    - Viewed (0)
Back to top