- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for OutputStream (0.38 sec)
-
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
connection.setUseCaches(useCaches); } private static class CacheStream extends OutputStream { private final OutputStream stream; private final OutputStream collector; public CacheStream(final OutputStream stream, final OutputStream collector) { this.stream = stream; this.collector = collector; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K 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) -
src/test/java/jcifs/SmbResourceTest.java
// When OutputStream os1 = mockResource.openOutputStream(); OutputStream os2 = mockResource.openOutputStream(true); OutputStream os3 = mockResource.openOutputStream(false, 1); OutputStream os4 = mockResource.openOutputStream(true, 1, 2, 3); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
this.connection.setConnectTimeout(connectTimeout); } private static class CacheStream extends OutputStream { private final OutputStream stream; private final OutputStream collector; public CacheStream(final OutputStream stream, final OutputStream collector) { this.stream = stream; this.collector = collector; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
*/ package jcifs.smb1.netbios; import java.io.FilterOutputStream; import java.io.IOException; import java.io.OutputStream; class SocketOutputStream extends FilterOutputStream { SocketOutputStream(final OutputStream out) { super(out); } @Override public synchronized void write(final byte[] b, int off, final int len) throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.InputStream; import java.io.OutputStream; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import jcifs.smb.SmbPipeHandleInternal; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
*/ package jcifs.smb1.smb1; import java.io.IOException; import java.io.OutputStream; import java.net.MalformedURLException; import java.net.UnknownHostException; import jcifs.smb1.util.LogStream; /** * This <code>OutputStream</code> can write bytes to a file on an SMB file server. */ public class SmbFileOutputStream extends OutputStream { private final SmbFile file; private final boolean append, useNTSmbs;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.nio.file.Files; import java.nio.file.Path; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
*/ package jcifs.smb1.netbios; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.Socket; 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
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/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.MalformedURLException; import java.net.URL; import java.net.UnknownHostException; /** * This class will allow a Java program to read and write data to Named * Pipes and Transact NamedPipes.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0)