Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/internal/witness/MockWitnessService.java

         *
         * @param eventType the event type
         * @param resourceName the resource name
         */
        public void sendNotification(WitnessEventType eventType, String resourceName) {
            // In a real implementation, this would send notifications to registered clients
            // For the mock, we just log it
            log.info("Mock sending notification: {} for resource: {}", eventType, resourceName);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

            // TCP fallback doesn't support real RDMA read
            throw new UnsupportedOperationException("RDMA read not supported by TCP fallback");
        }
    
        @Override
        public void rdmaWrite(RdmaMemoryRegion localRegion, long remoteAddress, int remoteKey, int length) throws IOException {
            // TCP fallback doesn't support real RDMA write
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top