- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 149 for computes (0.09 sec)
-
guava/src/com/google/common/cache/CacheLoader.java
import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.ListenableFutureTask; import java.io.Serializable; import java.util.Map; import java.util.concurrent.Executor; /** * Computes or retrieves values, based on a key, for use in populating a {@link LoadingCache}. * * <p>Most implementations will only need to implement {@link #load}. Other methods may be * overridden as desired. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
static long hash128to64(long high, long low) { long a = (low ^ high) * K3; a ^= a >>> 47; long b = (high ^ a) * K3; b ^= b >>> 47; b *= K3; return b; } /** * Computes intermediate hash of 32 bytes of byte array from the given offset. Results are * returned in the output array - this is 12% faster than allocating new arrays every time. */ private static void weakHashLength32WithSeeds(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/httprange.go
case h.End == -1: rangeLength = resourceSize - h.Start default: return 0, errors.New("Unexpected range specification case") } return rangeLength, nil } // GetOffsetLength computes the start offset and length of the range // given the size of the resource func (h *HTTPRangeSpec) GetOffsetLength(resourceSize int64) (start, length int64, err error) { if h == nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
static long hash128to64(long high, long low) { long a = (low ^ high) * K3; a ^= a >>> 47; long b = (high ^ a) * K3; b ^= b >>> 47; b *= K3; return b; } /** * Computes intermediate hash of 32 bytes of byte array from the given offset. Results are * returned in the output array - this is 12% faster than allocating new arrays every time. */ private static void weakHashLength32WithSeeds(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
*/ @Override public String getName() { final boolean d = domain.length() > 0 && !domain.equals("?"); return d ? domain + "\\" + username : username; } /** * Computes the 24 byte ANSI password hash given the 8 byte server challenge. * * @param challenge the server challenge bytes * @return the ANSI password hash */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
*/ public boolean isPreferredMech(ASN1ObjectIdentifier mechanism) { return NtlmContext.NTLMSSP_OID.equals(mechanism); } /** * Computes the 24 byte ANSI password hash given the 8 byte server challenge. * * @param tc the CIFS context * @param chlng the server challenge * @return the hash for the given challengeRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
// // 1) Optimal k = b * ln2 // 2) p = (1 - e ^ (-kn/m))^k // 3) For optimal k: p = 2 ^ (-k) ~= 0.6185^b // 4) For optimal k: m = -nlnp / ((ln2) ^ 2) /** * Computes the optimal number of hash functions (k) for a given false positive probability (p). * * <p>See http://en.wikipedia.org/wiki/File:Bloom_filter_fp_probability.svg for the formula. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 26.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
public ImmutableCollection<V> values() { if (cachedValues != null) { return cachedValues; } return cachedValues = createValues(); } // cached so that this.multimapView().inverse() only computes inverse once private transient @Nullable ImmutableSetMultimap<K, V> multimapView; public ImmutableSetMultimap<K, V> asMultimap() { ImmutableSetMultimap<K, V> result = multimapView; return (result == null)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertThrows(SmbUnsupportedOperationException.class, () -> transport.calculatePreauthHash(new byte[] { 1, 2, 3 }, 0, 3, null)); } @Test @DisplayName("calculatePreauthHash computes SHA-512 chain for SMB 3.1.1") void preauthHash_happyPath() throws Exception { setField(transport, "smb2", true); Smb2NegotiateResponse nego = new Smb2NegotiateResponse(cfg);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)