Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 234 for writeInt8 (0.05 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(mapInformationLevel(this.informationLevel), dst, dstIndex);
            dstIndex += 2;
    
            /*
             * windows98 has what appears to be another 4 0's followed by the share
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                final int index = offset + SmbConstants.SIGNATURE_OFFSET;
                for (int i = 0; i < 8; i++) {
                    data[index + i] = 0;
                }
                ServerMessageBlock.writeInt4(signSequence, data, index);
                update(data, offset, length);
                System.arraycopy(digest(), 0, data, index, 8);
                if (bypass) {
                    bypass = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

            dstIndex += 8;
            SMBUtil.writeTime(this.lastWriteTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeTime(this.changeTime, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.attributes, dst, dstIndex);
            dstIndex += 4;
            dstIndex += 4;
            return dstIndex - start;
        }
    
        @Override
        public String toString() {
    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/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

        void testReadParametersWireFormat() throws Exception {
            byte[] buffer = new byte[100];
            int expectedLength = 0x12345678;
    
            // Write length in little-endian format
            SMBUtil.writeInt4(expectedLength, buffer, 0);
    
            int result = response.readParametersWireFormat(buffer, 0, buffer.length);
    
            assertEquals(4, result);
    
            // Access private field to verify length was set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
            SMBUtil.writeInt4(this.chunks.length, dst, dstIndex);
            dstIndex += 4;
    
            dstIndex += 4; // Reserved
    
            for (final SrvCopychunk chk : this.chunks) {
                dstIndex += chk.encode(dst, dstIndex);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java

            super(config, SMB_COM_FIND_CLOSE2);
            this.sid = sid;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            SMBUtil.writeInt2(this.sid, dst, dstIndex);
            return 2;
        }
    
        @Override
        protected int writeBytesWireFormat(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.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipe.java

        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            // this says "Transaction priority" in netmon
            writeInt2(fid, dst, dstIndex);
            return 4;
        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComDelete.java

        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
            return 2;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

      }
    
      @Test
      fun writeSingleByteInt() {
        hpackWriter!!.writeInt(10, 31, 0)
        assertBytes(10)
        hpackWriter!!.writeInt(10, 31, 0xe0)
        assertBytes(0xe0 or 10)
      }
    
      @Test
      fun writeMultibyteInt() {
        hpackWriter!!.writeInt(1337, 31, 0)
        assertBytes(31, 154, 10)
        hpackWriter!!.writeInt(1337, 31, 0xe0)
        assertBytes(0xe0 or 31, 154, 10)
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java

            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            writeInt2(maxReferralLevel, dst, dstIndex);
            dstIndex += 2;
            dstIndex += writeString(path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top