- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 259 for guarantees (0.04 sec)
-
guava/src/com/google/common/collect/ForwardingBlockingDeque.java
* default} methods. Instead, it inherits their default implementations. When those implementations * invoke methods, they invoke methods on the {@code ForwardingBlockingDeque}. * * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the * methods that they depend on are thread-safe. * * @author Emily Soldal * @since 14.0
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* <i>missing</i> information and the other is not. The {@link #convert} method handles this null * behavior for all converters; implementations of {@link #doForward} and {@link #doBackward} are * guaranteed to never be passed {@code null}, and must never return {@code null}. * * <h3>Common ways to use</h3> * * <p>Getting a converter: * * <ul>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LongAdder.java
* example during quiescent points between multithreaded computations. If there are updates * concurrent with this method, the returned value is not guaranteed to be the final * value occurring before the reset. * * @return the sum */ public long sumThenReset() { long sum = base; Cell[] as = cells; base = 0L; if (as != null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* were inserted into the builder, equivalently to {@code LinkedHashMap}. For example, in the * above example, {@code WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the * order {@code "one"=1, "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect * the same order. If you want a different order, consider using {@link ImmutableSortedMap} to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
if (dividend >= 0) { return dividend / divisor; } /* * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is * guaranteed to be either exact or one less than the correct value. This follows from fact that * floor(floor(x)/i) == floor(x/i) for any real x and integer i != 0. The proof is not quite * trivial. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapIteratorCache.java
* this structure is never mutated, it provides a thread-safe view of the backing map. * * <p>The {@link MapIteratorCache} assumes ownership of the backing map, and cannot guarantee * correctness in the face of external mutations to the backing map. As such, it is <b>strongly</b> * recommended that the caller does not persist a reference to the backing map (unless the backing * map is immutable). *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
assertTrue(Thread.holdsLock(mutex)); return super.isEmpty(); } /* * We don't assert that the lock is held during calls to iterator(), stream(), and spliterator: * `Synchronized` doesn't guarantee that it will hold the mutex for those calls because callers * are responsible for taking the mutex themselves:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
assertNotNull(compressed); assertTrue(compressed.length > 0); // Compressed size should typically be smaller (though not guaranteed for all data) byte[] decompressed = compressionService.decompress(compressed, CompressionService.COMPRESSION_LZ77); assertArrayEquals(testData, decompressed); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/BiMap.java
* associated key. The two bimaps are backed by the same data; any changes to one will appear in * the other. * * <p><b>Note:</b> There is no guaranteed correspondence between the iteration order of a bimap * and that of its inverse. * * @return the inverse view of this bimap */ BiMap<V, K> inverse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
protected abstract void process(ByteBuffer bb); /** * This is invoked for the last bytes of the input, which are not enough to fill a whole chunk. * The passed {@code ByteBuffer} is guaranteed to be non-empty. * * <p>This implementation simply pads with zeros and delegates to {@link #process(ByteBuffer)}. */ protected void processRemaining(ByteBuffer bb) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0)