- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for GetLength (0.04 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
ndrBuffer.advance(10); assertEquals(10, ndrBuffer.getLength()); ndrBuffer.setLength(20); assertEquals(20, ndrBuffer.getLength()); // Test with derived buffer NdrBuffer derived = ndrBuffer.derive(0); derived.setLength(5); assertEquals(5, derived.getLength()); assertEquals(5, ndrBuffer.getLength()); // Should affect original's deferred length }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
*/ public int getLength() { return length; } /** * Sets the total length of the notification response. * * @param length the length in bytes of the entire notification response */ public void setLength(int length) { this.length = length; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@Test @DisplayName("Should get length") void testGetLength() { assertEquals(0, testMessage.getLength()); byte[] buffer = new byte[1024]; testMessage.setBytesWritten(20); testMessage.encode(buffer, 0); assertTrue(testMessage.getLength() > 0); } @Test @DisplayName("Should get status") void testGetStatus() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
* Returns the length of data in the buffer. * * @return the data length */ public int getLength() { return deferred.length; } /** * Sets the length of data in the buffer. * * @param length the new data length */ public void setLength(final int length) { deferred.length = length; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
* Returns the length of data in the buffer. * * @return the data length */ public int getLength() { return this.deferred.length; } /** * Sets the length of data in the buffer. * * @param length the new data length */ public void setLength(final int length) { this.deferred.length = length; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
when(mockRequest.getSignSeq()).thenReturn(10); when(mockRequest.getCommand()).thenReturn((int) ServerMessageBlock.SMB_COM_WRITE); when(mockRequest.getLength()).thenReturn(100); // Sign the data signDigest.sign(data, 0, data.length, mockRequest, null); // Create a new digest for verification with same key
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
} } private void handleRdmaRead(Smb2ReadRequest request) throws IOException { // Allocate buffer for read data ByteBuffer readBuffer = bufferManager.allocateBuffer(request.getLength()); RdmaMemoryRegion readRegion = provider.registerMemory(readBuffer, EnumSet.of(RdmaAccess.LOCAL_WRITE, RdmaAccess.REMOTE_WRITE)); try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
final NodeList snapshotNodeList = doc.getElementsByTagName("snapshot"); if (snapshotNodeList.getLength() > 0) { final NodeList nodeList = snapshotNodeList.item(0).getChildNodes(); for (int i = 0; i < nodeList.getLength(); i++) { final Node node = nodeList.item(i); if ("timestamp".equalsIgnoreCase(node.getNodeName())) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
public static void appendChildren(final NodeList children, final StringBuilder buf) { assertArgumentNotNull("children", children); assertArgumentNotNull("buf", buf); final int length = children.getLength(); for (int i = 0; i < length; ++i) { appendNode(children.item(i), buf); } } /** * Appends the string representation of a {@link NamedNodeMap}. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
final int length = msg.getLength() - raxr.getDataLength(); update(data, index, length - SmbConstants.SIGNATURE_OFFSET - 8); update(raxr.getData(), raxr.getOffset(), raxr.getDataLength()); } else { update(data, index, msg.getLength() - SmbConstants.SIGNATURE_OFFSET - 8); } final byte[] signature = digest();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0)