- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 288 for guarantees (0.05 seconds)
-
android/guava/src/com/google/common/hash/Hashing.java
* alternatives we've used in the past. * * <p>FarmHash fingerprints are encoded by {@link HashCode#asBytes} in little-endian order. This * means {@link HashCode#asLong} is guaranteed to return the same value that * farmhash::Fingerprint64() would for the same input (when compared using {@link * com.google.common.primitives.UnsignedLongs}'s encoding of 64-bit unsigned numbers). *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 29.8K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
/** * An immutable well-formed internet domain name, such as {@code com} or {@code foo.co.uk}. Only * syntactic analysis is performed; no DNS lookups or other network interactions take place. Thus * there is no guarantee that the domain actually exists on the internet. * * <p>One common use of this class is to determine whether a given string is likely to represent anCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 27.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
private fun invalidLengths(strings: List<String>): Nothing = throw IOException("unexpected journal line: $strings") /** * Returns a snapshot of this entry. This opens all streams eagerly to guarantee that we see a * single published snapshot. If we opened streams lazily then the streams could come from * different edits. */ internal fun snapshot(): Snapshot? { assertLockHeld()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 34.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Streams.java
* and {@code streamB}. If one stream is longer than the other, the extra elements are silently * ignored. Elements passed to the consumer are guaranteed to come from the same position in their * respective source streams. For example: * * {@snippet : * Streams.forEachPair( * Stream.of("foo1", "foo2", "foo3"), * Stream.of("bar1", "bar2"),Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 21 15:40:45 GMT 2025 - 36.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
* iterable is empty, {@code Optional.absent()} is returned. If the underlying {@code iterable} is * a {@link List} with {@link java.util.RandomAccess} support, then this operation is guaranteed * to be {@code O(1)}. * * <p><b>{@code Stream} equivalent:</b> {@code stream.reduce((a, b) -> b)}. * * @throws NullPointerException if the last element is null; if this is a possibility, use {@linkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 34.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/Streams.java
* and {@code streamB}. If one stream is longer than the other, the extra elements are silently * ignored. Elements passed to the consumer are guaranteed to come from the same position in their * respective source streams. For example: * * {@snippet : * Streams.forEachPair( * Stream.of("foo1", "foo2", "foo3"), * Stream.of("bar1", "bar2"),Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 36.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
.addEqualityGroup(Ordering.natural().reverse()) .addEqualityGroup(Collections.reverseOrder()) .testEquals(); } public void testReverseOfReverseSameAsForward() { // Not guaranteed by spec, but it works, and saves us from testing // exhaustively assertSame(numberOrdering, numberOrdering.reverse().reverse()); } private enum StringLengthFunction implements Function<String, Integer> {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 42.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
.addEqualityGroup(Ordering.natural().reverse()) .addEqualityGroup(Collections.reverseOrder()) .testEquals(); } public void testReverseOfReverseSameAsForward() { // Not guaranteed by spec, but it works, and saves us from testing // exhaustively assertSame(numberOrdering, numberOrdering.reverse().reverse()); } private enum StringLengthFunction implements Function<String, Integer> {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 42.8K bytes - Click Count (0) -
guava/src/com/google/common/io/BaseEncoding.java
* * {@snippet : * // Do NOT do this * BaseEncoding hex = BaseEncoding.base16(); * hex.lowerCase(); // does nothing! * return hex.decode("deadbeef"); // throws an IllegalArgumentException * } * * <p>It is guaranteed that {@code encoding.decode(encoding.encode(x))} is always equal to {@code * x}, but the reverse does not necessarily hold. * * <table> * <caption>Encodings</caption> * <tr> * <th>Encoding * <th>AlphabetCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Oct 06 14:51:47 GMT 2025 - 41.7K bytes - Click Count (0) -
cmd/xl-storage-disk-id-check.go
totalErrsTimeout atomic.Uint64 // Captures all timeout only errors // apiCalls should be placed first so alignment is guaranteed for atomic operations. apiCalls [storageMetricLast]uint64 apiLatencies [storageMetricLast]*lockedLastMinuteLatency diskID atomic.Pointer[string] storage *xlStorage health *diskHealthTracker
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 34.5K bytes - Click Count (0)