- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,844 for Length (0.05 sec)
-
src/main/java/jcifs/pac/PacUnicodeString.java
* @param pointer the pointer/offset to the string data */ public PacUnicodeString(final short length, final short maxLength, final int pointer) { this.length = length; this.maxLength = maxLength; this.pointer = pointer; } /** * Gets the actual length of the string in bytes. * * @return the string length */ public short getLength() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
TYPE_RST_STREAM -> readRstStream(handler, length, flags, streamId) TYPE_SETTINGS -> readSettings(handler, length, flags, streamId) TYPE_PUSH_PROMISE -> readPushPromise(handler, length, flags, streamId) TYPE_PING -> readPing(handler, length, flags, streamId) TYPE_GOAWAY -> readGoAway(handler, length, flags, streamId) TYPE_WINDOW_UPDATE -> readWindowUpdate(handler, length, flags, streamId)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} if (length < 0) { failedValidations.incrementAndGet(); bufferOverflowsPrevented.incrementAndGet(); throw new SmbException("Negative length: " + length); } // Check for integer overflow if (offset > buffer.length - length) { failedValidations.incrementAndGet();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
@DisplayName("Should handle various data lengths") void testVariousDataLengths(int length) throws SMBProtocolDecodingException { int result = testResponse.decode(testBuffer, 0, length); assertEquals(length, result); assertNotNull(testResponse.getData()); assertEquals(length, testResponse.getData().length); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
int offset = 50; int length = 100; request.setData(fullData, offset, length); byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 0); // Verify only the specified portion is written assertEquals(48 + length, bytesWritten);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
void testConstructorInitialization() { // Given int offset = 0; int length = TEST_DATA.length; // When transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, offset, length); // Then assertNotNull(transCallNamedPipe);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt
val byteCount = hpackBuffer.size val length = minOf(maxFrameSize - 4L, byteCount).toInt() frameHeader( streamId = streamId, length = length + 4, type = TYPE_PUSH_PROMISE, flags = if (byteCount == length.toLong()) FLAG_END_HEADERS else 0, ) sink.writeInt(promisedStreamId and 0x7fffffff) sink.write(hpackBuffer, length.toLong())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
System.arraycopy(testData, 0, buffer, 10, testData.length); int result = response.readDataWireFormat(buffer, 10, testData.length); assertEquals(testData.length, result); // Verify data was copied to outputBuffer byte[] expectedData = new byte[testData.length]; System.arraycopy(outputBuffer, 0, expectedData, 0, testData.length); assertArrayEquals(testData, expectedData); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
*/ static @Nullable Object[] copyAsObjectArray(@Nullable Object[] elements, int offset, int length) { checkPositionIndexes(offset, offset + length, elements.length); if (length == 0) { return new Object[0]; } @Nullable Object[] result = new Object[length]; arraycopy(elements, offset, result, 0, length); return result; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
throw new IllegalArgumentException("Offsets and length must be non-negative"); } if (srcOffset + length > src.length) { throw new IllegalArgumentException( "Source array bounds exceeded: offset=" + srcOffset + ", length=" + length + ", array.length=" + src.length); } if (dstOffset + length > dst.length) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0)