Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 271 for olur (0.14 sec)

  1. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       <i>compile</i> against Android. Now, this might be an artifact of our build system, one
     *       that we could probably work around. Or we could manually strip the test from open-source
     *       Guava while continuing to run it internally, as we do with many other tests. This would
     *       suffice because we our Android users and tests are using the open-source version, which
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultisetGwtSerializationDependencies.java

     *
     * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
     *
     * <p>For {@code ImmutableMultiset} in particular, I ran into a problem with the {@code
     * GwtSerializationDependencies} approach: When autogenerating a serializer for the new class, GWT
     * tries to refer to our dummy serializer for the superclass,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Interners.java

            @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :(
            InternalEntry entry = map.getEntry(sample);
            if (entry != null) {
              Object canonical = entry.getKey();
              if (canonical != null) { // only matters if weak/soft keys are used
                // The compiler would know this is safe if not for our use of raw types (see above).
                @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

          if (delegate == null) {
            return;
          }
    
          /*
           * If we're about to complete the TimeoutFuture, we want to release our reference to it.
           * Otherwise, we'll pin it (and its result) in memory until the timeout task is GCed. (The
           * need to clear our reference to the TimeoutFuture is the reason we use a *static* nested
           * class with a manual reference back to the "containing" class.)
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

      @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
      public void testWeakImplementations() {
        for (Striped<?> striped : weakImplementations()) {
          WeakReference<Object> weakRef = new WeakReference<>(striped.get(new Object()));
          GcFinalization.awaitClear(weakRef);
        }
      }
    
      @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
      public void testWeakReadWrite() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         *
         * Thread2: calls setException(), which returns false, CASes seenExceptions to its exception,
         * and wrongly believes that its exception is new (leading it to logging it when it shouldn't)
         *
         * Our solution is for threads to CAS seenExceptions from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that seenExceptions
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractBiMap.java

        }
    
        @Override
        public @Nullable Object[] toArray() {
          return standardToArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // bug in our checker's handling of toArray signatures
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return standardToArray(array);
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/WrongType.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A type which will never be used as the element type of any collection in our tests, and so can be
     * used to test how a Collection behaves when given input of the wrong type.
     */
    @GwtCompatible
    public enum WrongType {
      VALUE
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 934 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/IgnoreJRERequirement.java

    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 17:03:50 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // Note that if all the futures on the list are done prior to completing this loop, the last
          // call to addListener() will callback to setOneValue(), transitively call our cleanup
          // listener, and set this.futures to null.
          // This is not actually a problem, since the foreach only needs this.futures to be non-null
          // at the beginning of the loop.
          int i = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top