Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for decrease (0.19 sec)

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

      public void testRemove_present() {
        int initialSize = collection.size();
        assertTrue("remove(present) should return true", collection.remove(e0()));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      public void testRemove_present() {
        int initialSize = collection.size();
        assertTrue("remove(present) should return true", collection.remove(e0()));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing(e0());
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      public void testRemove_present() {
        int initialSize = getMap().size();
        assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0()));
        assertEquals(
            "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size());
        expectMissing(e0());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      public void testRemove_present() {
        int initialSize = getMap().size();
        assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0()));
        assertEquals(
            "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size());
        expectMissing(e0());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      /*
       * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we
       * assume that using setCount() to increase the count is permitted iff add()
       * is permitted and similarly for decrease/remove(). We assume that a
       * setCount() no-op is permitted if either add() or remove() is permitted,
       * though we also allow it to "succeed" if neither is permitted.
       */
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      /*
       * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we
       * assume that using setCount() to increase the count is permitted iff add()
       * is permitted and similarly for decrease/remove(). We assume that a
       * setCount() no-op is permitted if either add() or remove() is permitted,
       * though we also allow it to "succeed" if neither is permitted.
       */
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    // it had, and will use the same type again when it is serialized.
    //
    // Before serializing, Quantity will be put in "canonical form".
    // This means that Exponent/suffix will be adjusted up or down (with a
    // corresponding increase or decrease in Mantissa) such that:
    //
    // - No precision is lost
    // - No fractional digits will be emitted
    // - The exponent (or suffix) is as large as possible.
    //
    // The sign will be omitted unless the number is negative.
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        setPolicy(pool, address, ConnectionPool.AddressPolicy(5))
        assertThat(pool.connectionCount()).isEqualTo(1)
    
        // Decrease the connection's max so that another connection is needed
        updateMaxConcurrentStreams(http2Connection, 4)
        assertThat(pool.connectionCount()).isEqualTo(2)
    
        // Increase the connection's max so that the new connection is no longer needed
        updateMaxConcurrentStreams(http2Connection, 5)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       *   <li>When you reduce the number of buckets, you can accept that the most recently added
       *       buckets will be removed first. More concretely, if you are dividing traffic among tasks,
       *       you can decrease the number of tasks from 15 and 10, killing off the final 5 tasks, and
       *       {@code consistentHash} will handle it. If, however, you are dividing traffic among
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // be used).  The desired replica count is calculated multiplying the
      // ratio between the target value and the current value by the current
      // number of pods.  Ergo, metrics used must decrease as the pod count is
      // increased, and vice-versa.  See the individual metric source types for
      // more information about how each type of metric must respond.
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21K bytes
    - Viewed (0)
Back to top