Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for karen (0.13 sec)

  1. guava/src/com/google/common/base/Functions.java

       * map.getOrDefault(k, defaultValue)} instead.
       *
       * @param map source map that determines the function behavior
       * @param defaultValue the value to return for inputs that aren't map keys
       * @return function that returns {@code map.get(a)} when {@code a} is a key, or {@code
       *     defaultValue} otherwise
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

              int entryCount = entry.getCount();
              return countMap.remove(element, entryCount);
            }
            return false;
          }
    
          /** The hash code is the same as countMap's, though the objects aren't equal. */
          @Override
          public int hashCode() {
            return countMap.hashCode();
          }
        }
    
        /** We use a special form of unboxing that treats null as zero. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            .containsExactly(0L, 1L, 3L, 6L, 10L, 15L, 21L)
            .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
    - 19K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

                i3, // Integer subscribers are dispatched to first.
                s1,
                s2, // Though each integer subscriber dispatches to all string subscribers,
                s1,
                s2, // those string subscribers aren't actually dispatched to until all integer
                s1,
                s2 // subscribers have finished.
                )
            .inOrder();
      }
    
      public void testLegacyAsyncDispatcher() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 15:41:25 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            .containsExactly(0.0, 1.0, 3.0, 6.0, 10.0, 15.0, 21.0)
            .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.
         */
        assertThat(ImmutableDoubleArray.copyOf(new double[0]))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/MoreFilesTest.java

                  // the delete method may or may not throw an exception, but if it does that's fine
                  // and expected
                }
    
                // this test is mainly checking that the contents of /dontdelete aren't deleted under
                // any circumstances
                assertEquals(3, MoreFiles.listFiles(symlinkTarget).size());
    
                Thread.yield();
              }
            } finally {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Returns {@code true} if this immutable multimap's implementation contains references to
       * user-created objects that aren't accessible via this multimap's methods. This is generally used
       * to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
       */
      boolean isPartialView() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMultimap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Returns {@code true} if this immutable multimap's implementation contains references to
       * user-created objects that aren't accessible via this multimap's methods. This is generally used
       * to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
       */
      boolean isPartialView() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        setDefault(type, value1);
        return this;
      }
    
      /**
       * Tests that {@code cls} properly checks null on all constructor and method parameters that
       * aren't annotated nullable (according to the rules of {@link NullPointerTester}). In details:
       *
       * <ul>
       *   <li>All non-private static methods are checked such that passing null for any parameter
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Parameter.java

       * more specific return type as long as users are careful to guard calls to it with version checks
       * or reflection: Android VMs ignore the types of elements that aren't used.
       */
      private final @Nullable Object annotatedType;
    
      Parameter(
          Invokable<?, ?> declaration,
          int position,
          TypeToken<?> type,
          Annotation[] annotations,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top