- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,592 for Pwrite (1.05 sec)
-
android/guava-tests/test/com/google/common/io/CharSourceTester.java
Reader reader = source.openStream(); StringWriter writer = new StringWriter(); char[] buf = new char[64]; int read; while ((read = reader.read(buf)) != -1) { writer.write(buf, 0, read); } reader.close(); writer.close(); assertExpectedString(writer.toString()); } public void testOpenBufferedStream() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.9K bytes - Viewed (0) -
cmd/bucket-replication-utils_gen.go
// EncodeMsg implements msgp.Encodable func (z *BucketReplicationResyncStatus) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 4 // write "v" err = en.Append(0x84, 0xa1, 0x76) if err != nil { return } err = en.WriteInt(z.Version) if err != nil { err = msgp.WrapError(err, "Version") return } // write "brs" err = en.Append(0xa3, 0x62, 0x72, 0x73) if err != nil { return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 03 06:45:06 UTC 2025 - 59.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
* @return The number of bytes written. */ public static int write(final FileChannel channel, final ByteBuffer buffer, final long position) { assertArgumentNotNull("channel", channel); assertArgumentNotNull("buffer", buffer); try { return channel.write(buffer, position); } catch (final IOException e) { throw new IORuntimeException(e);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
} return buffer[bufferIndex] & 0xFF; } int type, length; /** * Writes the packet to the specified byte array in wire format. * * @param dst the destination byte array to write to * @param dstIndex the starting index in the destination array * @return written bytes */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/util/Hexdump.java
/** * Converts a long value to hexadecimal characters and writes them to the specified character array. * * @param val the long value to convert to hexadecimal characters * @param dst the destination character array to write the hex digits into * @param dstIndex the starting index in the destination array * @param size the number of hex digits to write (will be left-padded with zeros) */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
cmd/metacache_gen.go
} // EncodeMsg implements msgp.Encodable func (z *metacache) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 13 // write "end" err = en.Append(0x8d, 0xa3, 0x65, 0x6e, 0x64) if err != nil { return } err = en.WriteTime(z.ended) if err != nil { err = msgp.WrapError(err, "ended") return } // write "st" err = en.Append(0xa2, 0x73, 0x74) if err != nil { return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 08 18:26:08 UTC 2021 - 10K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
/** * Sets the parameters for this write request. * * @param fid the file identifier * @param offset the file offset at which to write * @param remaining the number of bytes remaining to be written * @param b the data buffer containing bytes to write * @param off the offset in the buffer where data starts * @param len the number of bytes to write */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/archive/tar/reader.go
sr.sp = sr.sp[1:] // Ensure last fragment always remains } } // If the last fragment is a hole, then seek to 1-byte before EOF, and // write a single byte to ensure the file is the right size. if writeLastByte && err == nil { _, err = ws.Write([]byte{0}) sr.pos++ } n = sr.pos - pos0 switch { case err == io.EOF: return n, errMissData // Less data in dense file than sparse file
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt()); doNothing().when(raf).writeShort(anyInt()); raf.writeUTF("é"); // 2-byte UTF-8 char // size prefix should be 2, and then write called with len=2 verify(raf).writeShort(eq(2)); verify(raf).write(any(byte[].class), eq(0), eq(2)); } @Test @DisplayName("write(byte[],off,0): returns without I/O")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
func (z *ChecksumInfo) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 3 // write "PartNumber" err = en.Append(0x83, 0xaa, 0x50, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72) if err != nil { return } err = en.WriteInt(z.PartNumber) if err != nil { err = msgp.WrapError(err, "PartNumber") return } // write "Algorithm"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Dec 15 22:50:12 UTC 2024 - 41.4K bytes - Viewed (0)