- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for iops (0.21 sec)
-
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
@SuppressWarnings("serial") // uses writeReplace(), not default serialization final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that with // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes. final transient E element; SingletonImmutableSet(E element) { this.element = Preconditions.checkNotNull(element); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableSet.java
@SuppressWarnings("serial") // uses writeReplace(), not default serialization final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that with // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes. final transient E element; SingletonImmutableSet(E element) { this.element = Preconditions.checkNotNull(element); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
assertNotNull(ex.toString(), "toString should be safe to call"); } @ParameterizedTest @NullAndEmptySource @ValueSource(strings = { "oops", "multi word", "中文" }) @DisplayName("Message+Cause constructor: preserves both values; no interactions with cause") void messageAndCauseConstructor_preservesBoth(String message) { // Arrange & Act
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
double overallTimeMs = (overallEnd - overallStart) / 1_000_000.0; double avgThreadTimeMs = totalTime.get() / (threadCount * 1_000_000.0); System.out.printf("Connection Pool Performance: %d ops in %.2f ms (%.2f ms avg per thread)%n", successCount.get(), overallTimeMs, avgThreadTimeMs); // Verify performance improvementsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
*/ @Test @DisplayName("Message + root cause stores root cause") void testStringAndThrowableConstructor() { Throwable root = mock(Throwable.class); SmbException ex = new SmbException("oops", root); assertSame(root, ex.getRootCause()); } /** * Verify that {@link #toString()} includes a stack trace when a root cause * is present. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt
val java12 = sslLabsClients.first { it.userAgent == "Java" && it.version == "12.0.1" } val safari12iOS = sslLabsClients.first { it.userAgent == "Safari" && it.platform == "iOS 12.3.1" } val safari12Osx = sslLabsClients.first { it.userAgent == "Safari" && it.platform == "MacOS 10.14.6 Beta" } val okhttp = currentOkHttp(ianaSuitesNew) val okHttp_4_10 = historicOkHttp("4.10")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
fail("a call to multiset.setCount() to decrease an element's count should throw"); } catch (UnsupportedOperationException expected) { } } // Unconditional setCount no-ops. private void assertZeroToZero() { assertSetCount(e3(), 0); } private void assertOneToOne() { assertSetCount(e0(), 1); } private void assertThreeToThree() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
byte[] buffer = new byte[10]; assertThrows(NullPointerException.class, () -> cmd.writeParametersWireFormat(buffer, 0)); } @Nested @DisplayName("read methods are no‑ops") class ReadMethods { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/foo"); @Test void setup() { assertEquals(0, cmd.readSetupWireFormat(new byte[10], 0, 0));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
* throws a RuntimeException when retrieving the nth element. * * If the PeekingIterator is caching elements too aggressively, * it may throw the exception on the (n-1)th element (oops!). */ /* Checks the case where the first element throws an exception. */ List<Integer> list = emptyList(); Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
IpAttempts ip = entry.getValue(); return !ip.isBlocked() && ip.getLastAttempt().plus(cleanupInterval).isBefore(now); }); log.debug("Cleaned up rate limiter entries. Accounts: {}, IPs: {}", accountAttempts.size(), ipAttempts.size()); } /** * Manually unlock an account * * @param username the username to unlock
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0)