Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for writeULong (0.18 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                byte[] type1 = new byte[hostInfo ?
                        (32 + domain.length + workstation.length) : 16];
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, 8);
                writeULong(type1, 8, 1);
                writeULong(type1, 12, flags);
                if (hostInfo) {
                    writeSecurityBuffer(type1, 16, 32, domain);
                    writeSecurityBuffer(type1, 24, 32 + domain.length, workstation);
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type1Message.java

                int pos = 0;
    
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, NTLMSSP_SIGNATURE.length);
                pos += NTLMSSP_SIGNATURE.length;
    
                writeULong(type1, pos, NTLMSSP_TYPE1);
                pos += 4;
    
                writeULong(type1, pos, flags);
                pos += 4;
    
                int domOffOff = writeSecurityBuffer(type1, pos, domain);
                pos += 8;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Sep 02 12:55:08 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

            int offset = readULong(src, index + 4);
            byte[] buffer = new byte[length];
            System.arraycopy(src, offset, buffer, 0, length);
            return buffer;
        }
    
        static void writeULong(byte[] dest, int offset, int ulong) {
            dest[offset] = (byte) (ulong & 0xff);
            dest[offset + 1] = (byte) (ulong >> 8 & 0xff);
            dest[offset + 2] = (byte) (ulong >> 16 & 0xff);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/NtlmMessage.java

            int offset = readULong(src, index + 4);
            byte[] buffer = new byte[length];
            System.arraycopy(src, offset, buffer, 0, length);
            return buffer;
        }
    
    
        static void writeULong ( byte[] dest, int offset, int ulong ) {
            dest[ offset ] = (byte) ( ulong & 0xff );
            dest[ offset + 1 ] = (byte) ( ulong >> 8 & 0xff );
            dest[ offset + 2 ] = (byte) ( ulong >> 16 & 0xff );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

            pos += NTLMSSP_SIGNATURE.length;
    
            writeULong(type2, pos, NTLMSSP_TYPE2);
            pos += 4;
    
            // TargetNameFields
            int targetNameOff = writeSecurityBuffer(type2, pos, targetBytes);
            pos += 8;
    
            writeULong(type2, pos, flags);
            pos += 4;
    
            // ServerChallenge
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                        (targetInformation != null ? targetInformation.length : 0)];
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type2, 0, 8);
                writeULong(type2, 8, 2);
                writeSecurityBuffer(type2, 12, data, target);
                writeULong(type2, 20, flags);
                System.arraycopy(challenge != null ? challenge : new byte[8], 0,
                        type2, 24, 8);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                byte[] type3 = new byte[64 + domainLength + userLength +
                        workstationLength + lmLength + ntLength + keyLength];
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type3, 0, 8);
                writeULong(type3, 8, 3);
                int offset = 64;
                writeSecurityBuffer(type3, 12, offset, lmResponse);
                offset += lmLength;
                writeSecurityBuffer(type3, 20, offset, ntResponse);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type3Message.java

            byte[] type3 = new byte[size];
            int pos = 0;
    
            System.arraycopy(NTLMSSP_SIGNATURE, 0, type3, 0, 8);
            pos += 8;
    
            writeULong(type3, pos, NTLMSSP_TYPE3);
            pos += 4;
    
            int lmOff = writeSecurityBuffer(type3, 12, lmResponseBytes);
            pos += 8;
            int ntOff = writeSecurityBuffer(type3, 20, ntResponseBytes);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 30.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      @Throws(IOException::class)
      fun writePing(payload: ByteString) {
        writeControlFrame(OPCODE_CONTROL_PING, payload)
      }
    
      /** Send a pong with the supplied [payload]. */
      @Throws(IOException::class)
      fun writePong(payload: ByteString) {
        writeControlFrame(OPCODE_CONTROL_PONG, payload)
      }
    
      /**
       * Send a close frame with optional code and reason.
       *
       * @param code Status code as defined by
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

        out.write(0xFF & (v >> 24));
      }
    
      /**
       * Writes a {@code long} as specified by {@link DataOutputStream#writeLong(long)}, except using
       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeLong(long v) throws IOException {
        byte[] bytes = Longs.toByteArray(Long.reverseBytes(v));
        write(bytes, 0, bytes.length);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 5.2K bytes
    - Viewed (0)
Back to top