Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for incorrecta (0.15 sec)

  1. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          assertErrorMessage(e, obj + " must not be Object#equals to null");
          return;
        }
        fail("Should get equal to null error");
      }
    
      /** Test proper handling where an object incorrectly tests for an incompatible class */
      public void testInvalidEqualsIncompatibleClass() {
        Object obj = new InvalidEqualsIncompatibleClassObject();
        equalsTester.addEqualityGroup(obj);
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <p>The C++ equivalent is the MurmurHash3_x86_32 function (Murmur3A), which however does not
       * have the bug.
       *
       * @deprecated This implementation produces incorrect hash values from the {@link
       *     HashFunction#hashString} method if the string contains non-BMP characters. Use {@link
       *     #murmur3_32_fixed(int)} instead.
       */
      @Deprecated
    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)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            List<RecursiveTypeBoundBugExample<? extends RecursiveTypeBoundBugExample<T>>> arg) {
          return notSubtype(arg); // isSubtype() currently incorrectly considers it a subtype.
        }
      }
    
      private static class WildcardSubtypingTests extends SubtypeTester {
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Monitor.java

     * condition becomes true (no "signaling storms" due to use of {@link
     * java.util.concurrent.locks.Condition#signalAll Condition.signalAll}) and that no signals are lost
     * (no "hangs" due to incorrect use of {@link java.util.concurrent.locks.Condition#signal
     * Condition.signal}).
     *
     * <p>A thread is said to <i>occupy</i> a monitor if it has <i>entered</i> the monitor but not yet
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

        try {
          Sets.subSet(set, Range.closed(4, 8));
          fail("IllegalArgumentException expected");
        } catch (IllegalArgumentException expected) {
        }
    
        // These results are all incorrect, but there's no way (short of iterating over the result)
        // to verify that with an arbitrary ordering or comparator.
        assertEquals(ImmutableSortedSet.of(2, 4), Sets.subSet(set, Range.atLeast(4)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

         *
         * Otherwise, if b == Long.MIN_VALUE, then the only allowed values of a are 0 and 1. We take
         * care of all a < 0 with their own check, because in particular, the case a == -1 will
         * incorrectly pass the division check below.
         *
         * In all other cases, we check that either a is 0 or the result is consistent with division.
         */
        if (leadingZeros > Long.SIZE + 1) {
          return a * b;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        assertThat(compareCalls[0]).isAtMost(10L * n * IntMath.log2(k, RoundingMode.CEILING));
      }
    
      public void testExceedMaxIteration() {
        /*
         * Bug #5692 occurred when TopKSelector called Arrays.sort incorrectly.
         */
        TopKSelector<Integer> top = TopKSelector.least(7);
        top.offerAll(Ints.asList(5, 7, 6, 2, 4, 3, 1, 0, 0, 0, 0, 0, 0, 0));
        assertThat(top.topK()).isEqualTo(Ints.asList(0, 0, 0, 0, 0, 0, 0));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

       *
       * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator
       * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
       * to remove() will incorrectly throw an IllegalStateException, instead of removing the last
       * element returned.
       *
       * <p>See <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6529795">Sun bug 6529795</a>
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

       * }</pre>
       *
       * The code above returns an iterable containing {@code Number.class} and {@code Long.class}.
       *
       * @since 20.0 (since 10.0 under the incorrect name {@code assignableFrom})
       */
      @J2ktIncompatible
      @GwtIncompatible // Class.isAssignableFrom
      public static Predicate<Class<?>> subtypeOf(Class<?> clazz) {
        return new SubtypeOfPredicate(clazz);
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      private static void removeMaxFromReplica(
          SortedMap<Integer, AtomicInteger> replica, int maxValue) {
        Integer replicatedMaxValue = replica.lastKey();
        assertTrue("maxValue is incorrect", replicatedMaxValue == maxValue);
        removeFromReplica(replica, replicatedMaxValue);
      }
    
      private static void removeFromReplica(Map<Integer, AtomicInteger> replica, int value) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
Back to top