- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,640 for writer (0.04 sec)
-
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 */ public int writeWireFormat(final byte[] dst, final int dstIndex) {
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/org/codelibs/core/nio/ChannelUtil.java
} } /** * Writes the contents of the byte buffer to the file channel. * * @param channel * The file channel. Must not be {@literal null}. * @param buffer * The byte buffer. Must not be {@literal null}. * @return The number of bytes written. */ public static int write(final FileChannel channel, final ByteBuffer buffer) {
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/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) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
assertEquals("abc", raf.readUTF()); } @Test @DisplayName("write(boolean/byte): writes single byte") void write_oneByteVariants() throws Exception { SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false)); // Intercept the 3-arg write to validate len doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt()); raf.writeBoolean(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K 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/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
} @Test @DisplayName("writeSetupWireFormat writes the subCommand and a trailing 0") void testWriteSetupWireFormat() { Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(5); byte[] buf = newBuffer(10); int written = cmd.writeSetupWireFormat(buf, 0); assertEquals(2, written, "setup packet should write 2 bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
cmd/xl-storage_noatime_notsupported.go
package cmd import ( "os" ) var ( // No special option for reads on windows readMode = os.O_RDONLY // Write with sync no buffering only used only for `xl.meta` writes writeMode = os.O_SYNC
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Jul 23 16:36:24 UTC 2024 - 1001 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
} /** * Writes setup data in wire format * @param dst destination buffer * @param dstIndex starting index in destination buffer * @return number of bytes written */ protected abstract int writeSetupWireFormat(byte[] dst, int dstIndex); /** * Writes parameters in wire format * @param dst destination buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
body.writeTo(sink) } sink.write(CRLF) } sink!!.write(DASHDASH) sink.write(boundaryByteString) sink.write(DASHDASH) sink.write(CRLF) if (countBytes) { byteCount += byteCountBuffer!!.size byteCountBuffer.clear() } return byteCount } class Part private constructor(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int FILE_READ_ATTRIBUTES = 0x00000080; // 8 /** File write attributes access right */ int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9 /** Delete access right */ int DELETE = 0x00010000; // 16 /** Read control access right */ int READ_CONTROL = 0x00020000; // 17 /** Write DAC access right */ int WRITE_DAC = 0x00040000; // 18 /** Write owner access right */ int WRITE_OWNER = 0x00080000; // 19
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0)