Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 34 for writeULong (0.09 seconds)

  1. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                Type2Message.writeULong(truncatedMessage, 8, Type2Message.NTLMSSP_TYPE2);
                // Set empty target name buffer
                Type2Message.writeUShort(truncatedMessage, 12, 0); // length
                Type2Message.writeUShort(truncatedMessage, 14, 0); // max length
                Type2Message.writeULong(truncatedMessage, 16, 48); // offset (past the end)
                // Set flags
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

      }
    
      /**
       * 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 {
        ((DataOutputStream) out).writeLong(Long.reverseBytes(v));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/InfoTest.java

            long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
            writeLong(buffer, 0, (create + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);
            writeLong(buffer, 8, (lastAccess + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);
            writeLong(buffer, 16, (lastWrite + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);
            writeLong(buffer, 24, (change + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

                dos.writeInt(Integer.reverseBytes(10));
                dos.writeLong(Long.reverseBytes(100));
    
                dos.writeInt(Integer.reverseBytes(PacConstants.SERVER_CHECKSUM));
                dos.writeInt(Integer.reverseBytes(16));
                dos.writeLong(Long.reverseBytes(200));
    
                dos.writeInt(Integer.reverseBytes(PacConstants.PRIVSVR_CHECKSUM));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
              Buffer().writeLong(0L).writeLong(it).readByteArray(),
            )
          }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:20:29 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt

        assertData("898560b420bb28d14cd70f")
      }
    
      @Test fun serverEmptyPong() {
        serverWriter.writePong(EMPTY)
        assertData("8a00")
      }
    
      @Test fun clientEmptyPong() {
        clientWriter.writePong(EMPTY)
        assertData("8a8060b420bb")
      }
    
      @Test fun serverPongWithPayload() {
        serverWriter.writePong("Hello".encodeUtf8())
        assertData("8a0548656c6c6f")
      }
    
      @Test fun clientPongWithPayload() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 9.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

      @Override
      void writeByte(int v);
    
      @Override
      void writeShort(int v);
    
      @Override
      void writeChar(int v);
    
      @Override
      void writeInt(int v);
    
      @Override
      void writeLong(long v);
    
      @Override
      void writeFloat(float v);
    
      @Override
      void writeDouble(double v);
    
      @Override
      void writeChars(String s);
    
      @Override
      void writeUTF(String s);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 20:25:25 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
        out.writeDouble(Double.longBitsToDouble(0xDEADBEEFCAFEBABEL));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

      fun writeBoolean(b: Boolean) {
        sink().writeByte(if (b) -1 else 0)
      }
    
      fun writeBigInteger(value: BigInteger) {
        sink().write(value.toByteArray())
      }
    
      fun writeLong(v: Long) {
        val sink = sink()
    
        val lengthBitCount: Int =
          if (v < 0L) {
            65 - java.lang.Long.numberOfLeadingZeros(v xor -1L)
          } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top