Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 139 for sendo (0.08 sec)

  1. src/test/java/jcifs/smb/SmbFileTest.java

                when(existsResponse.getAttributes()).thenReturn(0); // Not found
                when(mockTreeHandle.send(any(), any(SmbComQueryInformationResponse.class))).thenReturn(existsResponse);
    
                // Mock the actual mkdir call
                when(mockTreeHandle.send(any(SmbComCreateDirectory.class), any(SmbComBlankResponse.class)))
                        .thenReturn(mock(SmbComBlankResponse.class));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            when(fileHandle.acquire()).thenReturn(fileHandle);
            when(fileHandle.getTree()).thenReturn(tree);
    
            // Mock response and send behavior
            Smb2IoctlResponse resp = mock(Smb2IoctlResponse.class);
            when(resp.getOutputLength()).thenReturn(42);
            when(tree.send(any(Smb2IoctlRequest.class), any())).thenReturn(resp);
    
            byte[] out = new byte[10];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                assertThrows(CIFSException.class, handle::getSessionKey);
            }
        }
    
        @Nested
        @DisplayName("Send/Receive Fragment Tests")
        class SendReceiveFragmentTests {
    
            @Test
            @DisplayName("Should send and receive fragment successfully")
            void testDoSendReceiveFragment_Success() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         * @throws CIFSException if an error occurs checking capabilities
         */
        boolean hasCapability(int cap) throws CIFSException;
    
        /**
         * Gets the send buffer size of the underlying SMB connection
         * @return the send buffer size of the underlying connection
         * @throws CIFSException if an error occurs retrieving the buffer size
         */
        int getSendBufferSize() throws CIFSException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

            assertNotNull(capabilities, "Capabilities should not be null");
            assertEquals(1, capabilities.size(), "TCP provider should only support send/receive");
            assertTrue(capabilities.contains(RdmaCapability.RDMA_SEND_RECEIVE), "Should support send/receive");
            assertFalse(capabilities.contains(RdmaCapability.RDMA_READ), "Should not support RDMA read");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                RdmaMemoryRegion sendRegion = bufferManager.getSendRegion(4096);
                assertNotNull(sendRegion, "Send region should not be null");
                assertTrue(sendRegion.getSize() >= 4096, "Send region should be at least 4KB");
                assertNotNull(sendRegion.getBuffer(), "Send region buffer should not be null");
    
                RdmaMemoryRegion recvRegion = bufferManager.getReceiveRegion();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

                setTree(c, tree);
                return handle;
            }).when(c).connectHost(any(), anyString());
    
            // Execute send - should retry after transport error
            try {
                c.send(loc, req, resp, EnumSet.noneOf(RequestParam.class));
            } catch (Exception e) {
                // It's ok if it fails, we just want to verify reset was called
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                        final Smb2WriteResponse resp = th.send(request, RequestParam.NO_RETRY);
                        cnt = resp.getCount();
                    } else {
                        final SmbComWriteAndX request =
                                new SmbComWriteAndX(th.getConfig(), fh.getFid(), this.fp, len - w - off, b, off, w, null);
                        th.send(request, this.write_andx_resp, RequestParam.NO_RETRY);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTree.java

        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbTree tree) {
                return matches(tree.share, tree.service);
            }
            return false;
        }
    
        void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException {
            synchronized (session.transport()) {
                if (response != null) {
                    response.received = false;
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

            assertEquals(8192, config.getRdmaReadWriteThreshold(), "Default threshold should be 8KB");
            assertEquals(65536, config.getRdmaMaxSendSize(), "Default max send size should be 64KB");
            assertEquals(65536, config.getRdmaMaxReceiveSize(), "Default max receive size should be 64KB");
            assertEquals(255, config.getRdmaCredits(), "Default credits should be 255");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top