- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 298 for InputStream (0.06 seconds)
-
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
import com.google.common.reflect.Parameter; import com.google.common.reflect.Reflection; import com.google.common.reflect.TypeToken; import java.io.ByteArrayInputStream; import java.io.File; import java.io.InputStream; import java.io.Reader; import java.io.StringReader; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.7K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
} long writeTime = System.currentTimeMillis() - start; // Read back start = System.currentTimeMillis(); byte[] readData = new byte[data.length]; try (InputStream is = file.getInputStream()) { is.read(readData); } long readTime = System.currentTimeMillis() - start; assertArrayEquals(data, readData);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
} // Simulate network disconnection file.getTree().getSession().getTransport().disconnect(); // Try to read - should trigger reconnection try (InputStream is = file.getInputStream()) { byte[] buffer = new byte[9]; is.read(buffer); assertEquals("test data", new String(buffer)); } } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
import com.google.common.reflect.Parameter; import com.google.common.reflect.Reflection; import com.google.common.reflect.TypeToken; import java.io.ByteArrayInputStream; import java.io.File; import java.io.InputStream; import java.io.Reader; import java.io.StringReader; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.1K bytes - Click Count (0) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
testRequest { val url = URI(mockServer.endpoint + "/person?name=peter").toURL() val connection = url.openConnection() as HttpURLConnection assertThat( connection.inputStream .source() .buffer() .readUtf8(), ).contains("Peter the person") } } @Test fun testUrlConnectionPlaintextProxied() { testRequest {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.2K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
val response = call.execute() val inputStream = response.body.byteStream() assertThat(inputStream.read()).isEqualTo('A'.code) assertThat(inputStream.read()).isEqualTo('B'.code) assertThat(inputStream.read()).isEqualTo('C'.code) assertThat(inputStream.read()).isEqualTo(-1) assertThat(inputStream.read()).isEqualTo(-1) inputStream.close() } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
faster while consuming less memory. You can write a `RequestBody` as an Okio `BufferedSink` and a `ResponseBody` as an Okio `BufferedSource`. Standard `InputStream` and `OutputStream` access is also available. * **New Call and Callback types** execute requests and receive their responses. Both types of calls can be canceled via the `Call` or the `OkHttpClient`.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
package org.codelibs.fess.helper; import static org.codelibs.core.stream.StreamUtil.split; import static org.codelibs.core.stream.StreamUtil.stream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.InetAddress; import java.net.URLEncoder; import java.net.UnknownHostException; import java.nio.file.Files; import java.nio.file.Path;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 43.2K bytes - Click Count (0) -
build-tools-internal/src/main/resources/forbidden/http-signatures.txt
org.apache.http.entity.ByteArrayEntity#<init>(byte[],int,int) org.apache.http.entity.FileEntity#<init>(java.io.File) org.apache.http.entity.InputStreamEntity#<init>(java.io.InputStream) org.apache.http.entity.InputStreamEntity#<init>(java.io.InputStream,long) org.apache.http.nio.entity.NByteArrayEntity#<init>(byte[]) org.apache.http.nio.entity.NByteArrayEntity#<init>(byte[],int,int) org.apache.http.nio.entity.NFileEntity#<init>(java.io.File)
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.1K bytes - Click Count (0) -
build-logic/build.gradle.kts
"Use the same org.gradle.jvmargs for both builds.") } } } fun readProperties(propertiesFile: File) = java.util.Properties().apply { propertiesFile.inputStream().use { fis -> load(fis) }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Feb 09 03:14:32 GMT 2026 - 1.3K bytes - Click Count (0)