Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for variant (0.17 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. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                val typeArgument = typeArguments[index]
                if (typeArgument !is FirTypeProjectionWithVariance || typeArgument.variance != Variance.INVARIANT) return emptyMap()
                result[typeParameter] = typeArgument.typeRef.coneType.asKtType()
            }
    
            return result
        }
    
        private fun FirArrayLiteral.toTypeArgumentsMapping(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  3. 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)
  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/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)
Back to top