- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 548 for needn (0.01 sec)
-
src/main/java/jcifs/netbios/NameServicePacket.java
/* * Apparently readRDataWireFormat can return 0 if resultCode != 0 in * which case this will look indefinitely. Putting this else clause around * the loop might fix that. But I would need to see a capture to confirm. * if (resultCode != 0) { * srcIndex += rDataLength; * } else { */ for (this.addrIndex = 0; srcIndex < end; this.addrIndex++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
/* Apparently readRDataWireFormat can return 0 if resultCode != 0 in which case this will look indefinitely. Putting this else clause around the loop might fix that. But I would need to see a capture to confirm. if (resultCode != 0) { srcIndex += rDataLength; } else { */ for (addrIndex = 0; srcIndex < end; addrIndex++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
* sees an Error? */ @AndroidIncompatible public void testTaskThrowsError() throws Exception { class MyError extends Error {} CyclicBarrier barrier = new CyclicBarrier(2); // we need to make sure the error gets thrown on a different thread. ExecutorService service = newSingleThreadExecutor(); try { SequentialExecutor executor = new SequentialExecutor(service); Runnable errorTask =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java
* highest valued character that requires escaping. For example a replacement map containing the * single character '{@code \}{@code u1000}' will require approximately 16K of memory. If you need * to create multiple escaper instances that have the same character replacement mapping consider * using {@link ArrayBasedEscaperMap}. * * @author Sven Mawson * @author David Beaumont * @since 15.0 */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
class LsaPolicyHandleTest { @Mock private DcerpcHandle mockDcerpcHandle; // Mocking MsrpcLsarOpenPolicy2 and MsrpcLsarClose is tricky because they are created inside the constructor/method. // We need to use ArgumentCaptor or a custom Answer to control their behavior. // For now, let's assume we can mock their behavior through the sendrecv method of DcerpcHandle. @BeforeEach void setUp() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt
// platform.assumeNotBouncyCastle() val client = makeClient() makeRequest(client) // As of OkHttp 5 we now apply the ordering from the OkHttpClient, which defaults to MODERN_TLS // Clients might need a changed order, but can at least define a preferred order to override that default. val socketOrderedByDefaults = handshakeEnabledCipherSuites.sortedBy { ConnectionSpec.MODERN_TLS.cipherSuitesAsString!!.indexOf(it) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Sep 16 07:21:43 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
return resetContainer(getSubjectGenerator().createTestSubject()); } /** * Replaces the existing container under test with a new container. This is useful when a single * test method needs to create multiple containers while retaining the ability to use {@link * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
* Check global rate limit */ private boolean checkGlobalRateLimit() { long now = System.currentTimeMillis(); long windowStart = currentWindowStart.get(); // Check if we need to reset the window (1 minute window) if (now - windowStart > 60000) { currentWindowStart.compareAndSet(windowStart, now); globalAttemptsInCurrentWindow.set(0); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
response.wait(timeout); /* * JetDirect printer can respond to regular broadcast query * with node status so we need to check to make sure that * the record type matches the question type and if not, * loop around and try again. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* ``` * * ## Shutdown Isn't Necessary * * The threads and connections that are held will be released automatically if they remain idle. But * if you are writing a application that needs to aggressively release unused resources you may do * so. * * Shutdown the dispatcher's executor service with [shutdown()][ExecutorService.shutdown]. This will * also cause future calls to the client to be rejected.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 51.4K bytes - Viewed (0)