- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for hashFunctions (0.22 sec)
-
android/guava/src/com/google/common/hash/Hashing.java
* * @since 19.0 */ public static HashFunction concatenating(Iterable<HashFunction> hashFunctions) { checkNotNull(hashFunctions); // We can't use Iterables.toArray() here because there's no hash->collect dependency List<HashFunction> list = new ArrayList<>(); for (HashFunction hashFunction : hashFunctions) { list.add(hashFunction); }
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) -
guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java
import java.util.Random; import junit.framework.TestCase; /** Tests for AbstractNonStreamingHashFunction. */ public class AbstractNonStreamingHashFunctionTest extends TestCase { /** * Constructs two trivial HashFunctions (output := input), one streaming and one non-streaming, * and checks that their results are identical, no matter which newHasher version we used. */ public void testExhaustive() { List<Hasher> hashers =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java
import java.util.Random; import junit.framework.TestCase; /** Tests for AbstractNonStreamingHashFunction. */ public class AbstractNonStreamingHashFunctionTest extends TestCase { /** * Constructs two trivial HashFunctions (output := input), one streaming and one non-streaming, * and checks that their results are identical, no matter which newHasher version we used. */ public void testExhaustive() { List<Hasher> hashers =
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
LICENSE
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Two classes (HashFunctions and PrimeFinder) included in Trove are licensed under the following terms: Copyright (c) 1999 CERN - European Organization for Nuclear Research. Permission to use, copy, modify, distribute and sell this software
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Tue Jan 23 11:07:23 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashFunction.java
* @since 11.0 */ @Immutable @ElementTypesAreNonnullByDefault public interface HashFunction { /** * Begins a new hash code computation by returning an initialized, stateful {@code Hasher} * instance that is ready to receive data. Example: * * <pre>{@code * HashFunction hf = Hashing.md5(); * HashCode hc = hf.newHasher() * .putLong(id) * .putBoolean(isActive)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue May 25 18:22:59 GMT 2021 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingTest.java
fail("Unable to create a random parameter for " + method.getParameterTypes()[i]); } } HashFunction hashFunction1a = (HashFunction) method.invoke(clazz, params1); HashFunction hashFunction1b = (HashFunction) method.invoke(clazz, params1); HashFunction hashFunction2 = (HashFunction) method.invoke(clazz, params2); new EqualsTester() .addEqualityGroup(hashFunction1a, hashFunction1b)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
fail("Unable to create a random parameter for " + method.getParameterTypes()[i]); } } HashFunction hashFunction1a = (HashFunction) method.invoke(clazz, params1); HashFunction hashFunction1b = (HashFunction) method.invoke(clazz, params1); HashFunction hashFunction2 = (HashFunction) method.invoke(clazz, params2); new EqualsTester() .addEqualityGroup(hashFunction1a, hashFunction1b)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
private Hasher hasher; private HashFunction hashFunction; private final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); when(hashFunction.newHasher()).thenReturn(hasher); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 02 16:24:50 GMT 2020 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
assertHashByteBufferMatchesBytes(hashFunction); assertHashByteBufferExhaustsBuffer(hashFunction); assertHashByteBufferPreservesByteOrder(hashFunction); assertHasherByteBufferPreservesByteOrder(hashFunction); } static void assertHashByteBufferMatchesBytes(HashFunction hashFunction) { Random rng = new Random(0L); byte[] bytes = new byte[rng.nextInt(256) + 1];
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 25.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
assertHashByteBufferMatchesBytes(hashFunction); assertHashByteBufferExhaustsBuffer(hashFunction); assertHashByteBufferPreservesByteOrder(hashFunction); assertHasherByteBufferPreservesByteOrder(hashFunction); } static void assertHashByteBufferMatchesBytes(HashFunction hashFunction) { Random rng = new Random(0L); byte[] bytes = new byte[rng.nextInt(256) + 1];
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 25.3K bytes - Viewed (0)