Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 344 for 0xff (0.04 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationTest.java

            byte[] responseBuffer = negotiation.getResponseRaw();
    
            // Modify the buffers
            requestBuffer[0] = (byte) 0xFF;
            responseBuffer[0] = (byte) 0xEE;
    
            // Verify modifications are reflected
            assertEquals((byte) 0xFF, negotiation.getRequestRaw()[0]);
            assertEquals((byte) 0xEE, negotiation.getResponseRaw()[0]);
        }
    
        @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)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

        @Test
        @DisplayName("Test readDataWireFormat with unsupported information level")
        void testReadDataWireFormatWithUnsupportedLevel() throws SMBProtocolDecodingException {
            byte unsupportedLevel = (byte) 0xFF;
            response = new Trans2QueryPathInformationResponse(mockConfig, unsupportedLevel);
    
            byte[] buffer = new byte[100];
            response.setDataCount(buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/NegTokenInitTest.java

            ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB_LEGACY };
            int flags = NegTokenInit.REPLAY_DETECTION | NegTokenInit.SEQUENCE_CHECKING;
            byte[] mic = new byte[] { 0x00, 0x0A, (byte) 0xFF };
    
            NegTokenInit init = new NegTokenInit(mechs, flags, null, mic);
            String s = init.toString();
    
            assertTrue(s.contains("flags=" + flags), "toString should include flags");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrShort.java

        public int value;
    
        /**
         * Constructs an NdrShort with the specified value.
         *
         * @param value the short integer value
         */
        public NdrShort(final int value) {
            this.value = value & 0xFF;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_short(this.value);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/ndr/NdrShort.java

        public int value;
    
        /**
         * Constructs an NdrShort with the specified value.
         *
         * @param value the short integer value
         */
        public NdrShort(final int value) {
            this.value = value & 0xFF;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_short(value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

        byte[] col2 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x81};
        byte[] col3 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0xff};
    
        ImmutableSet<HashCode> hashCodes =
            ImmutableSet.of(
                SIP_WITH_KEY.hashBytes(col1),
                SIP_WITH_KEY.hashBytes(col2),
                SIP_WITH_KEY.hashBytes(col3));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Given
                byte[] buffer = new byte[10];
                // Write -1 which will be read as 65535 unsigned
                buffer[0] = (byte) 0xFF;
                buffer[1] = (byte) 0xFF;
    
                // When & Then
                SMBProtocolDecodingException exception =
                        assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Random but realistic GUID
            byte[] testGuid = { (byte) 0x01, (byte) 0x23, (byte) 0x45, (byte) 0x67, (byte) 0x89, (byte) 0xAB, (byte) 0xCD, (byte) 0xEF,
                    (byte) 0xFE, (byte) 0xDC, (byte) 0xBA, (byte) 0x98, (byte) 0x76, (byte) 0x54, (byte) 0x32, (byte) 0x10 };
    
            // Security mode with signing required
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                switch (sbuf[0] & 0xFF) {
                case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                    if (LogStream.level >= 4) {
                        log.println("session established ok with " + address);
                    }
                    return;
                case SessionServicePacket.NEGATIVE_SESSION_RESPONSE:
                    final int errorCode = in.read() & 0xFF;
                    switch (errorCode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

            assertEquals("Pattern_V1", CompressionNegotiateContext.getAlgorithmName(CompressionNegotiateContext.COMPRESSION_PATTERN_V1));
            assertTrue(CompressionNegotiateContext.getAlgorithmName(0xFF).startsWith("Unknown"));
        }
    
        @Test
        @DisplayName("Test empty algorithms context")
        public void testEmptyAlgorithms() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top