Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for notice (0.15 sec)

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

        assertEquals(distinct, getMultiset().elementSet().size());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_occurrences_unsupported_absent() {
        // notice: we don't care whether it succeeds, or fails with UOE
        try {
          assertEquals(
              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Suppliers.java

                T t = delegate.get();
                value = t;
                nanos = now + durationNanos;
                // In the very unlikely event that nanos is 0, set it to 1;
                // no one will notice 1 ns of tardiness.
                expirationNanos = (nanos == 0) ? 1 : nanos;
                return t;
              }
            }
          }
          // This is safe because we checked `expirationNanos`.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Booleans.ensureCapacity(ARRAY_FALSE, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Booleans.ensureCapacity(ARRAY_FALSE, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testJoin() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Booleans.ensureCapacity(ARRAY_FALSE, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Booleans.ensureCapacity(ARRAY_FALSE, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testJoin() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals(distinct, getMultiset().elementSet().size());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_occurrences_unsupported_absent() {
        // notice: we don't care whether it succeeds, or fails with UOE
        try {
          assertEquals(
              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Shorts.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Shorts.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testJoin() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Floats.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Floats.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hashing.java

    public final class Hashing {
      /**
       * Returns a general-purpose, <b>temporary-use</b>, non-cryptographic hash function. The algorithm
       * the returned function implements is unspecified and subject to change without notice.
       *
       * <p><b>Warning:</b> a new random seed for these functions is chosen each time the {@code
       * Hashing} class is loaded. <b>Do not use this method</b> if hash codes may escape the current
    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)
  9. guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Bytes.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Bytes.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testToArray() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      public void testEnsureCapacity_fail() {
        try {
          Doubles.ensureCapacity(ARRAY1, -1, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        try {
          // notice that this should even fail when no growth was needed
          Doubles.ensureCapacity(ARRAY1, 1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
Back to top