Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for dmitrii (0.15 sec)

  1. guava/src/com/google/common/hash/Funnel.java

     *     into.putUnencodedChars(person.getFirstName())
     *         .putUnencodedChars(person.getLastName())
     *         .putInt(person.getAge());
     *   }
     * }
     * }</pre>
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    @DoNotMock("Implement with a lambda")
    @ElementTypesAreNonnullByDefault
    public interface Funnel<T extends @Nullable Object> extends Serializable {
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

     * {@code Hasher} objects of the delegate hash functions, and in the end, they are used by
     * {@linkplain #makeHash(Hasher[])} that constructs the final {@code HashCode}.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    abstract class AbstractCompositeHashFunction extends AbstractHashFunction {
    
      @SuppressWarnings("Immutable") // array not modified after creation
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

    import java.util.List;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for CompactHashSet.
     *
     * @author Dimitris Andreou
     */
    @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array
    public class CompactHashSetTest extends TestCase {
      public static Test suite() {
        List<Feature<?>> allFeatures =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

     * the hash computation done using {@linkplain #newHasher()} are delegated to the {@linkplain
     * #hashBytes(byte[], int, int)} method.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    abstract class AbstractNonStreamingHashFunction extends AbstractHashFunction {
      @Override
      public Hasher newHasher() {
        return newHasher(32);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

    import javax.annotation.CheckForNull;
    
    /**
     * See MurmurHash3_x64_128 in <a href="http://smhasher.googlecode.com/svn/trunk/MurmurHash3.cpp">the
     * C++ implementation</a>.
     *
     * @author Austin Appleby
     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class Murmur3_128HashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction MURMUR3_128 = new Murmur3_128HashFunction(0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Funnels.java

    import java.nio.charset.Charset;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Funnels for common types. All implementations are serializable.
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public final class Funnels {
      private Funnels() {}
    
      /** Returns a funnel that extracts the bytes from a {@code byte} array. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Funnels.java

    import java.nio.charset.Charset;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Funnels for common types. All implementations are serializable.
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public final class Funnels {
      private Funnels() {}
    
      /** Returns a funnel that extracts the bytes from a {@code byte} array. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractHasher.java

    /**
     * An abstract implementation of {@link Hasher}, which only requires subtypes to implement {@link
     * #putByte}. Subtypes may provide more efficient implementations, however.
     *
     * @author Dimitris Andreou
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractHasher implements Hasher {
      @Override
      @CanIgnoreReturnValue
      public final Hasher putBoolean(boolean b) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.caliper.Benchmark;
    
    /**
     * Benchmarking interners.
     *
     * @author Dimitris Andreou
     */
    public class InternersBenchmark {
      @Benchmark
      int weakInterner(int reps) {
        Interner<String> interner = Interners.newWeakInterner();
        for (int i = 0; i < reps; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    
    /**
     * Tests for Striped.
     *
     * @author Dimitris Andreou
     */
    public class StripedTest extends TestCase {
      private static List<Striped<?>> strongImplementations() {
        return ImmutableList.of(
            Striped.readWriteLock(100),
            Striped.readWriteLock(256),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.4K bytes
    - Viewed (0)
Back to top