Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 286 for dstIndex (0.08 sec)

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

         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(4, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashMap.java

            // here, entries[entryIndex] points to the old entry location; update it
            entries[entryIndex] = CompactHashing.maskCombine(entry, dstIndex + 1, mask);
          }
        } else {
          keys[dstIndex] = null;
          values[dstIndex] = null;
          entries[dstIndex] = 0;
        }
      }
    
      int firstEntryIndex() {
        return isEmpty() ? -1 : 0;
      }
    
      int getSuccessor(int entryIndex) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            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
                int start = dstIndex;
                dstIndex += writeHeaderWireFormat(dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            byte[] buffer = new byte[64];
            int dstIndex = 8;
    
            // When
            int bytesEncoded = info.encode(buffer, dstIndex);
    
            // Then
            assertEquals(40, bytesEncoded); // Should encode 40 bytes
            // Use SMBUtil to read times back properly
            assertEquals(TEST_CREATE_TIME, SMBUtil.readTime(buffer, dstIndex));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

        @Override
        public long getSize() {
            return fileSize;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            if (wordCount == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/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(int val, final char dst[], final int dstIndex, int size) {
            while (size > 0) {
                final int i = dstIndex + size - 1;
                if (i < dst.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

        }
    
        /**
         * Encode to byte array for SMB2 READ/WRITE channel info
         *
         * @param dst destination buffer
         * @param dstIndex starting index
         * @return number of bytes written
         */
        public int encode(byte[] dst, int dstIndex) {
            return transform.encode(dst, dstIndex);
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/CommonServerMessageBlock.java

        /**
         * Encodes this message into a byte array.
         *
         * @param dst the destination byte array
         * @param dstIndex the starting index in the destination array
         * @return message length
         */
        int encode(byte[] dst, int dstIndex);
    
        /**
         * Sets the signing digest for this message.
         *
         * @param digest the signing digest to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            }
    
            return pad + parameterCount + pad1 + dataCount;
        }
    
        abstract int writeSetupWireFormat(byte[] dst, int dstIndex);
    
        abstract int writeParametersWireFormat(byte[] dst, int dstIndex);
    
        abstract int writeDataWireFormat(byte[] dst, int dstIndex);
    
        abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            // Arrange
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
            byte[] dst = new byte[10];
            int dstIndex = 0;
    
            // Act
            int bytesWritten = transWaitNamedPipe.writeSetupWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top