- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 288 for arraycopy (0.04 sec)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
int fileNameLength = SMBUtil.readInt4(outputBuffer, offset + 8); // Extract filename byte[] fileNameBytes = new byte[fileNameLength]; System.arraycopy(outputBuffer, offset + 12, fileNameBytes, 0, fileNameLength); String fileName = new String(fileNameBytes, StandardCharsets.UTF_16LE); // Convert action to our enum
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
byte[] notificationData = createSingleNotificationBuffer("offset_test.txt", FileNotifyInformation.FILE_ACTION_MODIFIED); byte[] buffer = new byte[offset + notificationData.length]; System.arraycopy(notificationData, 0, buffer, offset, notificationData.length); int result = response.readParametersWireFormat(buffer, offset, notificationData.length); assertTrue(result > 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
throw new SMBProtocolDecodingException("Buffer overflow"); } // Store the decoded data this.data = new byte[len]; System.arraycopy(buffer, bufferIndex, this.data, 0, len); return len; } public byte[] getData() { return data; } public int getDecodeCallCount() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
} final String[] oldArray = elementsText.get(fieldName); final String[] newArray; if (oldArray != null) { newArray = new String[oldArray.length + 1]; System.arraycopy(oldArray, 0, newArray, 0, oldArray.length); newArray[oldArray.length] = value; } else { newArray = new String[] { value }; } elementsAll.put(fieldName, newArray);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 18.6K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
String expectedDescr = "WrLeh\u0000B13BWz\u0000"; byte[] expectedDescrBytes = expectedDescr.getBytes("ASCII"); byte[] actualDescrBytes = new byte[expectedDescrBytes.length]; System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length); assertArrayEquals(expectedDescrBytes, actualDescrBytes); // Verify level (0x0001 - 2 bytes) int descrEnd = 2 + expectedDescrBytes.length;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
byte[] buffer = new byte[1024]; // Large enough for contexts // Copy basic structure byte[] basic = createBasicNegotiateResponseBuffer(); System.arraycopy(basic, 0, buffer, 0, basic.length); return buffer; } /** * Creates a completely valid negotiate response buffer for positive testing. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(0x07, buffer[11]); assertEquals(0x08, buffer[12]); } @Test void testReadOctetArray() { byte[] sourceData = { 0x10, 0x11, 0x12, 0x13, 0x14 }; System.arraycopy(sourceData, 0, buffer, 0, sourceData.length); byte[] destData = new byte[5]; ndrBuffer.readOctetArray(destData, 0, sourceData.length); assertEquals(sourceData.length, ndrBuffer.getIndex());
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/smb/SpnegoContext.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
final byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4]; int di = 0; dst[di] = sid.revision; di++; dst[di++] = sid.sub_authority_count; System.arraycopy(sid.identifier_authority, 0, dst, di, 6); di += 6; for (int ii = 0; ii < sid.sub_authority_count; ii++) { jcifs.smb1.util.Encdec.enc_uint32le(sid.sub_authority[ii], dst, di); di += 4;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0)