- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for GetLength (0.05 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java
public long getAddress() { return transform.getOffset(); } /** * Get length of memory region * * @return length in bytes */ public int getLength() { return transform.getLength(); } /** * Get the underlying RDMA transform structure * * @return RDMA transform */ public Smb2RdmaTransform getTransform() { return transform;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (0) -
cmd/httprange.go
type HTTPRangeSpec struct { // Does the range spec refer to a suffix of the object? IsSuffixLength bool // Start and end offset specified in range spec Start, End int64 } // GetLength - get length of range func (h *HTTPRangeSpec) GetLength(resourceSize int64) (rangeLength int64, err error) { switch { case resourceSize < 0: return 0, errors.New("Resource size cannot be negative") case h == nil:Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributePointer.java
@Override public Object getBaseValue() { return attrib; } @Override public Object getImmediateNode() { return attrib; } @Override public int getLength() { return 1; } @Override public QName getName() { return new QName(null, attrib.getKey()); } @Override public boolean isActual() { return true;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.2K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacUnicodeString.java
this.maxLength = maxLength; this.pointer = pointer; } /** * Gets the actual length of the string in bytes. * * @return the string length */ public short getLength() { return this.length; } /** * Gets the maximum allocated length for the string in bytes. * * @return the maximum string length */ public short getMaxLength() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DebugConfigurationListener.java
* @return The string representation, never <code>null</code>. */ private String toString(Object obj) { String str; if (obj != null && obj.getClass().isArray()) { int n = Array.getLength(obj); StringBuilder buf = new StringBuilder(256); buf.append('['); for (int i = 0; i < n; i++) { if (i > 0) { buf.append(", "); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.8K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0)