Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 1,385 for BYTE (0.16 sec)

  1. src/main/java/jcifs/util/transport/Message.java

        /**
         * Gets the raw payload of the message.
         *
         * @return the raw response message
         */
        byte[] getRawPayload();
    
        /**
         * Sets the raw payload of the message.
         *
         * @param rawPayload the raw message payload to set
         */
        void setRawPayload(byte[] rawPayload);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/UUID.java

            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
                value >>>= 4;
            }
            return new String(arr);
        }
    
        private static byte B(final int i) {
            return (byte) (i & 0xFF);
        }
    
        private static short S(final int i) {
            return (short) (i & 0xFFFF);
        }
    
        /**
         * Constructs a UUID from an existing rpc.uuid_t object
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            // Channel binding requires SMB2_SESSION_FLAG_BINDING (0x01) in session setup
    
            // Calculate channel binding hash per MS-SMB2 3.2.5.3.1
            byte[] bindingInfo = calculateBindingInfo(channel);
            byte[] bindingHash = calculateBindingHash(bindingInfo);
            channel.setBindingHash(bindingHash);
    
            // Create session setup request with binding flag
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

            return shareAccessHint;
        }
    
        @Override
        protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
            // Lease break notifications are sent by the server, not written by client
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

    import jcifs.internal.util.SMBUtil;
    
    @DisplayName("Smb2Lock Test")
    class Smb2LockTest {
    
        private Smb2Lock lock;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[128];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

        // Input parameters for WitnessAsyncNotify
        private byte[] contextHandle;
    
        // Output parameters for WitnessAsyncNotify
        private List<WitnessNotificationResponse> notifications;
    
        /**
         * Creates a new WitnessAsyncNotify RPC message.
         */
        public WitnessAsyncNotifyMessage() {
            super(WITNESS_ASYNC_NOTIFY);
            this.contextHandle = new byte[20];
            this.notifications = new ArrayList<>();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/NotifyResponseTest.java

            }
    
            @Override
            public void setRawPayload(byte[] rawPayload) {
                this.rawPayload = rawPayload;
            }
    
            @Override
            public boolean verifySignature(byte[] buffer, int i, int size) {
                // Mock implementation
                return true;
            }
    
            @Override
            public byte[] getRawPayload() {
                return this.rawPayload;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @Test
        @DisplayName("Test array bounds validation")
        void testArrayBounds() {
            byte[] src = new byte[100];
            byte[] dst = new byte[100];
    
            assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 0, dst, 0, 100));
            assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 50, dst, 50, 50));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        /**
         * Get channel binding hash
         *
         * @return binding hash bytes
         */
        public byte[] getBindingHash() {
            return bindingHash;
        }
    
        /**
         * Set channel binding hash
         *
         * @param bindingHash binding hash bytes
         */
        public void setBindingHash(byte[] bindingHash) {
            this.bindingHash = bindingHash;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/CredentialsInternalTest.java

            }
    
            @Override
            public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning)
                    throws SmbException {
                // Validate required argument and interact with the provided CIFSContext
                if (tc == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top