Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for inline (0.17 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

                checkEntryNotNull(key, value);
                keys[i] = key;
                values[i] = value;
              }
            } else {
              // Need to sort and check for nulls and dupes.
              // Inline the Comparator implementation rather than transforming with a Function
              // to save code size.
              Arrays.sort(
                  entryArray,
                  0,
                  size,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

                checkEntryNotNull(key, value);
                keys[i] = key;
                values[i] = value;
              }
            } else {
              // Need to sort and check for nulls and dupes.
              // Inline the Comparator implementation rather than transforming with a Function
              // to save code size.
              Arrays.sort(
                  entryArray,
                  0,
                  size,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final ImmutableSet<String> SOMEWHERE_UNDER_PS =
          ImmutableSet.of(
              "foo.bar.google.com",
              "a.b.c.1.2.3.ca.us",
              "site.jp",
              "uomi-online.kir.jp",
              "jprs.co.jp",
              "site.quick.jp",
              "site.tenki.jp",
              "site.or.jp",
              "site.gr.jp",
              "site.ne.jp",
              "site.ac.jp",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

         * value put for that key.
         */
        @CanIgnoreReturnValue
        public Builder<K, V> put(K key, V value) {
          ensureCapacity(size + 1);
          Entry<K, V> entry = entryOf(key, value);
          // don't inline this: we want to fail atomically if key or value is null
          entries[size++] = entry;
          return this;
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

         * class, so we need the indirection. In production, Hotspot should still
         * recognize that the call is 1-morphic and should still be willing to
         * inline it if necessary.
         */
        int identityHashCode(Object object) {
          return System.identityHashCode(object);
        }
      }
    
      // Constructor
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      private static <K, V> LocalCache<K, V> makeLocalCache(
          CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) {
        return new LocalCache<>(builder, loader);
      }
    
      // TODO(cpovirk): Inline createCacheBuilder()?
    
      private static CacheBuilder<Object, Object> createCacheBuilder() {
        return CacheBuilder.newBuilder();
      }
    
      // constructor tests
    
      public void testDefaults() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      private static <K, V> LocalCache<K, V> makeLocalCache(
          CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) {
        return new LocalCache<>(builder, loader);
      }
    
      // TODO(cpovirk): Inline createCacheBuilder()?
    
      private static CacheBuilder<Object, Object> createCacheBuilder() {
        return CacheBuilder.newBuilder();
      }
    
      // constructor tests
    
      public void testDefaults() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

        }
    
        /**
         * Refreshes the value associated with {@code key}, unless another thread is already doing so.
         * Returns the newly refreshed value associated with {@code key} if it was refreshed inline, or
         * {@code null} if another thread is performing the refresh or if an error occurs during
         * refresh.
         */
        @CanIgnoreReturnValue
        @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

          if (forwardComparator == null) {
            return (Comparator) Ordering.natural().reverse();
          } else {
            return reverse(forwardComparator);
          }
        }
    
        // If we inline this, we get a javac error.
        private static <T extends @Nullable Object> Ordering<T> reverse(Comparator<T> forward) {
          return Ordering.from(forward).reverse();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Converter.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CheckReturnValue;
    import com.google.errorprone.annotations.ForOverride;
    import com.google.errorprone.annotations.InlineMe;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import com.google.j2objc.annotations.RetainedWith;
    import java.io.Serializable;
    import java.util.Iterator;
    import javax.annotation.CheckForNull;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top