- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 692 for _hash (0.02 seconds)
-
guava/src/com/google/common/collect/RegularImmutableMap.java
*/ @VisibleForTesting static final double MAX_LOAD_FACTOR = 1.2; /** * Maximum allowed false positive probability of detecting a hash flooding attack given random * input. */ @VisibleForTesting static final double HASH_FLOODING_FPP = 0.001; /** * Maximum allowed length of a hash table bucket before falling back to a j.u.HashMap based * implementation. Experimentally determined. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 15.7K bytes - Click Count (0) -
cmd/xl-storage-format-utils.go
return crc } // hashDeterministicBytes will return a deterministic (weak) hash for the map values. // Trivial collisions are avoided, but this is by no means a strong hash. func hashDeterministicBytes(m map[string][]byte) uint64 { crc := uint64(0x1bbc7e1dde654743) for k, v := range m { crc ^= (xxh3.HashString(k) ^ 0x4ee3bbaf7ab2506b) + (xxh3.Hash(v) ^ 0x8da4c8da66194257) } return crc
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 5.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.hash; import static com.google.common.hash.Hashing.ChecksumType.ADLER_32; import static com.google.common.hash.Hashing.ChecksumType.CRC_32; import static com.google.common.truth.Truth.assertThat; import java.util.zip.Checksum; import junit.framework.TestCase;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/MacHashFunction.java
checkNotDone(); checkNotNull(bytes); mac.update(bytes); } private void checkNotDone() { checkState(!done, "Cannot re-use a Hasher after calling hash() on it"); } @Override public HashCode hash() { checkNotDone(); done = true; return HashCode.fromBytesNoCopy(mac.doFinal()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.6K bytes - Click Count (0) -
internal/event/target/kafka_scram_client_contrib.go
// each authentication attempt. type XDGSCRAMClient struct { *scram.Client *scram.ClientConversation scram.HashGeneratorFcn } // Begin constructs a SCRAM client component based on a given hash.Hash // factory receiver. This constructor will normalize the username, password // and authzID via the SASLprep algorithm, as recommended by RFC-5802. If // SASLprep fails, the method returns an error.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.hash; import static com.google.common.hash.Hashing.sha512; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/package-info.java
* the License. */ // TODO(user): when things stabilize, flesh this out /** * Hash functions and related structures. * * <p>See the Guava User Guide article on <a * href="https://github.com/google/guava/wiki/HashingExplained">hashing</a>. */ @CheckReturnValue @NullMarked package com.google.common.hash; import com.google.errorprone.annotations.CheckReturnValue;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 991 bytes - Click Count (0) -
android/guava/src/com/google/common/hash/FarmHashFingerprint64.java
* the License. */ package com.google.common.hash; import static com.google.common.base.Preconditions.checkPositionIndexes; import static com.google.common.hash.LittleEndianByteArray.load32; import static com.google.common.hash.LittleEndianByteArray.load64; import static java.lang.Long.rotateRight; import com.google.common.annotations.VisibleForTesting;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapDifference.java
* #entriesDiffering()} of the two instances are equal. */ @Override boolean equals(@Nullable Object object); /** * Returns the hash code for this instance. This is defined as the hash code of * * {@snippet : * Arrays.asList(entriesOnlyOnLeft(), entriesOnlyOnRight(), * entriesInCommon(), entriesDiffering()) * } */ @Override int hashCode();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
try { tester.addEquivalenceGroup(group1Item1, group1Item2).test(); } catch (AssertionFailedError expected) { String expectedMessage = "the hash (1) of TestObject{group=1, item=1} [group 1, item 1] must be " + "equal to the hash (2) of TestObject{group=1, item=2} [group 1, item 2]"; if (!expected.getMessage().contains(expectedMessage)) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 8.4K bytes - Click Count (0)