- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 208 for computes (0.13 sec)
-
android/guava/src/com/google/common/math/Quantiles.java
* * <h3>Examples</h3> * * <p>To compute the median: * * {@snippet : * double myMedian = median().compute(myDataset); * } * * where {@link #median()} has been statically imported. * * <p>To compute the 99th percentile: * * {@snippet : * double myPercentile99 = percentiles().index(99).compute(myDataset); * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 30.1K bytes - Viewed (0) -
src/archive/tar/format.go
f.formatOctal(field[:7], chksum) // Never fails since 128776 < 262143 field[7] = ' ' } // computeChecksum computes the checksum for the header block. // POSIX specifies a sum of the unsigned byte values, but the Sun tar used // signed byte values. // We compute and return both. func (b *block) computeChecksum() (unsigned, signed int64) { for i, c := range b { if 148 <= i && i < 156 {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K 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/org/codelibs/fess/util/QueryResponseList.java
if (pageSize > 0) { calculatePageInfo(); } } /** * Calculates pagination information based on the current parameters. * This method computes page counts, navigation flags, record numbers, and page number lists. */ protected void calculatePageInfo() { int startWithOffset = start - offset; if (startWithOffset < 0) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
static int checkPositiveAndMakeMultipleOf32(int bits) { checkArgument(bits > 0, "Number of bits must be positive"); return (bits + 31) & ~31; } /** * Returns a hash function which computes its hash code by concatenating the hash codes of the * underlying hash functions together. This can be useful if you need to generate hash codes of a * specific length. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K 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 challenge
Registered: 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/cache/Striped64.java
} /** CASes the busy field from 0 to 1 to acquire lock. */ final boolean casBusy() { return UNSAFE.compareAndSwapInt(this, BUSY_OFFSET, 0, 1); } /** * Computes the function of current and new value. Subclasses should open-code this update * function for most uses, but the virtualized form is needed within retryUpdate. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K 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)