Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for Karen (0.12 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            .containsExactly(0, 1, 3, 6, 10, 15, 21)
            .inOrder();
      }
    
      public void testCopyOf_array_empty() {
        /*
         * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's
         * useful in testing - when two things are the same then one can't have bugs the other doesn't.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
      protected final void ignoreClasses(Predicate<? super Class<?>> condition) {
        this.classFilter = and(this.classFilter, not(condition));
      }
    
      private static AssertionFailedError sanityError(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableCollection.java

            return new RegularImmutableAsList<>(this, toArray());
        }
      }
    
      /**
       * Returns {@code true} if this immutable collection's implementation contains references to
       * user-created objects that aren't accessible via this collection's methods. This is generally
       * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
       */
      abstract boolean isPartialView();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/collect/ImmutableCollection.java

        return isEmpty() ? ImmutableList.of() : ImmutableList.asImmutableList(toArray());
      }
    
      /**
       * Returns {@code true} if this immutable collection's implementation contains references to
       * user-created objects that aren't accessible via this collection's methods. This is generally
       * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
       */
      abstract boolean isPartialView();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashMap.java

           * valid value. That's the best we can do, short of holding a reference to the most recently
           * seen value. And while we *could* do that, we aren't required to: Map.Entry explicitly says
           * that behavior is undefined when the backing map is modified through another API. (It even
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                            getLogger().debug(metadata + " could not be found on repository: " + repository.getId());
    
                            // delete the local copy so the old details aren't used.
                            if (file.exists()) {
                                if (!file.delete()) {
                                    // sleep for 10ms just in case this is windows holding a file lock
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      private void testParameter(
          @Nullable Object instance, Invokable<?, ?> invokable, int paramIndex, Class<?> testedClass) {
        /*
         * com.google.common is starting to rely on type-use annotations, which aren't visible under
         * Android VMs and in open-source guava-android. So we skip testing there.
         */
        if (Reflection.getPackageName(testedClass).startsWith("com.google.common")) {
          return;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

       * FuturesGetChecked#getChecked(Future, Class)}, possibly using caching.
       *
       * <p>Uses reflection to gracefully fall back to when certain implementations aren't available.
       */
      @VisibleForTesting
      static class GetCheckedTypeValidatorHolder {
        static final GetCheckedTypeValidator BEST_VALIDATOR = getBestValidator();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        bytesA[4] = (byte) 0xbe;
        bytesB[4] = (byte) 0xef;
    
        HashCode hashCodeA = HashCode.fromBytes(bytesA);
        HashCode hashCodeB = HashCode.fromBytes(bytesB);
    
        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
      protected final void ignoreClasses(Predicate<? super Class<?>> condition) {
        this.classFilter = and(this.classFilter, not(condition));
      }
    
      private static AssertionFailedError sanityError(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
Back to top