- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 273 for inputStream (0.04 sec)
-
src/test/java/jcifs/util/transport/TransportTest.java
InputStream is = new ByteArrayInputStream("test".getBytes()); assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10)); } @Test @DisplayName("readn should return 0 when no more bytes available") void shouldReturnZeroWhenStreamEmpty() throws IOException { InputStream is = new ByteArrayInputStream("Hi".getBytes());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
try (InputStream is = ResourceUtil.getResourceAsStream(url)) { return new String(InputStreamUtil.getBytes(is), Constants.UTF_8); } catch (IOException e) { throw new IORuntimeException(e); } } else if (url.contains("plugin/repo2")) { try (InputStream is = ResourceUtil.getResourceAsStream(url)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 22.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.usability.plugin; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.util.HashMap; import java.util.List; import java.util.Map;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/features/https.md
* file that gets bundled with the application. */ private fun trustedCertificatesInputStream(): InputStream { ... // Full source omitted. See sample. } private fun trustManagerForCertificates(inputStream: InputStream): X509TrustManager { ... // Full source omitted. See sample. } ``` === ":material-language-java: Java" ```javaRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Dec 24 00:16:30 UTC 2022 - 10.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.Objects; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestByteSource.java
import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.collect.ImmutableSet; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * A byte source for testing that has configurable behavior. * * @author Colin Decker */ @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestByteSource.java
import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.collect.ImmutableSet; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * A byte source for testing that has configurable behavior. * * @author Colin Decker */ @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.netbios; import java.io.IOException; import java.io.InputStream; class SessionRetargetResponsePacket extends SessionServicePacket { private NbtAddress retargetAddress; SessionRetargetResponsePacket() { type = SESSION_RETARGET_RESPONSE; length = 6;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java
*/ package org.apache.maven.building; import java.io.InputStream; import java.util.Scanner; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class StringSourceTest { @Test void testGetInputStream() throws Exception { StringSource source = new StringSource("Hello World!"); try (InputStream is = source.getInputStream();Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsExcelExtractorTest.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 org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.io.CloseableUtil; import org.codelibs.core.io.ResourceUtil;
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.1K bytes - Viewed (0)