Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for Demakin (0.18 sec)

  1. android/guava/src/com/google/common/io/ByteStreams.java

      }
    
      /**
       * Attempts to skip up to {@code n} bytes from the given input stream, but not more than {@code
       * in.available()} bytes. This prevents {@code FileInputStream} from skipping more bytes than
       * actually remain in the file, something that it {@linkplain java.io.FileInputStream#skip(long)
       * specifies} it can do in its Javadoc despite the fact that it is violating the contract of
       * {@code InputStream.skip()}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

      }
    
      /**
       * An unmodifiable view of a set which may be backed by other sets; this view will change as the
       * backing sets do. Contains methods to copy the data into a new set which will then remain
       * stable. There is usually no reason to retain a reference of type {@code SetView}; typically,
       * you either use it as a plain {@link Set}, or immediately invoke {@link #immutableCopy} or
    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)
  3. guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.common.collect.MapMaker;
    import java.util.Map;
    
    /**
     * Compare CacheBuilder and MapMaker performance, ensuring that they remain on par with each other.
     *
     * @author Nikita Sidorov
     */
    @SuppressWarnings("CheckReturnValue")
    public class MapMakerComparisonBenchmark {
      private static final String TEST_KEY = "test key";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractSequentialIterator.java

      protected AbstractSequentialIterator(@CheckForNull T firstOrNull) {
        this.nextOrNull = firstOrNull;
      }
    
      /**
       * Returns the element that follows {@code previous}, or returns {@code null} if no elements
       * remain. This method is invoked during each call to {@link #next()} in order to compute the
       * result of a <i>future</i> call to {@code next()}.
       */
      @CheckForNull
      protected abstract T computeNext(T previous);
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMap.java

      }
    
      /**
       * Serialized type for all ImmutableMap instances. It captures the logical contents and they are
       * reconstructed using public factory methods. This ensures that the implementation types remain
       * as implementation details.
       */
      @J2ktIncompatible // serialization
      static class SerializedForm<K, V> implements Serializable {
    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)
  6. guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        }
      }
    
      /**
       * Records the provided object in {@link #methodArgument} and sets {@link #methodCalled}. This
       * method is called reflectively by Subscriber during tests, and must remain public.
       *
       * @param arg argument to record.
       */
      @Subscribe
      public void recordingMethod(Object arg) {
        assertFalse(methodCalled);
        methodCalled = true;
        methodArgument = arg;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/BiMap.java

      // Modification Operations
    
      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the given value is already bound to a different key in this
       *     bimap. The bimap will remain unmodified in this event. To avoid this exception, call {@link
       *     #forcePut} instead.
       */
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      V put(@ParametricNullness K key, @ParametricNullness V value);
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

      /**
       * Returns a new {@code MutableClassToInstanceMap} instance backed by a given empty {@code
       * backingMap}. The caller surrenders control of the backing map, and thus should not allow any
       * direct references to it to remain accessible.
       */
      public static <B extends @Nullable Object> MutableClassToInstanceMap<B> create(
          Map<Class<? extends @NonNull B>, B> backingMap) {
        return new MutableClassToInstanceMap<>(backingMap);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LoadingCache.java

       * If the new value is loaded successfully it will replace the previous value in the cache; if an
       * exception is thrown while refreshing the previous value will remain, <i>and the exception will
       * be logged (using {@link java.util.logging.Logger}) and swallowed</i>.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#reload} if the cache
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Striped64.java

       * failed CAS on base update), the table is initialized to size 2.
       * The table size is doubled upon further contention until
       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top