- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 252 for Compute (0.04 sec)
-
cmd/update-notifier.go
// newer version is available. func prepareUpdateMessage(downloadURL string, older time.Duration) string { if downloadURL == "" || older <= 0 { return "" } // Compute friendly duration string to indicate time // difference between newer and current release. t := time.Time{} newerThan := humanize.RelTime(t, t.Add(older), "before the latest release", "") if globalServerCtxt.JSON {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 3.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnum.java
* * @since 4.0.0 */ @Experimental public interface ExtensibleEnum { /** * The {@code id} uniquely represents a value for this extensible enum. * This id should be used to compute the equality and hash code for the instance. * * @return the id */ @Nonnull String id();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 01 17:18:13 UTC 2024 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
import java.nio.ByteOrder; import org.jspecify.annotations.Nullable; /** * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code * ByteBuffer} and streams all bytes to a sink to compute the hash. * * @author Colin Decker */ abstract class AbstractByteHasher extends AbstractHasher { private @Nullable ByteBuffer scratch; /** Updates this hasher with the given byte. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 12:40:17 UTC 2025 - 3.9K bytes - Viewed (0) -
cmd/rebalance-admin.go
// Load latest rebalance status meta := &rebalanceMeta{} err = meta.load(ctx, z.serverPools[0]) if err != nil { return r, err } // Compute disk usage percentage si := z.StorageInfo(ctx, true) diskStats := make([]struct { AvailableSpace uint64 TotalSpace uint64 }, len(z.serverPools)) for _, disk := range si.Disks { // Ignore invalid.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
this.nextOrNull = firstOrNull; } /** * Returns the element that follows {@code previous}, or returns {@code null} if no elements * remain. This method is invoked during each call to {@link #next()} in order to compute the * result of a <i>future</i> call to {@code next()}. */ protected abstract @Nullable T computeNext(T previous); @Override public final boolean hasNext() { return nextOrNull != null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
@Param({"MURMUR3_32", "MURMUR3_128", "SHA1"}) HashFunctionEnum hashFunctionEnum; private String[] strings; static final int SAMPLES = 0x100; static final int SAMPLE_MASK = 0xFF; /** * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and * StringBuilders (in a CharSequence[] to make it a little harder for the JVM). */ @BeforeExperiment void setUp() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
int[] same = new int[hashBits]; int[] diff = new int[hashBits]; // go through trials to compute probability for (int j = 0; j < trials; j++) { int key1 = rand.nextInt(); // flip input bit for key2 int key2 = key1 ^ (1 << i); // compute hash values int hash1 = function.hashInt(key1).asInt(); int hash2 = function.hashInt(key2).asInt();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
long c = seedA; seedA += part2; seedA += part3; seedB += rotateRight(seedA, 23); output[0] = seedA + part4; output[1] = seedB + c; } /* * Compute an 8-byte hash of a byte array of length greater than 64 bytes. */ private static long fullFingerprint(byte[] bytes, int offset, int length) { // For lengths over 64 bytes we hash the end first, and then as we
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
buildscripts/checkdeps.sh
# Iterate down a (possible) chain of symlinks while [ -L "$TARGET_FILE" ]; do TARGET_FILE=$(env readlink $TARGET_FILE) cd $(dirname $TARGET_FILE) TARGET_FILE=$(basename $TARGET_FILE) done # Compute the canonicalized name by finding the physical path # for the directory we're in and appending the target file. PHYS_DIR=$(pwd -P) RESULT=$PHYS_DIR/$TARGET_FILE echo $RESULT } ## FIXME:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Jun 08 16:12:05 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
buffer[i] = 0; } } /** * Continues an MD4 message digest using the input byte. */ @Override public void engineUpdate(final byte b) { // compute number of bytes still unhashed; ie. present in buffer final int i = (int) (count % BLOCK_LENGTH); count++; // update number of bytes buffer[i] = b; if (i == BLOCK_LENGTH - 1) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K bytes - Viewed (0)