- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 989 for onea (0.01 sec)
-
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
} /** * Returns a new immutable array containing the values in the specified range. * * <p><b>Performance note:</b> The returned array has the same full memory footprint as this one * does (no actual copying is performed). To reduce memory usage, use {@code subArray(start, * end).trimmed()}. */ public ImmutableLongArray subArray(int startIndex, int endIndex) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
} } /** * Removes a single instance of the specified element from this queue, if it is present. More * formally, removes an element {@code e} such that {@code o.equals(e)}, if this queue contains * one or more such elements. Returns {@code true} if this queue contained the specified element * (or equivalently, if this queue changed as a result of the call). * * @param o element to be removed from this queue, if presentRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random()); // we allow one second worth of work to go in a burst (i.e. take less than a second) assertThat(burst).isAtMost(1000); long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random()); // but work beyond that must take at least one second assertThat(afterBurst).isAtLeast(1000); } } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
assertSame(c, second, "Second get should return second cached buffer"); assertNotSame(d, third, "Third get should allocate a new buffer (not the dropped one)"); assertEquals(3, third.length, "Allocated buffer length matches configured maximum size"); } // Parameterized: exercise small variations of cache size for a simple reuse cycle @ParameterizedTest
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
@DisplayName("close() clears pending element and hasNext() becomes false") void closeClearsNext() throws Exception { SmbFile parent = newParent(); List<FileEntry> entries = Collections.singletonList(entry("one", SmbConstants.TYPE_SHARE)); ShareEnumIterator it = new ShareEnumIterator(parent, entries.iterator(), null); assertTrue(it.hasNext()); it.close(); assertFalse(it.hasNext());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
name: Feature Addition Request description: I want to add a new feature labels: ["type=addition"] body: - type: markdown attributes: value: > Filing feature requests is one of the most popular ways to contribute to Guava. Be aware, though: most feature requests are not accepted, even if they're suggested by a full-time Guava team member. [Feedback](https://stackoverflow.com/a/4543114) from ourRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 5.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
*/ val scheduledTasks: List<Task> get() = taskRunner.withLock { futureTasks.toList() } /** * Schedules [task] for execution in [delayNanos]. A task may only have one future execution * scheduled. If the task is already in the queue, the earliest execution time is used. * * The target execution time is implemented on a best-effort basis. If another task in this queue
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
@Test @DisplayName("Test readParametersWireFormat with empty buffer") void testReadParametersWireFormatEmptyBuffer() throws Exception { byte[] buffer = new byte[0]; // Empty buffer adds one empty FileNotifyInformation int result = response.readParametersWireFormat(buffer, 0, 0); assertEquals(0, result); assertEquals(1, response.getNotifyInformation().size());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
import okio.Buffer import okio.BufferedSource import okio.ByteString import okio.ForwardingSource import okio.Source import okio.buffer /** * Streaming decoder of data encoded following Abstract Syntax Notation One (ASN.1). There are * multiple variants of ASN.1, including: * * * DER: Distinguished Encoding Rules. This further constrains ASN.1 for deterministic encoding. * * BER: Basic Encoding Rules. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0)