- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 883 for Seconds (0.05 sec)
-
src/test/java/jcifs/smb1/util/LogStreamTest.java
LogStream instance2 = LogStream.getInstance(); // Each setInstance should create a new LogStream assertNotNull(instance1); assertNotNull(instance2); // The second setInstance replaces the first, so they should not be the same assertNotSame(instance1, instance2); // Getting instance again should return the same as instance2
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* simple approach would be for each caller CAS it from null to a Set populated with its * exception. But there's another race: If the first thread fails with an exception and a second * thread immediately fails with the same exception: * * Thread1: calls setException(), which returns true, context switch before it can CAS * seenExceptionsField to its exception *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/graph/EndpointPair.java
// return condition1 || condition2; if (nodeU().equals(other.nodeU())) { // check condition1 // Here's the tricky bit. We don't have to explicitly check for condition2 in this case. // Why? The second half of condition2 requires that nodeV equals other.nodeU. // We already know that nodeU equals other.nodeU. Combined with the earlier statement,Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
long total = requestsSent.get(); if (total == 0) return 0.0; return (double) errors.get() / total; } /** * Get throughput in bytes per second * * @return throughput in bps */ public long getThroughput() { long duration = System.currentTimeMillis() - establishedTime; if (duration == 0) return 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
import okhttp3.internal.closeQuietly import okio.Buffer import okio.BufferedSource import okio.ByteString import okio.buffer import okio.source /** Replays prerecorded outgoing frames and records incoming frames. */ class MockHttp2Peer : Closeable { private var frameCount = 0 private var client = false private val bytesOut = Buffer() private var writer = Http2Writer(bytesOut, client)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ClosingFuture.java
* ClosingFuture}s. Use {@link #whenAllSucceed(ClosingFuture, ClosingFuture)} to start this * combination. * * @param <V1> the type returned by the first future * @param <V2> the type returned by the second future */ public static final class Combiner2<V1 extends @Nullable Object, V2 extends @Nullable Object> extends Combiner { /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 98.1K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
assertTrue(ipcSigningEnforced, "Should delegate IPC signing enforced setting"); assertTrue(firstExtendedSecurityCall, "First call should return true"); assertFalse(secondExtendedSecurityCall, "Second call should return false"); verify(mockDelegate).isEncryptionEnabled(); verify(mockDelegate).isSigningEnabled(); verify(mockDelegate).isSigningEnforced();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/archive/tar/reader_test.go
}, { // BSD tar v3.1.2 and GNU tar v1.27.1 both rejects PAX records // with NULs in the key. file: "testdata/pax-nul-xattrs.tar", err: ErrHeader, }, { // BSD tar v3.1.2 rejects a PAX path with NUL in the value, while // GNU tar v1.27.1 simply truncates at first NUL. // We emulate the behavior of BSD since it is strange doing NUL // truncations since PAX records are length-prefix strings insteadRegistered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
// Then assertEquals(2, written, "Should write 2 bytes"); assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, dst[0], "First byte must be subCommand"); assertEquals((byte) 0x00, dst[1], "Second byte must be 0"); } /** * Validates writeParametersWireFormat encodes values in the correct order and endianness. */ @Test void testWriteParametersWireFormat() { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0)