- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 577 for though (0.03 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateDefaultAtomicHelperTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests that {@link AggregateFutureState} uses the expected {@code AtomicHelper} implementation. * * <p>We have more thorough testing of {@code AtomicHelper} implementations in {@link * AggregateFutureStateFallbackAtomicHelperTest}. The advantage to this test is that it can run * under Android. */ @NullUnmarkedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 05 15:44:19 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
var multipleReadyTasks = false // Decide what to run. This loop's goal wants to: // * Find out what this thread should do (either run a task or sleep) // * Find out if there's enough work to start another thread. eachQueue@ for (queue in readyQueues) { val candidate = queue.futureTasks[0] val candidateDelay = maxOf(0L, candidate.nextExecuteNanoTime - now) when {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
import jcifs.internal.smb1.trans.SmbComTransaction; /** * Iterator for enumerating network servers. * * This class provides iteration over network servers discovered * through NetBIOS server enumeration requests. */ public class NetServerEnumIterator implements CloseableIterator<FileEntry> { private static final Logger log = LoggerFactory.getLogger(NetServerEnumIterator.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
import jcifs.smb1.UniAddress; /** * Very small test suite that exercises the most important state-changing * behaviour of {@link SmbSession}. The tests use Mockito to stub the * heavy network interactions through {@link SmbTransport}. */ @ExtendWith(MockitoExtension.class) public class SmbSessionTest { @Mock UniAddress addr; @Mock InetAddress inet; NtlmPasswordAuthentication auth; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
byte[] data = "test content".getBytes(); ContentCache cache = new ContentCache(data); response.setContentCache(cache); // ContentCache is not directly accessible, but we can test through content methods assertNotNull(response); } @Test public void testGetContentAsStringWithCache() throws IOException { CurlResponse response = new CurlResponse();
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* complete} or, if the computation is already complete, immediately. * * <p>There is no guaranteed ordering of execution of listeners, but any listener added through * this method is guaranteed to be called once the computation is complete. * * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
this.fileAttributes = fileAttributes; this.desiredAccess = access & 0x3; if (this.desiredAccess == 0x3) { this.desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */ } // map shareAccess as far as we can if ((shareAccess & SmbConstants.FILE_SHARE_READ) != 0 && (shareAccess & SmbConstants.FILE_SHARE_WRITE) != 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
throw new IOException("Failed to create new transport"); } // Reconnect channel.setState(ChannelState.CONNECTING); // Connection would be ensured through proper transport interface // Re-establish channel binding manager.performChannelBinding(channel); // Update channel with new transport
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
return Stream.of(Arguments.of("", "empty string is allowed"), Arguments.of(" ", "single space is preserved"), Arguments.of("复杂名.txt", "unicode name is preserved"), Arguments.of(null, "null name is passed through")); } @ParameterizedTest(name = "getName returns as-set: [{0}] - {1}") @MethodSource("nameProvider") void name_edgeCases(String name, String caseDesc) { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
* the URL's host name. Note that concurrent requests to a single IP address may still exceed this * limit: multiple hostnames may share an IP address or be routed through the same HTTP proxy. * * If more than [maxRequestsPerHost] requests are in flight when this is invoked, those requests * will remain in flight. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 14:16:22 UTC 2025 - 9.9K bytes - Viewed (0)