Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 151 for sena (0.06 sec)

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

            // Verify interactions
            verify(tree, times(1)).send(isA(Trans2FindFirst2.class), any(Trans2FindFirst2Response.class));
            // Verify that Trans2FindNext2 was sent twice for fetching more entries
            verify(tree, times(2)).send(isA(Trans2FindNext2.class), any(Trans2FindFirst2Response.class));
    
            // Close should have sent FindClose2 exactly once
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            byte[] data = "Appended".getBytes();
    
            // When
            outputStream.write(data);
    
            // Then - verify write request was sent
            verify(mockTreeHandle, atLeastOnce()).send(any(Smb2WriteRequest.class), any());
        }
    
        @Test
        void testMultipleWrites() throws IOException, CIFSException {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

        }
    
        /**
         * Get the preferred size for send operations
         *
         * @return preferred send size in bytes
         */
        public int getPreferredSendSize() {
            return preferredSendSize;
        }
    
        /**
         * Set the preferred size for send operations
         *
         * @param preferredSendSize preferred send size in bytes
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            assertFalse(it.hasNext(), "Iterator should be exhausted");
    
            // Close explicitly to exercise doCloseInternal
            it.close();
    
            // Verify interactions: one create, two additional directory queries (for fetchMore), one close
            verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CreateRequest));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

            rdmaWrites.incrementAndGet();
            bytesTransferred.addAndGet(bytes);
            totalWriteTime.addAndGet(durationNanos);
        }
    
        /**
         * Record an RDMA send operation
         *
         * @param bytes number of bytes sent
         * @param durationNanos operation duration in nanoseconds
         */
        public void recordRdmaSend(int bytes, long durationNanos) {
            rdmaSends.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            // Note: This IOCTL must be sent on an existing session
            // The actual sending would need integration with the session's transport
            // For now, we're preparing the request structure correctly
    
            // TODO: Integration point - send request through session.send()
            // Smb2IoctlResponse response = (Smb2IoctlResponse) session.send(request);
            // if (response.isSuccess()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        }
    
        /**
         * Get the preferred size for send operations
         *
         * @return preferred send size in bytes
         */
        public int getPreferredSendSize() {
            return preferredSendSize;
        }
    
        /**
         * Set the preferred size for send operations
         *
         * @param preferredSendSize preferred send size in bytes
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            }
    
            do {
                try {
                    send(request, response, config.getNetbiosRetryTimeout());
                } catch (final InterruptedIOException ioe) {
                    // second query thread to finish gets interrupted so this is expected
                    if (log.isTraceEnabled()) {
                        log.trace("Failed to send nameservice request for " + name.name, ioe);
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbSession.java

            } else {
                final Trans2FindFirst2 req = new Trans2FindFirst2("\\", "*", SmbFile.ATTR_DIRECTORY);
                final Trans2FindFirst2Response resp = new Trans2FindFirst2Response();
                tree.send(req, resp);
            }
        }
    
        /* 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        int connectionState;
        int uid;
        Vector trees;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                if (LogStream.level > 2) {
                    ex.printStackTrace(log);
                }
            } finally {
                tryClose();
            }
        }
    
        void send(final NameServicePacket request, final NameServicePacket response, int timeout) throws IOException {
            Integer nid = null;
            int max = NbtAddress.NBNS.length;
    
            if (max == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top