Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 204 for olur (0.23 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
      public ImmutableMap<Object, Collection<Object>> asMap() {
        return super.asMap();
      }
    
      private Object readResolve() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

        try {
          maker.initialCapacity(-1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
          maker.initialCapacity(16);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

        return Multisets.iteratorImpl(this);
      }
    
      @Override
      public @Nullable Object[] toArray() {
        return standardToArray();
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return standardToArray(array);
      }
    
      @Override
      public String toString() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 24 16:03:45 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top