- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 731 for input_stream (0.4 sec)
-
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java
private final Input input; private InputStream inputStream; private long extraSkipped; private KryoBackedDecoder nested; public KryoBackedDecoder(InputStream inputStream) { this(inputStream, 4096); } public KryoBackedDecoder(InputStream inputStream, int bufferSize) { this.inputStream = inputStream; input = new Input(this.inputStream, bufferSize); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingInputStreamHasherTest.groovy
} File file(String path) { return new File(tempDir, path) } static InputStream inputStream(String content) { return inputStream(content.bytes) } static InputStream inputStream(byte[] bytes) { return new ByteArrayInputStream(bytes) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 3K bytes - Viewed (0) -
maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java
merger.merge(pt, null, null); merger.merge(null, pt, null); } @Test void testMergeJdk() throws Exception { try (InputStream isDominant = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml"); InputStream isRecessive = MavenToolchainMergerTest.class.getResourceAsStream("toolchains-jdks.xml")) { PersistedToolchains dominant = read(isDominant);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Apr 15 17:24:20 UTC 2023 - 6K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/ObjectInputStreamAdapter.kt
override fun read(b: ByteArray): Int = inputStream.read(b) override fun markSupported(): Boolean = inputStream.markSupported() override fun mark(readlimit: Int) = inputStream.mark(readlimit) override fun reset() = inputStream.reset() override fun read(): Int = inputStream.read() override fun readChar(): Char = readContext.readInt().toChar()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 4.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.extractor.impl; import java.io.InputStream; import java.util.HashMap; import java.util.Map; import org.codelibs.core.io.CloseableUtil; import org.codelibs.core.io.ResourceUtil; import org.codelibs.fess.crawler.entity.ExtractData;
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java
private final Input input; private final InputStream inputStream; private String[] strings; private long extraSkipped; public StringDeduplicatingKryoBackedDecoder(InputStream inputStream) { this(inputStream, 4096); } public StringDeduplicatingKryoBackedDecoder(InputStream inputStream, int bufferSize) { this.inputStream = inputStream; input = new Input(this.inputStream, bufferSize);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializerObjectInputStream.java
public PayloadSerializerObjectInputStream(InputStream inputStream, ClassLoader classLoader, Map<Short, ClassLoaderDetails> classLoaderDetails, DeserializeMap map) throws IOException { super(inputStream, classLoader); this.classLoaderDetails = classLoaderDetails; this.map = map; } @Override protected ExceptionReplacingObjectInputStream createNewInstance(InputStream inputStream) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/local/LocalFileStandInExternalResourceTest.groovy
def result = resource.withContent(new Action<InputStream>() { @Override void execute(InputStream input) { assert input.text == "1234" } }) result.bytesRead == 4 def result2 = resource.withContent(new Action<InputStream>() { @Override void execute(InputStream inputStream) { assert inputStream.read() == '1'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 14K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
* . */ @Test public void testLoadPropertiesInputStream() { final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties"); final Properties properties = new Properties(); PropertiesUtil.load(properties, inputStream); assertThat(properties.getProperty("hoge"), is("ほげ")); }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java
import java.io.IOException; import java.io.InputStream; public class InputStreamBackedDecoder extends AbstractDecoder implements Decoder, Closeable { private final DataInputStream inputStream; public InputStreamBackedDecoder(InputStream inputStream) { this(new DataInputStream(inputStream)); } public InputStreamBackedDecoder(DataInputStream inputStream) { this.inputStream = inputStream; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.6K bytes - Viewed (0)