- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,596 for writeTo (0.04 sec)
-
src/main/java/jcifs/smb1/netbios/NbtSocket.java
import jcifs.smb1.Config; import jcifs.smb1.util.LogStream; /** Do not use this class. Writing to the OutputStream of this type of socket requires leaving a 4 byte prefix for the NBT header. IOW you must call write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error. */ public class NbtSocket extends Socket { private static final int SSN_SRVC_PORT = 139; private static final int BUFFER_SIZE = 512;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertEquals(expectedAttributes, searchAttributesField.get(smbComRename)); } /** * Test writeParameterWordsWireFormat method */ @Test @DisplayName("Test writeParameterWordsWireFormat writes search attributes correctly") public void testWriteParameterWordsWireFormat() { // Given byte[] dst = new byte[10]; smbComRename = new SmbComRename(config, "old.txt", "new.txt");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Decode to new instance (decode reads 36 bytes, encode writes 40) FileBasicInfo decoded = new FileBasicInfo(); int decodedBytes = decoded.decode(buffer, 0, 36); // Verify encoding/decoding assertEquals(40, encodedBytes); // encode writes 40 bytes (includes padding) assertEquals(36, decodedBytes); // decode reads 36 bytes (no padding)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
String testContent = "Hello, World!"; tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir); // Write test content to file try (FileOutputStream fos = new FileOutputStream(tempFile)) { fos.write(testContent.getBytes("UTF-8")); } ContentCache cache = new ContentCache(tempFile); try (InputStream stream = cache.getInputStream()) {
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb1.com; import org.slf4j.Logger; import org.slf4j.LoggerFactory;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; import java.security.SecureRandom; import java.util.Arrays; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
byte[] dst = new byte[100]; int dstIndex = 10; int bytesWritten = notifyChange.writeSetupWireFormat(dst, dstIndex); // Should write 8 bytes total assertEquals(8, bytesWritten); // Verify completion filter (4 bytes) assertEquals(completionFilter, SMBUtil.readInt4(dst, dstIndex)); // Verify FID (2 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/WebApiResponse.java
*/ public WebApiResponse(final HttpServletResponse response) { super(response); } /** * Gets a PrintWriter for writing response content. * Returns a dummy PrintWriter that writes to a ByteArrayOutputStream. * * @return A PrintWriter for response output * @throws IOException If an I/O error occurs */ @Override public PrintWriter getWriter() throws IOException {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeInt4(0, buffer, 64); // eaSize // Write short name length and short name byte[] shortNameBytes = Strings.getUNIBytes(shortName); buffer[68] = (byte) shortNameBytes.length; // shortNameLength System.arraycopy(shortNameBytes, 0, buffer, 70, Math.min(shortNameBytes.length, 24)); // Write filename if (unicode) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0)