- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 427 for dst2 (0.09 sec)
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals((byte) 0x56, dst[1]); assertEquals((byte) 0x34, dst[2]); assertEquals((byte) 0x12, dst[3]); // Test with max value for 4 bytes SMBUtil.writeInt4(0xFFFFFFFFL, dst, 4); assertEquals((byte) 0xFF, dst[4]); assertEquals((byte) 0xFF, dst[5]); assertEquals((byte) 0xFF, dst[6]); assertEquals((byte) 0xFF, dst[7]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
Encodable enc = new ByteEncodable(src, 5, 0); // zero length byte[] dst = new byte[8]; Arrays.fill(dst, (byte) 0x7A); int written = enc.encode(dst, 3); assertEquals(0, enc.size(), "size() must be zero"); assertEquals(0, written, "encode() must return zero for zero length"); for (byte b : dst) { assertEquals((byte) 0x7A, b, "Destination should remain unchanged"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java
protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; if (this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY) { dst[dstIndex++] = this.maxSetupCount; } else { dst[dstIndex++] = (byte) 0x00; // Reserved } dst[dstIndex] = (byte) 0x00; // Reserved dstIndex++; dst[dstIndex++] = (byte) 0x00; // Reserved
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx); // Buffer needs 26 bytes: 2+2+2+2+4+2+4+8 = 26 byte[] dst = new byte[26]; int result = smbComOpenAndX.writeParameterWordsWireFormat(dst, 0); assertEquals(26, result); } /** * Test writeBytesWireFormat method with Unicode. */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
// Test the writing of bytes to a byte array byte[] dst = new byte[100]; int bytesWritten = smbComQueryInformation.writeBytesWireFormat(dst, 0); // Expected format: buffer format (1 byte) + file name (null-terminated) int expectedLength = 1 + TEST_FILE_NAME.length() + 1; assertEquals(expectedLength, bytesWritten); assertEquals(0x04, dst[0]); // Buffer formatRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComCreateDirectory.java
} @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
migrator.go
TableType(dst interface{}) (TableType, error) // Columns AddColumn(dst interface{}, field string) error DropColumn(dst interface{}, field string) error AlterColumn(dst interface{}, field string) error MigrateColumn(dst interface{}, field *schema.Field, columnType ColumnType) error // MigrateColumnUnique migrate column's UNIQUE constraint, it's part of MigrateColumn.
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
expected[directoryName.length() + 1] = 0x00; // Null terminator byte[] dst = new byte[100]; int bytesWritten = smbCom.writeBytesWireFormat(dst, 0); assertEquals(expected.length, bytesWritten, "Number of bytes written should match expected length."); byte[] actual = new byte[bytesWritten]; System.arraycopy(dst, 0, actual, 0, bytesWritten); // Use assertArrayEquals for byte array comparison
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
internal/s3select/csv/reader.go
func (r *Reader) nextSplit(skip int, dst []byte) ([]byte, error) { if cap(dst) < skip { dst = make([]byte, 0, skip+1024) } dst = dst[:skip] if skip > 0 { n, err := io.ReadFull(r.buf, dst) if err != nil && err != io.ErrUnexpectedEOF { // If an EOF happens after reading some but not all the bytes, // ReadFull returns ErrUnexpectedEOF. return dst[:n], err } dst = dst[:n]
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 8.8K bytes - Viewed (0)