Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for writeline (0.37 sec)

  1. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       * 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);
      }
    
      /**
       * Writes a {@code short} as specified by {@link DataOutputStream#writeShort(int)}, except using
    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)
  2. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

      }
    
      public void testNewDataOutput_writeInt() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeInt(0x12345678);
        out.writeInt(0x76543210);
        assertThat(out.toByteArray()).isEqualTo(bytes);
      }
    
      public void testNewDataOutput_sized() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput(4);
        out.writeInt(0x12345678);
        out.writeInt(0x76543210);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
              Buffer().writeLong(0L).writeLong(it).readByteArray(),
            )
          }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.StartTime)
    	if err != nil {
    		err = msgp.WrapError(err, "StartTime")
    		return
    	}
    	// write "EndTime"
    	err = en.Append(0xa7, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.EndTime)
    	if err != nil {
    		err = msgp.WrapError(err, "EndTime")
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 61.1K bytes
    - Viewed (0)
  5. cmd/local-locker_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.Timestamp)
    	if err != nil {
    		err = msgp.WrapError(err, "Timestamp")
    		return
    	}
    	// write "TimeLastRefresh"
    	err = en.Append(0xaf, 0x54, 0x69, 0x6d, 0x65, 0x4c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.TimeLastRefresh)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. internal/config/cache/remote_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.ModTime)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	// write "StatusCode"
    	err = en.Append(0xaa, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.StatusCode)
    	if err != nil {
    		err = msgp.WrapError(err, "StatusCode")
    		return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteStreamsTest.java

      }
    
      public void testNewDataOutput_writeInt() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeInt(0x12345678);
        out.writeInt(0x76543210);
        assertThat(out.toByteArray()).isEqualTo(bytes);
      }
    
      public void testNewDataOutput_sized() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput(4);
        out.writeInt(0x12345678);
        out.writeInt(0x76543210);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v1_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.PartNumber)
    	if err != nil {
    		err = msgp.WrapError(err, "PartNumber")
    		return
    	}
    	// write "Algorithm"
    	err = en.Append(0xa9, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d)
    	if err != nil {
    		return
    	}
    	err = en.WriteUint(uint(z.Algorithm))
    	if err != nil {
    		err = msgp.WrapError(err, "Algorithm")
    		return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 40.2K bytes
    - Viewed (0)
  9. cmd/batch-handlers_gen.go

    	}
    	// write "st"
    	err = en.Append(0xa2, 0x73, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.StartTime)
    	if err != nil {
    		err = msgp.WrapError(err, "StartTime")
    		return
    	}
    	// write "lu"
    	err = en.Append(0xa2, 0x6c, 0x75)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.LastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "LastUpdate")
    		return
    	}
    	// write "ra"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 07 18:58:22 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  10. 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));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top