Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for mucker (0.17 sec)

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

              int bucket = valueEntry.smearedValueHash & mask;
              valueEntry.nextInValueBucket = hashTable[bucket];
              hashTable[bucket] = valueEntry;
            }
          }
        }
    
        @CanIgnoreReturnValue
        @Override
        public boolean remove(@CheckForNull Object o) {
          int smearedHash = Hashing.smearedHash(o);
          int bucket = smearedHash & mask();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

        checkArgument(buckets > 0, "buckets must be positive: %s", buckets);
        LinearCongruentialGenerator generator = new LinearCongruentialGenerator(input);
        int candidate = 0;
        int next;
    
        // Jump from bucket to bucket until we go out of range
        while (true) {
          next = (int) ((candidate + 1) / generator.nextDouble());
          if (next >= 0 && next < buckets) {
            candidate = next;
          } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSinkTest.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.EnumSet;
    
    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.io.IOException;
    import java.nio.CharBuffer;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link CharSequenceReader}.
     *
     * @author Colin Decker
     */
    public class CharSequenceReaderTest extends TestCase {
    
      public void testReadEmptyString() throws IOException {
        assertReadsCorrectly("");
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

     * expected to contain as well as sub-suites for testing the {@code CharSource} view and {@code
     * slice()} views in the same way.
     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class ByteSourceTester extends SourceSinkTester<ByteSource, byte[], ByteSourceFactory> {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ? extends Segment<K, V, ?, ?>>
              makeMap(MapMaker maker) {
        return MapMakerInternalMap.create(maker);
      }
    
      private static MapMaker createMapMaker() {
        MapMaker maker = new MapMaker();
        maker.useCustomMap = true;
        return maker;
      }
    
      // constructor tests
    
      public void testDefaults() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ? extends Segment<K, V, ?, ?>>
              makeMap(MapMaker maker) {
        return MapMakerInternalMap.create(maker);
      }
    
      private static MapMaker createMapMaker() {
        MapMaker maker = new MapMaker();
        maker.useCustomMap = true;
        return maker;
      }
    
      // constructor tests
    
      public void testDefaults() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/LongMath.java

     * named analogously to their {@code BigInteger} counterparts.
     *
     * <p>The implementations of many methods in this class are based on material from Henry S. Warren,
     * Jr.'s <i>Hacker's Delight</i>, (Addison Wesley, 2002).
     *
     * <p>Similar functionality for {@code int} and for {@link BigInteger} can be found in {@link
     * IntMath} and {@link BigIntegerMath} respectively. For other common operations on {@code long}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashBiMap.java

        this.lastInKeyInsertionOrder = null;
        this.size = 0;
        this.mask = tableSize - 1;
        this.modCount = 0;
      }
    
      /**
       * Finds and removes {@code entry} from the bucket linked lists in both the key-to-value direction
       * and the value-to-key direction.
       */
      private void delete(BiEntry<K, V> entry) {
        int keyBucket = entry.keyHash & mask;
        BiEntry<K, V> prevBucketEntry = null;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Ticker.java

    @ElementTypesAreNonnullByDefault
    public abstract class Ticker {
      /** Constructor for use by subclasses. */
      protected Ticker() {}
    
      /** Returns the number of nanoseconds elapsed since this ticker's fixed point of reference. */
      public abstract long read();
    
      /**
       * A ticker that reads the current time using {@link System#nanoTime}.
       *
       * @since 10.0
       */
      public static Ticker systemTicker() {
        return SYSTEM_TICKER;
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue May 23 23:27:53 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top