- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 93 for segment (0.18 seconds)
-
guava/src/com/google/common/collect/MapMakerInternalMap.java
*/ long sum = 0L; Segment<K, V, E, S>[] segments = this.segments; for (int i = 0; i < segments.length; ++i) { if (segments[i].count != 0) { return false; } sum += segments[i].modCount; } if (sum != 0L) { // recheck unless no modifications for (int i = 0; i < segments.length; ++i) { if (segments[i].count != 0) { return false;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertThat(segment.remove(key, hash)).isNull(); assertEquals(0, segment.count); // same value segment.setTableEntryForTesting(index, entry); segment.count++; assertEquals(1, segment.count); assertThat(segment.get(key, hash)).isEqualTo(oldValue); assertTrue(segment.remove(key, hash, oldValue)); assertEquals(0, segment.count); assertThat(segment.get(key, hash)).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertThat(segment.remove(key, hash)).isNull(); assertEquals(0, segment.count); // same value segment.setTableEntryForTesting(index, entry); segment.count++; assertEquals(1, segment.count); assertThat(segment.get(key, hash)).isEqualTo(oldValue); assertTrue(segment.remove(key, hash, oldValue)); assertEquals(0, segment.count); assertThat(segment.get(key, hash)).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertThat(segment.get(key, hash)).isNull(); // cleared table.set(index, entry); segment.count++; assertThat(segment.count).isEqualTo(1); assertThat(segment.get(key, hash)).isSameInstanceAs(oldValue); oldValueRef.clear(); assertThat(segment.remove(key, hash)).isNull(); assertThat(segment.count).isEqualTo(0); assertThat(segment.get(key, hash)).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertThat(segment.get(key, hash)).isNull(); // cleared table.set(index, entry); segment.count++; assertThat(segment.count).isEqualTo(1); assertThat(segment.get(key, hash)).isSameInstanceAs(oldValue); oldValueRef.clear(); assertThat(segment.remove(key, hash)).isNull(); assertThat(segment.count).isEqualTo(0); assertThat(segment.get(key, hash)).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
*/ long sum = 0L; Segment<K, V, E, S>[] segments = this.segments; for (int i = 0; i < segments.length; ++i) { if (segments[i].count != 0) { return false; } sum += segments[i].modCount; } if (sum != 0L) { // recheck unless no modifications for (int i = 0; i < segments.length; ++i) { if (segments[i].count != 0) { return false;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0) -
src/main/java/jcifs/util/ByteEncodable.java
private final int off; private final int len; /** * Constructs a ByteEncodable object wrapping a byte array segment. * * @param b the byte array to wrap * @param off the offset in the byte array * @param len the length of the segment to use */ public ByteEncodable(final byte[] b, final int off, final int len) { this.bytes = b; this.off = off;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
* "/square/okhttp/issues/1486" and decompose into a list of segments like `["square", "okhttp", * "issues", "1486"]`. * * This class offers methods to compose and decompose paths by segment. It composes each path * from a list of segments by alternating between "/" and the encoded segment. For example the * segments `["a", "b"]` build "/a/b" and the segments `["a", "b", ""]` build "/a/b/". *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 63.5K bytes - Click Count (0)