- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 69 for outputStream (0.07 seconds)
-
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. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.7K bytes - Click Count (0) -
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 org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link FileBackedOutputStream}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 30 16:30:29 GMT 2025 - 6.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/XIncludeAwareXmlProvider.groovy
} Node emptyDoc() { root = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument() } void write(File destFile, boolean indent = false) { destFile.withOutputStream { OutputStream stream -> TransformerFactory factory = TransformerFactory.newInstance() Transformer transformer = factory.newTransformer() if (indent) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.2K bytes - Click Count (0) -
guava/src/com/google/common/io/ByteStreams.java
} }; /** * Returns an {@link OutputStream} that simply discards written bytes. * * <p><b>Java 11+ users:</b> use {@link OutputStream#nullOutputStream()} instead. Note that the * {@link ByteStreams} method returns a singleton stream whose {@code close} method has no effect, * while the {@link OutputStream} method returns a new instance whose {@code write} methods throwCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 31.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
// Bail out now if this instance was closed while waiting for the socket to accept. synchronized(this) { if (executor.isShutdown) { socket.close() return } } val outputStream = socket.getOutputStream() val inputStream = socket.getInputStream() val reader = Http2Reader(inputStream.source().buffer(), client) val outFramesIterator: Iterator<OutFrame> = outFrames.iterator()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
*/ package org.apache.maven.artifact.repository.metadata; import javax.xml.stream.XMLStreamException; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.file.Files; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.repository.ArtifactRepository;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0) -
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
static byte[] toByteArray(java.io.Reader, int) throws java.io.IOException; public static void copy(String, java.io.OutputStream) throws java.io.IOException; public static void copy(String, java.io.OutputStream, int) throws java.io.IOException; public static void copy(String, java.io.Writer) throws java.io.IOException; public static void bufferedCopy(java.io.InputStream, java.io.OutputStream) throws java.io.IOException; public static byte[] toByteArray(String) throws java.io.IOException; public static...
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 164.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
public void save() throws IOException { save(this.location); } public void save(Path location) throws IOException { try (OutputStream os = Files.newOutputStream(location)) { save(os); } } public void save(OutputStream os) throws IOException { save(new OutputStreamWriter(os, DEFAULT_ENCODING)); } public void save(Writer writer) throws IOException {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 09:03:48 GMT 2025 - 38.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
public void save() throws IOException { save(this.location); } public void save(Path location) throws IOException { try (OutputStream os = Files.newOutputStream(location)) { save(os); } } public void save(OutputStream os) throws IOException { save(new OutputStreamWriter(os, DEFAULT_ENCODING)); } public void save(Writer writer) throws IOException {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 38.4K bytes - Click Count (0)