Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for eniyan (0.04 sec)

  1. 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)
  2. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

        }
    
        @Test
        public void testToStringContainsCount() {
            // Little-endian: count = 512 (0x0200)
            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x02; // count = 512 in little-endian
            resp.readParameterWordsWireFormat(buf, 0);
            String str = resp.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashCode.java

       * is big-endian or little-endian depends on the byte order of {@link #asBytes}. This may be
       * surprising for implementations of {@code HashCode} that represent the number in big-endian
       * since everything else in the hashing API uniformly treats multibyte values as little-endian.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            String msg = "\u00A1\u00A2"; // two Unicode characters
            byte[] encoded = encodeUnicode(msg);
            assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes");
    
            // Verify little-endian encoding
            assertEquals((byte) 0xA1, encoded[0], "First byte of first character");
            assertEquals((byte) 0x00, encoded[1], "Second byte of first character");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertEquals(1, buffer[0]); // hash algo count (little endian)
                assertEquals(0, buffer[1]);
                assertEquals(8, buffer[2]); // salt length (little endian)
                assertEquals(0, buffer[3]);
                assertEquals(1, buffer[4]); // SHA512 hash algo (little endian)
                assertEquals(0, buffer[5]);
                assertArrayEquals(testSalt, Arrays.copyOfRange(buffer, 6, 14));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/LittleEndianByteArray.java

            // The hardware is big-endian, so we need to reverse the order of the bytes.
            return Long.reverseBytes(bigEndian);
          }
    
          @Override
          public void putLongLittleEndian(byte[] array, int offset, long value) {
            // Reverse the order of the bytes before storing, since we're on big-endian hardware.
            long littleEndianValue = Long.reverseBytes(value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacDataInputStream.java

         * @return the short value in little-endian format
         * @throws IOException if an I/O error occurs
         */
        public short readShort() throws IOException {
            align(2);
            return Short.reverseBytes(this.dis.readShort());
        }
    
        /**
         * Reads a 32-bit integer value with proper alignment and byte order.
         * @return the integer value in little-endian format
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            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)
  9. android/guava/src/com/google/common/base/Charsets.java

      /**
       * UTF-16BE: sixteen-bit UCS Transformation Format, big-endian byte order.
       *
       * @deprecated Use {@link StandardCharsets#UTF_16BE} instead.
       */
      @Deprecated @J2ktIncompatible @GwtIncompatible // Charset not supported by GWT
      public static final Charset UTF_16BE = StandardCharsets.UTF_16BE;
    
      /**
       * UTF-16LE: sixteen-bit UCS Transformation Format, little-endian byte order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

            byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian)
            AvFlags avFlags = new AvFlags(rawBytes);
            assertNotNull(avFlags, "AvFlags object should not be null");
            assertEquals(0x04030201, avFlags.getFlags(), "Flags should match the raw bytes (little-endian)");
    
            // Test with zero
            byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top