Searched defs:newHasher (Results 1 - 12 of 12) sorted by relevance

/external/guava/guava/src/com/google/common/hash/
H A DAbstractCompositeHashFunction.java24 * An abstract composition of multiple hash functions. {@linkplain #newHasher()} delegates to the
49 public Hasher newHasher() { method in class:AbstractCompositeHashFunction
52 hashers[i] = functions[i].newHasher();
H A DChecksumHashFunction.java49 public Hasher newHasher() { method in class:ChecksumHashFunction
H A DHashFunction.java92 * {@link Hasher}. Obtain a new hasher from the hash function using {@link #newHasher},
95 * an {@linkplain #newHasher example} of this.)
138 * HashCode hc = hf.newHasher()
143 Hasher newHasher(); method in interface:HashFunction
146 * Begins a new hash code computation as {@link #newHasher()}, but provides a hint of the
151 Hasher newHasher(int expectedInputSize); method in interface:HashFunction
154 * Shortcut for {@code newHasher().putInt(input).hash()}; returns the hash code for the given
163 * Shortcut for {@code newHasher().putLong(input).hash()}; returns the hash code for the
170 * Shortcut for {@code newHasher().putBytes(input).hash()}. The implementation
177 * Shortcut for {@code newHasher()
[all...]
H A DAbstractNonStreamingHashFunction.java28 * All the hash computation done using {@linkplain #newHasher()} are delegated to the {@linkplain
35 public Hasher newHasher() { method in class:AbstractNonStreamingHashFunction
40 public Hasher newHasher(int expectedInputSize) { method in class:AbstractNonStreamingHashFunction
46 return newHasher().putObject(instance, funnel).hash();
59 Hasher hasher = newHasher(len * 2);
75 return newHasher(4).putInt(input).hash();
79 return newHasher(8).putLong(input).hash();
H A DMessageDigestHashFunction.java81 @Override public Hasher newHasher() { method in class:MessageDigestHashFunction
H A DMurmur3_128HashFunction.java55 @Override public Hasher newHasher() { method in class:Murmur3_128HashFunction
H A DMurmur3_32HashFunction.java61 @Override public Hasher newHasher() { method in class:Murmur3_32HashFunction
H A DSipHashFunction.java67 @Override public Hasher newHasher() { method in class:SipHashFunction
H A DAbstractStreamingHashFunction.java27 * invokes the appropriate method on {@link #newHasher()}, then return the result of
30 * <p>Invocations of {@link #newHasher(int)} also delegate to {@linkplain #newHasher()}, ignoring
37 return newHasher().putObject(instance, funnel).hash();
49 return newHasher().putUnencodedChars(input).hash();
53 return newHasher().putString(input, charset).hash();
57 return newHasher().putInt(input).hash();
61 return newHasher().putLong(input).hash();
65 return newHasher().putBytes(input).hash();
69 return newHasher()
72 @Override public Hasher newHasher(int expectedInputSize) { method in class:AbstractStreamingHashFunction
[all...]
/external/guava/guava-tests/test/com/google/common/hash/
H A DAbstractNonStreamingHashFunctionTest.java39 * and checks that their results are identical, no matter which newHasher version we used.
43 new StreamingVersion().newHasher(),
44 new StreamingVersion().newHasher(52),
45 new NonStreamingVersion().newHasher(),
46 new NonStreamingVersion().newHasher(123));
85 Hasher h1 = new NonStreamingVersion().newHasher();
86 Hasher h2 = new NonStreamingVersion().newHasher();
103 public Hasher newHasher() { method in class:AbstractNonStreamingHashFunctionTest.StreamingVersion
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...

Completed in 226 milliseconds