Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 400 for dst2 (0.03 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            final int len = str.length();
            int ch, size = 0;
            byte[] dst;
    
            for (int i = 0; i < len; i++) {
                ch = str.charAt(i);
                size += ch > 0x07F ? ch > 0x7FF ? 3 : 2 : 1;
            }
            dst = new byte[size];
            writeShort(size);
            try {
                Encdec.enc_utf8(str, dst, 0, size);
            } catch (final IOException ioe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Hexdump.java

         * @param dstIndex the starting index in the destination array
         * @param size the number of hex digits to write (will be left-padded with zeros)
         */
        public static void toHexChars(long val, final char dst[], final int dstIndex, int size) {
            while (size > 0) {
                dst[dstIndex + size - 1] = HEX_DIGITS[(int) (val & 0x000FL)];
                if (val != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

         */
        public final byte[] getBlob() {
            return this.blob;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            idx += 2;
            SMBUtil.writeInt4(0, data, idx); // Reserved
            idx += 4;
    
            return data;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            byte[] data = getData();
            System.arraycopy(data, 0, dst, dstIndex, data.length);
            return data.length;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            public int size() {
                return testSize;
            }
    
            @Override
            protected int writeHeaderWireFormat(byte[] dst, int dstIndex) {
                return 64; // Simulate header writing
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                // We need to override the parent ServerMessageBlock2's encode
                // to properly simulate setting the length field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectArrays.java

          @Nullable Object[] src, int offset, int len, T[] dst) {
        checkPositionIndexes(offset, offset + len, src.length);
        if (dst.length < len) {
          dst = newArray(dst, len);
        } else if (dst.length > len) {
          @Nullable Object[] unsoundlyCovariantArray = dst;
          unsoundlyCovariantArray[len] = null;
        }
        arraycopy(src, offset, dst, 0, len);
        return dst;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        }
    
        @Test
        void testWriteSetupWireFormat() {
            byte[] dst = new byte[100];
            int result = response.writeSetupWireFormat(dst, 0);
            assertEquals(0, result);
        }
    
        @Test
        void testWriteParametersWireFormat() {
            byte[] dst = new byte[100];
            int result = response.writeParametersWireFormat(dst, 0);
            assertEquals(0, result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.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
    - 4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/RC4.java

         * @param soff the offset in the source array
         * @param slen the length of data to process
         * @param dst the destination array for the result
         * @param doff the offset in the destination array
         */
        public void update(final byte[] src, int soff, final int slen, final byte[] dst, int doff) {
            int slim = soff + slen;
            while (soff < slim) {
                i = i + 1 & 0xff;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            // Test encode method
            byte[] dst = new byte[512];
            int dstIndex = 0;
            int expectedEncodeLength = 64;
            when(response.encode(dst, dstIndex)).thenReturn(expectedEncodeLength);
            assertEquals(expectedEncodeLength, response.encode(dst, dstIndex));
    
            // Test digest methods
            doNothing().when(response).setDigest(digest);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top