- Sort Score
- Num 10 results
- Language All
Results 1981 - 1990 of 3,799 for thrown (0.05 seconds)
-
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
// Verify bytes written assertEquals(20 + nameLength, bytesWritten); } @Test @DisplayName("Test decode with replaceIfExists true") void testDecodeWithReplaceIfExistsTrue() throws SMBProtocolDecodingException { String originalFileName = "testfile.txt"; byte[] nameBytes = originalFileName.getBytes(StandardCharsets.UTF_16LE); byte[] buffer = new byte[100];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
private byte[] data; @Override protected void setUp() throws Exception { super.setUp(); ByteArrayOutputStream baos = new ByteArrayOutputStream(); DataOutputStream out = new DataOutputStream(baos); initializeData(out); data = baos.toByteArray(); } private void initializeData(DataOutputStream out) throws IOException { /* Write out various test values NORMALLY */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
import jcifs.CIFSException; /** * Unit tests for Multi-Channel configuration properties */ class MultiChannelConfigurationTest { @Test void testDefaultMultiChannelSettings() throws CIFSException { PropertyConfiguration config = new PropertyConfiguration(new Properties()); assertTrue(config.isUseMultiChannel(), "Multi-channel should be enabled by default");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
encodeCallCount++; if (throwOnEncode) { throw new RuntimeException("Test encode error"); } if (dst == null) { throw new IllegalArgumentException("Destination buffer cannot be null"); } if (dstIndex < 0) { throw new IllegalArgumentException("Destination index cannot be negative"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
.build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); Response response = client.newCall(request).execute(); response.body().close(); } private static class LoggingInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jan 01 15:55:32 GMT 2016 - 2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTest.java
private final byte[] bytes = newPreFilledByteArray(10000); private TestByteSink sink; @Override protected void setUp() throws Exception { sink = new TestByteSink(); } public void testOpenBufferedStream() throws IOException { OutputStream out = sink.openBufferedStream(); assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
private final byte[] bytes = newPreFilledByteArray(10000); private TestByteSink sink; @Override protected void setUp() throws Exception { sink = new TestByteSink(); } public void testOpenBufferedStream() throws IOException { OutputStream out = sink.openBufferedStream(); assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
* @throws ConfigPropertyNotFoundException When the property is not found. */ String get(String propertyKey); /** * Is the property true? * @param propertyKey The key of the property which is boolean type. (NotNull) * @return The determination, true or false. (if not found, exception)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 576.9K bytes - Click Count (2) -
android/guava-tests/test/com/google/common/reflect/ReflectionTest.java
assertThat(Reflection.getPackageName(Map.Entry.class)).isEqualTo("java.util"); } public void testNewProxy() throws Exception { Runnable runnable = Reflection.newProxy(Runnable.class, X_RETURNER); assertThat(runnable.toString()).isEqualTo("x"); } public void testNewProxyCantWorkOnAClass() throws Exception { assertThrows( IllegalArgumentException.class, () -> Reflection.newProxy(Object.class, X_RETURNER));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
<T> T getFinalValue(ClosingFuture<T> closingFuture) throws ExecutionException { return getUninterruptibly(closingFuture.finishToFuture()); } @Override void assertFinallyFailsWithException(ClosingFuture<?> closingFuture) { assertThatFutureFailsWithException(closingFuture.finishToFuture()); } @Override void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0)