Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 131 for writeline (0.2 sec)

  1. src/bufio/bufio_test.go

    	rfw := &readFromWriter{}
    	w := NewWriterSize(rfw, bufsize)
    
    	const writeSize = 8
    	if n, err := w.Write(input[:writeSize]); n != writeSize || err != nil {
    		t.Errorf("w.Write(%v bytes) = %v, %v; want %v, nil", writeSize, n, err, writeSize)
    	}
    	n, err := w.ReadFrom(bytes.NewReader(input[writeSize:]))
    	if wantn := len(input[writeSize:]); int(n) != wantn || err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.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: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  5. 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)
  6. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      private val maskCursor: Buffer.UnsafeCursor? = if (isClient) Buffer.UnsafeCursor() else null
    
      /** Send a ping with the supplied [payload]. */
      @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) {
    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)
  9. cmd/background-newdisks-heal-ops_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.Started)
    	if err != nil {
    		err = msgp.WrapError(err, "Started")
    		return
    	}
    	// write "LastUpdate"
    	err = en.Append(0xaa, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.LastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "LastUpdate")
    		return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 28 17:05:40 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteStreams.java

          }
        }
    
        @Override
        public void writeInt(int v) {
          try {
            output.writeInt(v);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void writeLong(long v) {
          try {
            output.writeLong(v);
          } catch (IOException impossible) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
Back to top