- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 213 for retVal (0.04 sec)
-
.github/ISSUE_TEMPLATE/feature_enhancement_request.yaml
Did you *actually* encounter the need for this enhancement in a real-world scenario, or does it just seem like a sensible behavior for the feature to have? Before we make significant changes to existing features in Guava, we really want to be sure that it's for a use case that actually comes up in the real world. We want to hear theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 3.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt
) : DelegatingSocketFactory(getDefault()) { private val hostMapping = mutableMapOf<InetAddress, InetSocketAddress>() /** Sets the [real] address for [requested]. */ operator fun set( requested: InetAddress, real: InetSocketAddress, ) { hostMapping[requested] = real } override fun createSocket(): Socket = object : Socket() { override fun connect( endpoint: SocketAddress?,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
Did you *actually* encounter the need for this feature in a real-world scenario, or is it just a feature that seems like a sensible addition to Guava? Before new features get added to Guava, we really want to be sure that it's for a use case that actually comes up in the real world. We want to hear the real-world use case so theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java
} } @Override protected int generateLocalKey() { // In real implementation, this would get the local key from DiSNI: // return memoryRegister.getLkey(); return keyGenerator.getAndIncrement(); } @Override protected int generateRemoteKey() { // In real implementation, this would get the remote key from DiSNI: // return memoryRegister.getRkey();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
// Private helper methods private int getMaxChannelsFromConfig(Configuration config) { // In a real implementation, this would read from configuration return 4; // Default to 4 channels } private LoadBalancingStrategy getLoadBalancingStrategyFromConfig(Configuration config) { // In a real implementation, this would read from configuration return LoadBalancingStrategy.ROUND_ROBIN; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java
// Default constructor } private static final Logger log = LoggerFactory.getLogger(DisniRdmaProvider.class); // DiSNI components - these would be actual DiSNI objects in a real implementation private Object endpointGroup; // RdmaActiveEndpointGroup<DisniRdmaEndpoint> private Object endpoint; // RdmaActiveEndpoint private boolean initialized = false; @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpMemoryRegion.java
import jcifs.internal.smb2.rdma.RdmaAccess; import jcifs.internal.smb2.rdma.RdmaMemoryRegion; /** * TCP memory region implementation. * * For TCP fallback, memory regions are just wrappers around * ByteBuffers since no real RDMA registration is needed. */ public class TcpMemoryRegion extends RdmaMemoryRegion { private static final AtomicInteger keyGenerator = new AtomicInteger(1000); /** * Create new TCP memory regionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
SmbTransport transport; // static helper that returns the mocked transport. The real class // performs several other operations, but for the purpose of the test // we intercept the factory call. private MockedStatic<SmbTransport> smbtStatic; @BeforeEach void setUp() throws Exception { // Create a real NtlmPasswordAuthentication instanceRegistered: 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/jcifs/internal/witness/WitnessIntegrationTest.java
} /** * Integration test that would require a real cluster environment. * Disabled by default - enable with -Dwitness.integration.test=true */ @Test void testWitnessEnvironmentConfiguration() throws Exception { // Test simulating real witness environment scenarios // This test validates integration patterns without requiring real cluster // Simulate witness service discoveryRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
doThrow(handleCloseException).when(mockSmbPipeHandleInternal).close(); // Setup close to call real method doCallRealMethod().when(handle).close(); // The finally block ensures pipe is closed even if handle close fails // Since the real method will propagate the exception from handle.close(), // we need to catch it to verify that pipe.close() was still called
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0)