- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 1,023 for bhash (0.02 seconds)
-
cmd/format-erasure_test.go
} formatCountMap := make(map[string]int) for _, hash := range formatHashes { if hash == "" { continue } formatCountMap[hash]++ } maxHash := "" maxCount := 0 for hash, count := range formatCountMap { if count > maxCount { maxCount = count maxHash = hash } } if maxCount < len(formats)/2 { return nil, errErasureReadQuorum
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
String password = "password"; // Known NT hash for "password" (UTF-16LE MD4) // This is a well-known test vector: password -> 8846F7EAEE8FB117AD06BDD830B7586C byte[] expected = hex("8846F7EAEE8FB117AD06BDD830B7586C"); // Act byte[] actual = NtlmUtil.getNTHash(password); // Assert assertArrayEquals(expected, actual, "NT hash must match known test vector"); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
import com.google.common.annotations.VisibleForTesting; import com.google.common.base.CharMatcher.NamedFastMatcher; import java.util.BitSet; /** * An immutable version of CharMatcher for smallish sets of characters that uses a hash table with * linear probing to check for matches. * * @author Christopher Swenson */ @GwtIncompatible // no precomputation is done in GWT final class SmallCharMatcher extends NamedFastMatcher {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Platform.java
/** Returns the platform preferred implementation of a map based on a hash table. */ static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> newHashMapWithExpectedSize(int expectedSize) { return CompactHashMap.createWithExpectedSize(expectedSize); } /** * Returns the platform preferred implementation of an insertion ordered map based on a hash * table. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 4.5K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java
static class Key { private final String groupId; private final String artifactId; private final String version; private final String tag; private final int hash; Key(String groupId, String artifactId, String version, String tag) { this.groupId = groupId; this.artifactId = artifactId; this.version = version; this.tag = tag;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 3.3K bytes - Click Count (0) -
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)