Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 30 for writeULong (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadVLongBenchmark.java

        public void initResults() throws IOException {
            final BytesStreamOutput tmp = new BytesStreamOutput();
            for (int i = 0; i < entries / 2; i++) {
                tmp.writeVLong(i);
            }
            for (int i = 0; i < entries / 2; i++) {
                tmp.writeVLong(Long.MAX_VALUE - i);
            }
            BytesReference bytesArray = tmp.copyBytes();
            if (bytesArray instanceof BytesArray == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVLongBenchmark.java

        public void initResults() throws IOException {
            final BytesStreamOutput tmp = new BytesStreamOutput();
            for (int i = 0; i < entries / 2; i++) {
                tmp.writeVLong(i);
            }
            for (int i = 0; i < entries / 2; i++) {
                tmp.writeVLong(Long.MAX_VALUE - i);
            }
            BytesReference pagedBytes = tmp.bytes();
            if (pagedBytes instanceof PagedBytesReference == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  7. 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)
  8. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadLongBenchmark.java

            final BytesStreamOutput tmp = new BytesStreamOutput();
            final long bytes = new ByteSizeValue(dataMb, ByteSizeUnit.MB).getBytes();
            for (int i = 0; i < bytes / 8; i++) {
                tmp.writeLong(i);
            }
            bytesArray = tmp.copyBytes();
            if (bytesArray instanceof BytesArray == false) {
                throw new AssertionError("expected BytesArray but saw [" + bytesArray.getClass() + "]");
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  9. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadLongBenchmark.java

            final BytesStreamOutput tmp = new BytesStreamOutput();
            final long bytes = new ByteSizeValue(dataMb, ByteSizeUnit.MB).getBytes();
            for (int i = 0; i < bytes / 8; i++) {
                tmp.writeLong(i);
            }
            pagedBytes = tmp.bytes();
            if (pagedBytes instanceof PagedBytesReference == false) {
                throw new AssertionError("expected PagedBytesReference but saw [" + pagedBytes.getClass() + "]");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.3K 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