- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 106 for ByteArrayOutputStream (0.11 seconds)
-
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.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.smb1.http; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Authenticator; import java.net.HttpURLConnection; import java.net.PasswordAuthentication;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 22.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SpnegoContext.java
* @return * @throws CIFSException */ private static byte[] encodeMechs(final ASN1ObjectIdentifier[] mechs) throws CIFSException { try { final ByteArrayOutputStream bos = new ByteArrayOutputStream(); final ASN1OutputStream dos = ASN1OutputStream.create(bos, ASN1Encoding.DER); dos.writeObject(new DERSequence(mechs)); dos.close();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
@J2ObjCIncompatible public final class FileBackedOutputStream extends OutputStream { private final FbosByteSource byteSource; private final State state; /** ByteArrayOutputStream that exposes its internals. */ private static final class MemoryOutput extends ByteArrayOutputStream { byte[] getBuffer() { return buf; } int getCount() { return count; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
} else if (OS.current() == OS.MAC) { // Ask macOS to count physical CPUs for us ByteArrayOutputStream stdout = new ByteArrayOutputStream(); project.exec(spec -> { spec.setExecutable("sysctl"); spec.args("-n", "hw.physicalcpu"); spec.setStandardOutput(stdout);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import com.google.common.primitives.UnsignedInteger; import com.google.common.primitives.UnsignedLong; import com.google.errorprone.annotations.Keep; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream; import java.io.PrintWriter; import java.io.Reader; import java.io.Serializable;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSink.java
* delegate to {@link #openStream()} when the stream returned by that method does not benefit from * additional buffering (for example, a {@code ByteArrayOutputStream}). This method returns a new, * independent stream each time it is called. * * <p>The caller is responsible for ensuring that the returned stream is closed. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.timer; import java.io.ByteArrayOutputStream; import java.io.OutputStream; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import org.apache.commons.text.StringEscapeUtils; import org.apache.logging.log4j.LogManager;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
*/ public String encodeSimilarDocHash(final String hash) { if (hash != null && !hash.startsWith(SIMILAR_DOC_HASH_PREFIX)) { try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { try (GZIPOutputStream gos = new GZIPOutputStream(baos)) { gos.write(hash.getBytes(Constants.UTF_8)); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:27:04 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
private PrintWriter printWriter; private ByteArrayOutputStream outputStream; private ServletOutputStream servletOutputStream; @BeforeEach void setUp() throws Exception { // Setup response writers stringWriter = new StringWriter(); printWriter = new PrintWriter(stringWriter); outputStream = new ByteArrayOutputStream(); servletOutputStream = new ServletOutputStream() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
} // --- GZIP response tests --- /** * Helper to GZIP-compress a string. */ private byte[] gzipCompress(String text) throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); try (GZIPOutputStream gos = new GZIPOutputStream(baos)) { gos.write(text.getBytes(StandardCharsets.UTF_8)); } return baos.toByteArray(); }Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0)