Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 385 for dst2 (0.02 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            SMBUtil.writeInt2(this.credit, dst, dstIndex + 14);
            SMBUtil.writeInt4(this.flags, dst, dstIndex + 16);
            SMBUtil.writeInt4(this.nextCommand, dst, dstIndex + 20);
            SMBUtil.writeInt8(this.mid, dst, dstIndex + 24);
    
            if (this.async) {
                SMBUtil.writeInt8(this.asyncId, dst, dstIndex + 32);
            } else {
                // 4 reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComDelete.java

        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            writeInt2(searchAttributes, dst, dstIndex);
            return 2;
        }
    
        @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;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Arrange
            byte[] dst = new byte[100];
            int dstIndex = 50;
    
            // Act
            int result = response.writeSetupWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("writeParametersWireFormat should return 0")
        void testWriteParametersWireFormat() {
            // Arrange
            byte[] dst = new byte[100];
            int dstIndex = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

            this.setupCount = 2;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = this.getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            // this says "Transaction priority" in netmon
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            return 4;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

            byte[] dst = new byte[10];
            // The method should not write anything and return 0
            assertEquals(0, response.writeParametersWireFormat(dst, 0), "writeParametersWireFormat should return 0.");
        }
    
        /**
         * Test for the writeDataWireFormat method.
         * It should always return 0.
         */
        @Test
        void testWriteDataWireFormat() {
            byte[] dst = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        int s3 = min + (3 * range) / 4;
        char[] dst = new char[12];
    
        // Put surrogate pairs at odd indices so they can be split easily
        dst[0] = 'x';
        Character.toChars(min, dst, 1);
        Character.toChars(s1, dst, 3);
        Character.toChars(s2, dst, 5);
        Character.toChars(s3, dst, 7);
        Character.toChars(max, dst, 9);
        dst[11] = 'x';
        String test = new String(dst);
    
        // Get the expected result string
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        int s3 = min + (3 * range) / 4;
        char[] dst = new char[12];
    
        // Put surrogate pairs at odd indices so they can be split easily
        dst[0] = 'x';
        Character.toChars(min, dst, 1);
        Character.toChars(s1, dst, 3);
        Character.toChars(s2, dst, 5);
        Character.toChars(s3, dst, 7);
        Character.toChars(max, dst, 9);
        dst[11] = 'x';
        String test = new String(dst);
    
        // Get the expected result string
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

                return 0;
            }
    
            SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            SMBUtil.writeInt2(0x0001, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex);
            dstIndex += 2;
    
            return dstIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            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
    - 3.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            @Override
            protected int writeSetupWireFormat(byte[] dst, int dstIndex) {
                if (setupBuffer != null && setupBuffer.length > 0) {
                    System.arraycopy(setupBuffer, 0, dst, dstIndex, setupBuffer.length);
                }
                return setupWireFormatReturn;
            }
    
            @Override
            protected int writeParametersWireFormat(byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top