Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for Remaining (1.54 sec)

  1. src/test/java/jcifs/netbios/LmhostsTest.java

                            byte[] buffer = inv.getArgument(0);
                            int remaining = includeContent.length - index[0];
                            if (remaining <= 0) {
                                return -1;
                            }
                            int toRead = Math.min(buffer.length, remaining);
                            System.arraycopy(includeContent, index[0], buffer, 0, toRead);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                // sge.setLength(data.remaining());
                // sge.setLkey(disniRegion.getLocalKey());
                // sgeList.add(sge);
                //
                // sendWR.setSg_list(sgeList);
                // endpoint.postSend(Arrays.asList(sendWR)).execute().free();
    
                log.debug("DiSNI RDMA send completed, {} bytes", data.remaining());
    
            } catch (Exception e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                assertEquals("Hello", new String(buffer, 0, bytesRead, "UTF-8"));
    
                // Read remaining bytes
                byte[] remaining = new byte[20];
                int remainingBytes = stream.read(remaining);
                assertEquals(8, remainingBytes); // ", World!"
                assertEquals(", World!", new String(remaining, 0, remainingBytes, "UTF-8"));
            }
        }
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various remaining bytes values")
            @ValueSource(ints = { 0, 1, 512, 1024, 4096, 65536, Integer.MAX_VALUE })
            void testVariousRemainingBytes(int remaining) {
                assertDoesNotThrow(() -> request.setRemainingBytes(remaining));
            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Skip 3 bytes
            assertEquals(3, sis.skip(3));
    
            // Read remaining 2 bytes
            byte[] remaining = new byte[2];
            assertEquals(2, sis.read(remaining, 0, 2));
            assertArrayEquals(new byte[] { 40, 50 }, remaining);
        }
    
        @Test
        @DisplayName("Skip handles amount larger than available")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            close.writeParameterWordsWireFormat(buffer, 0);
            // first two bytes encode fid 42
            assertEquals((byte) 42, buffer[0]);
            assertEquals((byte) 0, buffer[1]);
            // remaining 4 bytes should all be 0xFF according to writeUTime
            for (int i = 2; i < 6; i++) {
                assertEquals((byte) 0xFF, buffer[i], "byte %d should be 0xFF".formatted(i));
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. docs/smb3-features/05-rdma-smb-direct-design.md

        }
        
        public int getLocalKey() { return localKey; }
        public int getRemoteKey() { return remoteKey; }
        public long getAddress() { return address; }
        public int getSize() { return buffer.remaining(); }
        
        public boolean hasAccess(RdmaAccess access) {
            return accessFlags.contains(access);
        }
        
        /**
         * Invalidate this memory region
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         *            the minimumCount to set
         */
        public void setMinimumCount(final int minimumCount) {
            this.minimumCount = minimumCount;
        }
    
        /**
         * Sets the number of bytes remaining to be read after this request
         *
         * @param remainingBytes
         *            the remainingBytes to set
         */
        public void setRemainingBytes(final int remainingBytes) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                if (context.getServer() == null) {
                    pos = 1;
                }
    
                // first remaining path element would be share
                if (nameParts.length > pos) {
                    this.share = nameParts[pos];
                    pos++;
                }
    
                // all other remaining path elements are actual path
                if (nameParts.length > pos) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertDoesNotThrow(() -> request.setMinimumCount(512));
                assertDoesNotThrow(() -> request.setMinimumCount(Integer.MAX_VALUE));
            }
    
            @Test
            @DisplayName("Should set remaining bytes correctly")
            void testSetRemainingBytes() {
                assertDoesNotThrow(() -> request.setRemainingBytes(0));
                assertDoesNotThrow(() -> request.setRemainingBytes(1024));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top