Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for writeline (0.21 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            // ensure file is open
            if( file.isOpen() == false ) {
                file.open( openFlags, 0, SmbFile.ATTR_NORMAL, options );
            }
    
            int w;
            do {
                w = len > writeSize ? writeSize : len;
                file.send( new SmbComWriteAndX( file.fid, fp, len - w, b, off, w, null ), write_andx_resp );
                fp += write_andx_resp.count;
                len -= write_andx_resp.count;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            // ensure file is open
            try ( SmbFileHandleImpl fh = ensureOpen();
                  SmbTreeHandleImpl th = fh.getTree() ) {
                int w;
                do {
                    w = len > this.writeSize ? this.writeSize : len;
                    long cnt;
    
                    if ( th.isSMB2() ) {
                        Smb2WriteRequest request = new Smb2WriteRequest(th.getConfig(), fh.getFileId());
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  3. 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 19 12:43:09 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  4. 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 Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

      void writeBoolean(boolean v);
    
      @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
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.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/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 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 13.8K bytes
    - Viewed (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));
      }
    
    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)
  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