Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 93 for OutputStream (0.17 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE;
    import static org.junit.Assert.assertThrows;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.nio.file.attribute.PosixFileAttributeView;
    import java.nio.file.attribute.PosixFileAttributes;
    import java.util.Arrays;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

    import jcifs.internal.smb2.io.Smb2WriteRequest;
    import jcifs.internal.smb2.io.Smb2WriteResponse;
    
    /**
     * This <code>OutputStream</code> can write bytes to a file on an SMB file server.
     */
    
    public class SmbFileOutputStream extends OutputStream {
    
        private static final Logger log = LoggerFactory.getLogger(SmbFileOutputStream.class);
    
        private final SmbFile file;
        private final boolean append;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbPipeHandle.java

     * 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;
    
    import java.io.InputStream;
    import java.io.OutputStream;
    
    /**
     * Handle to an open named pipe
     *
     * @author mbechler
     *
     */
    public interface SmbPipeHandle extends AutoCloseable {
    
        /**
         * Gets the pipe resource associated with this handle.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/JobProcessTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.function.Consumer;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class JobProcessTest extends UnitFessTestCase {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Mock initial connection's output stream (needed for CacheStream)
            OutputStream initialOutputStream = mock(OutputStream.class);
            when(mockConnection.getOutputStream()).thenReturn(initialOutputStream);
    
            // Act
            // Get output stream and write data to it
            OutputStream os = ntlmConnection.getOutputStream();
            assertNotNull(os);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/IoTestCase.java

    package com.google.common.io;
    
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.URL;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/PropertiesUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.Reader;
    import java.io.Writer;
    import java.net.URL;
    import java.nio.charset.Charset;
    import java.util.Properties;
    
    import org.codelibs.core.exception.IORuntimeException;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.EnumSet;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteSinkTest.java

    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.EnumSet;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

       *
       * <p>Note that the given byte array may be passed directly to methods on, for example, {@code
       * OutputStream} (when {@code copyTo(OutputStream)} is called on the resulting {@code
       * ByteSource}). This could allow a malicious {@code OutputStream} implementation to modify the
       * contents of the array, but provides better performance in the normal case.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
Back to top