- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,640 for writer (0.1 sec)
-
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
* @return The action role. */ protected abstract String getActionRole(); /** * Writes data to the specified file path. * * @param path the file path to write to * @param data the data to write */ protected void write(final String path, final byte[] data) { LdiFileUtil.write(path, data); } /** * Gets the servlet context. *Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.1K 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) -
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 bufferRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K 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) -
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/test/java/jcifs/smb/SmbFileOutputStreamTest.java
assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early assertDoesNotThrow(() -> outputStream.write(data, 0, 0)); // zero length, returns early // These should pass through to the underlying implementation assertDoesNotThrow(() -> outputStream.write(data, 0, 10)); // valid - will consume first mock (10)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)