Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 284 for mistle (0.04 sec)

  1. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        @Test
        @DisplayName("readULong correctly interprets little endian")
        void testReadULong() {
            byte[] a = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04 };
            int result = NtlmMessage.readULong(a, 0);
            assertEquals(0x04030201, result, "ULong should be little‑endian");
        }
    
        @Test
        @DisplayName("readUShort correctly interprets little endian")
        void testReadUShort() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Encdec.java

        /**
         * Time encoding type: 1970 epoch, 32-bit seconds, little-endian.
         */
        public static final int TIME_1970_SEC_32LE = 2;
    
        /**
         * Time encoding type: 1904 epoch, 32-bit seconds, big-endian.
         */
        public static final int TIME_1904_SEC_32BE = 3;
    
        /**
         * Time encoding type: 1904 epoch, 32-bit seconds, little-endian.
         */
        public static final int TIME_1904_SEC_32LE = 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeChar(int v) throws IOException {
        writeShort(v);
      }
    
      /**
       * Writes a {@code String} as specified by {@link DataOutputStream#writeChars(String)}, except
       * each character is written using little-endian byte order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacDataInputStreamTest.java

        @Test
        public void testReadShort() throws IOException {
            // Little-endian 0x1234 -> 0x34 0x12
            byte[] data = new byte[] { 0x34, 0x12, 0x00, 0x00 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals((short) 0x1234, pdis.readShort());
        }
    
        @Test
        public void testReadInt() throws IOException {
            // Little-endian 0x12345678 -> 0x78 0x56 0x34 0x12
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeTest.java

            ExtendedSmbTree middle = smbTree.unwrap(ExtendedSmbTree.class);
            CustomSmbTree inner = middle.unwrap(CustomSmbTree.class);
    
            assertNotNull(middle, "Middle tree should not be null");
            assertNotNull(inner, "Inner tree should not be null");
            assertSame(middleTree, middle, "Should return correct middle tree");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. docs/security/security_providers.md

    | [GraalVM]        | ✅      |              | [OpenJDK]       | Only actively tested with JDK 11, not with 8 target          |
    | [Bouncy Castle]  | ✅      |              | [Bouncy Castle] | [Tracking bug.][bug5698]                                     |
    | [Conscrypt]      | ✅      | ✅           | [BoringSSL]     | Activated if Conscrypt is first registered provider.         |
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/util/StringUtilTest.java

        void testJoinWithEmptyStringElements() {
            String result = StringUtil.join(",", "", "middle", "");
            // First element is empty string (sb becomes "")
            // Second: sb.length() is 0, no delimiter, append "middle" (sb becomes "middle")
            // Third: sb.length() > 0, add delimiter + "" (sb becomes "middle,")
            assertEquals("middle,", result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Encdec.java

            dst[di++] = (byte) (i >> 16 & 0xFF);
            dst[di++] = (byte) (i >> 8 & 0xFF);
            dst[di] = (byte) (i & 0xFF);
            return 4;
        }
    
        /**
         * Encodes a 16-bit unsigned integer in little-endian byte order.
         *
         * @param s the short value to encode
         * @param dst the destination byte array
         * @param di the starting index in the destination array
         * @return the number of bytes written (2)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Reserved (2 bytes)
            buffer[index++] = 0;
            buffer[index++] = 0;
    
            // Flags (2 bytes) - little-endian
            int flags = 0x0001;
            buffer[index++] = (byte) (flags & 0xFF);
            buffer[index++] = (byte) ((flags >> 8) & 0xFF);
    
            // Session ID (8 bytes) - little-endian
            buffer[index++] = (byte) (testSessionId & 0xFF);
            buffer[index++] = (byte) ((testSessionId >> 8) & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/util/SMBUtil.java

    public class SMBUtil {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private SMBUtil() {
        }
    
        /**
         * Writes a 16-bit integer value to a byte array in little-endian format
         * @param val the value to write
         * @param dst the destination byte array
         * @param dstIndex the starting index in the destination array
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top