Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,386 for Byte (0.01 sec)

  1. src/test/java/jcifs/util/transport/MessageTest.java

            // Set a new payload and verify
            byte[] payload1 = "test_payload_1".getBytes();
            message.setRawPayload(payload1);
            assertArrayEquals(payload1, message.getRawPayload(), "getRawPayload should return the set payload");
    
            // Set another payload and verify
            byte[] payload2 = new byte[] { 1, 2, 3, 4, 5 };
            message.setRawPayload(payload2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. cmd/hasher.go

    func getSHA256Hash(data []byte) string {
    	return hex.EncodeToString(getSHA256Sum(data))
    }
    
    // getSHA256Hash returns SHA-256 sum of given data.
    func getSHA256Sum(data []byte) []byte {
    	hash := sha256.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    // getMD5Sum returns MD5 sum of given data.
    func getMD5Sum(data []byte) []byte {
    	hash := md5.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 27 13:00:19 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

        }
    
        @Override
        public byte[] getSessionKey() throws CIFSException {
            return this.handle.getSessionKey();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.dcerpc.DcerpcHandle#doSendReceiveFragment(byte[], int, int, byte[])
         */
        @Override
        protected int doSendReceiveFragment(final byte[] buf, final int off, final int length, final byte[] inB) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransWaitNamedPipeResponse.java

        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

        public long getFree() {
            return this.free * this.sectPerAlloc * this.bytesPerSect;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            // Read total allocation units.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/io/ContentCache.java

        /**
         * A byte array that holds the cached content data.
         */
        private final byte[] data;
    
        /**
         * The file that is used to cache the content.
         */
        private final File file;
    
        /**
         * Constructs a ContentCache with the given byte array data.
         *
         * @param data the byte array containing the content
         */
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(25, dst, dstIndex);
    
            dst[dstIndex + 2] = (byte) (this.sessionBinding ? 0x1 : 0);
            dst[dstIndex + 3] = (byte) this.securityMode;
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

     *
     * @author mbechler
     */
    public class AvTimestamp extends AvPair {
    
        /**
         * Constructs an AvTimestamp from raw byte data
         *
         * @param raw the raw byte data for the timestamp AV pair
         */
        public AvTimestamp(final byte[] raw) {
            super(AvPair.MsvAvTimestamp, raw);
        }
    
        /**
         * Constructs an AvTimestamp with the specified timestamp value
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipeResponse.java

        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            if (len < 32) {
                throw new SMBProtocolDecodingException("Lease V1 context data too short: " + len);
            }
    
            // Read lease V1 data (32 bytes)
            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top