Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 1,541 for bytes (0.26 sec)

  1. internal/config/bool-flag_test.go

    	testCases := []struct {
    		data           []byte
    		expectedResult BoolFlag
    		expectedErr    bool
    	}{
    		{[]byte(`{}`), BoolFlag(false), true},
    		{[]byte(`["on"]`), BoolFlag(false), true},
    		{[]byte(`"junk"`), BoolFlag(false), true},
    		{[]byte(`""`), BoolFlag(true), false},
    		{[]byte(`"on"`), BoolFlag(true), false},
    		{[]byte(`"off"`), BoolFlag(false), false},
    		{[]byte(`"true"`), BoolFlag(true), false},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

    
    /**
     * @author mbechler
     *
     */
    public class SrvCopychunkCopy implements Encodable {
    
        private final byte[] sourceKey;
        private final SrvCopychunk[] chunks;
    
    
        /**
         * @param sourceKey
         * @param chunks
         * 
         */
        public SrvCopychunkCopy ( byte[] sourceKey, SrvCopychunk... chunks ) {
            this.sourceKey = sourceKey;
            this.chunks = chunks;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java

         */
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(4, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2);
            return 4;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java

    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(this.sid, dst, dstIndex);
            return 2;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndXResponse.java

        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            this.count = SMBUtil.readInt2(buffer, bufferIndex) & 0xFFFFL;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameQueryResponse.java

            recordName = new Name();
        }
    
        int writeBodyWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readBodyWireFormat( byte[] src, int srcIndex ) {
            return readResourceRecordWireFormat( src, srcIndex );
        }
        int writeRDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readRDataWireFormat( byte[] src, int srcIndex ) {
            if( resultCode != 0 || opCode != QUERY ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

        SmbComNtTransactionResponse() {
            super();
        }
    
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            buffer[bufferIndex++] = (byte)0x00;        // Reserved
            buffer[bufferIndex++] = (byte)0x00;        // Reserved
            buffer[bufferIndex++] = (byte)0x00;        // Reserved
    
            totalParameterCount = readInt4( buffer, bufferIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java

         */
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt2(4, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2);
            return 4;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java

        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            this.count = SMBUtil.readInt2(buffer, bufferIndex) & 0xFFFFL;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
Back to top