- Sort Score
- Num 10 results
- Language All
Results 1761 - 1770 of 3,282 for throwIt (0.18 seconds)
-
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
assertEquals(4, SMBUtil.readInt2(buf, offset)); // Reserved (2 bytes, LE) == 0 assertEquals(0, SMBUtil.readInt2(buf, offset + 2)); } @Test @DisplayName("writeBytesWireFormat throws when buffer too small") void writeBytesWireFormat_throwsIfInsufficientSpace() { // Arrange Smb2LogoffRequest req = newRequest(); byte[] tiny = new byte[3]; // less than 4 bytes available
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SimpleProvider.kt
*/ package okhttp3 import kotlin.jvm.Throws import org.junit.jupiter.api.extension.ExtensionContext import org.junit.jupiter.params.provider.Arguments import org.junit.jupiter.params.provider.ArgumentsProvider abstract class SimpleProvider : ArgumentsProvider { override fun provideArguments(context: ExtensionContext) = arguments().map { Arguments.of(it) }.stream() @Throws(Exception::class) abstract fun arguments(): List<Any>Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
blob.toBuilder().setMetadata(tags).build().update(); } else { throw new StorageException("Object not found: " + objectName); } } catch (final StorageException e) { throw e; } catch (final Exception e) { throw new StorageException("Failed to update tags for " + objectName, e); } } @Override
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/InputStreamUtilTest.java
import junit.framework.TestCase; import org.codelibs.core.lang.StringUtil; /** * @author higa * */ public class InputStreamUtilTest extends TestCase { /** * @throws Exception */ public void testGetBytes() throws Exception { final InputStream is = ResourceUtil.getResourceAsStream(StringUtil.replace(getClass().getName(), ".", "/") + ".class"); try {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
assertTrue(length > 0); verify(mockDigest).sign(eq(buffer), eq(0), eq(length), eq(testBlock), any()); } @Test @DisplayName("Test decode basic message") void testDecodeBasicMessage() throws SMBProtocolDecodingException { testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25) { @Override protected int readHeaderWireFormat(byte[] buffer, int bufferIndex) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java
if (name == null) { throw new ScriptEngineException("Script engine name parameter is null. A valid script engine name must be provided."); } final ScriptEngine scriptEngine = scriptEngineMap.get(name.toLowerCase(Locale.ROOT)); if (scriptEngine != null) { return scriptEngine; } throw new ScriptEngineException(name + " is not found."); }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/SystemUtilTest.java
*/ package org.codelibs.core.lang; import org.junit.Test; /** * @author wyukawa * */ public class SystemUtilTest { /** * @throws Exception */ @Test public void test() throws Exception { System.out.println(SystemUtil.FILE_ENCODING); System.out.println(SystemUtil.LINE_SEPARATOR); System.out.println(SystemUtil.PATH_SEPARATOR);Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
class NodeStatusResponseTest { @Mock private Configuration mockConfig; @Mock private NbtAddress mockQueryAddress; private NodeStatusResponse response; @BeforeEach void setUp() throws Exception { // Setup mock configuration with lenient stubbing lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Setup mock query addressCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Optional.java
* * <p><b>Comparison to {@code java.util.Optional}:</b> when the value is absent, this method * throws {@link IllegalStateException}, whereas the {@code java.util} counterpart throws {@link * java.util.NoSuchElementException NoSuchElementException}. * * @throws IllegalStateException if the instance is absent ({@link #isPresent} returns {@codeCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/WebApiResponse.java
* Returns a dummy PrintWriter that writes to a ByteArrayOutputStream. * * @return A PrintWriter for response output * @throws IOException If an I/O error occurs */ @Override public PrintWriter getWriter() throws IOException { // dummy stream return new PrintWriter(new ByteArrayOutputStream()); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0)