Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 256 for Real (0.02 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

     *
     * Note: This is a skeleton implementation. A real implementation would
     * require proper DiSNI integration with actual RDMA hardware.
     */
    public class DisniRdmaConnection extends RdmaConnection {
    
        private static final Logger log = LoggerFactory.getLogger(DisniRdmaConnection.class);
    
        // DiSNI objects - would be actual DiSNI types in real implementation
        private final Object endpoint; // RdmaActiveEndpoint
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. 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 region
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. 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 instance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. 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;
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

            if (cause instanceof ClSQLException) {
                return ((ClSQLException) cause).getSql();
            }
            return "";
        }
    
        /**
         * Returns the real message.
         *
         * @param cause the underlying exception
         * @return the real message
         */
        protected static String getRealMessage(final SQLException cause) {
            final StringBuilder buf = new StringBuilder(256);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. 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 discovery
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top