Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for variant (0.18 sec)

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

       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
        // using variant of single-word Wang/Jenkins hash.
        // TODO(kevinb): use Hashing/move this to Hashing?
        h += (h << 15) ^ 0xffffcd7d;
        h ^= (h >>> 10);
        h += (h << 3);
        h ^= (h >>> 6);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

      /** Resolver for resolving parameter and field types with {@link #runtimeType} as context. */
      @LazyInit @CheckForNull private transient TypeResolver invariantTypeResolver;
    
      /** Resolver for resolving covariant types with {@link #runtimeType} as context. */
      @LazyInit @CheckForNull private transient TypeResolver covariantTypeResolver;
    
      /**
       * Constructs a new type token of {@code T}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

      public static <V extends @Nullable Object> ListenableFuture<V> immediateFuture(
          @ParametricNullness V value) {
        if (value == null) {
          // This cast is safe because null is assignable to V for all V (i.e. it is bivariant)
          @SuppressWarnings("unchecked")
          ListenableFuture<V> typedNull = (ListenableFuture<V>) ImmediateFuture.NULL;
          return typedNull;
        }
        return new ImmediateFuture<>(value);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterators.java

          Iterator<? extends T> iterator) {
        checkNotNull(iterator);
        if (iterator instanceof UnmodifiableIterator) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          UnmodifiableIterator<T> result = (UnmodifiableIterator<T>) iterator;
          return result;
        }
        return new UnmodifiableIterator<T>() {
          @Override
          public boolean hasNext() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

          Iterator<? extends T> iterator) {
        checkNotNull(iterator);
        if (iterator instanceof UnmodifiableIterator) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          UnmodifiableIterator<T> result = (UnmodifiableIterator<T>) iterator;
          return result;
        }
        return new UnmodifiableIterator<T>() {
          @Override
          public boolean hasNext() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top