Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 385 for dst2 (0.01 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(24, dst, dstIndex);
            SMBUtil.writeInt2(this.closeFlags, dst, dstIndex + 2);
            dstIndex += 4;
            dstIndex += 4; // Reserved
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            if (log.isDebugEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameQueryRequest.java

        }
    
        @Override
        int writeBodyWireFormat(final byte[] dst, final int dstIndex) {
            return writeQuestionSectionWireFormat(dst, dstIndex);
        }
    
        @Override
        int readBodyWireFormat(final byte[] src, final int srcIndex) {
            return readQuestionSectionWireFormat(src, srcIndex);
        }
    
        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                andx = null;
    
                dst[start + ANDX_COMMAND_OFFSET] = (byte) 0xFF;
                dst[start + ANDX_RESERVED_OFFSET] = (byte) 0x00;
                //            dst[start + ANDX_OFFSET_OFFSET] = (byte)0x00;
                //            dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0x00;
                dst[start + ANDX_OFFSET_OFFSET] = (byte) 0xde;
                dst[start + ANDX_OFFSET_OFFSET + 1] = (byte) 0xde;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java

        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

            assertTrue(result.contains("dataOffset=54"));
        }
    
        // Helper method to write a 2-byte integer to a byte array
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            // Create buffer for encoding - initially allocate some space
            byte[] encodeBuffer = new byte[1024];
            NdrBuffer dst = new NdrBuffer(encodeBuffer, 0);
            info1.encode(dst);
    
            ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
            // Use the encoded buffer for decoding
            NdrBuffer src = new NdrBuffer(encodeBuffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top