- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 1,760 for lengths (0.04 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
System.arraycopy(this.blob, 0, dst, dstIndex, this.blob.length); dstIndex += this.blob.length; } else { System.arraycopy(this.lmHash, 0, dst, dstIndex, this.lmHash.length); dstIndex += this.lmHash.length; System.arraycopy(this.ntHash, 0, dst, dstIndex, this.ntHash.length); dstIndex += this.ntHash.length;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
* @param length the number of bytes to dump from the source array */ public static void hexdump(final PrintStream ps, final byte[] src, final int srcIndex, final int length) { if (length == 0) { return; } final int s = length % 16; final int r = s == 0 ? length / 16 : length / 16 + 1; final char[] c = new char[r * (74 + NL_LENGTH)];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
when(mockBuffer.dec_ndr_short()).thenReturn(100) // length .thenReturn(0); // auth_value length message.decode_header(mockBuffer); assertEquals(DcerpcConstants.RPC_PT_RESPONSE, message.ptype); assertEquals(DcerpcConstants.RPC_C_PF_BROADCAST, message.flags); assertEquals(100, message.length); assertEquals(123, message.call_id); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
SecurityBlob blob = new SecurityBlob(data); // Assert assertSame(data, blob.get(), "get() should expose the same array reference passed in"); assertEquals(data.length, blob.length(), "length() should match underlying array length"); assertEquals("deadbeef", blob.toString(), "toString() should reflect underlying content"); assertEquals(data.hashCode(), blob.hashCode(), "hashCode should equal the array's hashCode");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
cmd/object_api_suite_test.go
length = int64(len(uploadContent)) _, err = obj.PutObject(context.Background(), "bucket", "object", mustGetPutObjReader(t, bytes.NewBufferString(uploadContent), length, "", ""), opts) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } var bytesBuffer bytes.Buffer err = GetObject(context.Background(), obj, "bucket", "object", 0, length, &bytesBuffer, "", opts) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
// Expected size: 2 (info level) + 4 (reserved) + filename length + 1 (null terminator) byte[] dst = new byte[2 + 4 + filename.length() + 1]; // When int bytesWritten = trans.writeParametersWireFormat(dst, 0); // Then assertEquals(dst.length, bytesWritten, "The number of bytes written should match the expected length."); // Check informationLevel
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
final int length = cipherText.length; if (length % 8 != 0) { // DES requires 8-byte blocks throw new IllegalArgumentException("Array must be a multiple of 8 bytes for DES encryption"); } final byte[] clearText = new byte[length]; final int count = length / 8; for (int i = 0; i < count; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
final byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt4(nameBytes.length, dst, dstIndex); dstIndex += 4; System.arraycopy(nameBytes, 0, dst, dstIndex, nameBytes.length); dstIndex += nameBytes.length; return dstIndex - start; } /** * {@inheritDoc} * * @see jcifs.Encodable#size() */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
*/ MIEName(final byte[] buf) { int i; int len; if (buf.length < TOK_ID_SIZE + MECH_OID_LEN_SIZE) { throw new IllegalArgumentException(); } // TOK_ID for (i = 0; i < TOK_ID.length; i++) { if (TOK_ID[i] != buf[i]) { throw new IllegalArgumentException(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java
final int length = src != null ? src.length : 0; if (length == 0) { return; } writeUShort(dest, offset, length); writeUShort(dest, offset + 2, length); writeULong(dest, offset + 4, bodyOffset); System.arraycopy(src, 0, dest, bodyOffset, length); } static String getOEMEncoding() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0)