- Sort Score
- Result 10 results
- Languages All
Results 1911 - 1920 of 2,976 for throw (0.02 sec)
-
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
import org.codelibs.core.lang.ClassUtil; import org.junit.Test; /** * @author koichik */ public class TraverserUtilTest { /** * @throws Exception */ @Test public void testFromClass_FileSystem() throws Exception { final Traverser traverser = TraversalUtil.getTraverser(DummyTest.class); assertThat(traverser, is(notNullValue()));Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
long decodedValue = SMBUtil.readInt8(buffer, offset); assertEquals(endOfFile, decodedValue); } @Test @DisplayName("Test decode method with valid buffer") void testDecode() throws SMBProtocolDecodingException { // Prepare buffer with known value long expectedValue = 0x0123456789ABCDEFL; byte[] buffer = new byte[16]; SMBUtil.writeInt8(expectedValue, buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingBlockingDeque.java
return delegate().offerLast(e, timeout, unit); } @Override public E takeFirst() throws InterruptedException { return delegate().takeFirst(); } @Override public E takeLast() throws InterruptedException { return delegate().takeLast(); } @Override public @Nullable E pollFirst(long timeout, TimeUnit unit) throws InterruptedException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java
* @return the {@link ProjectBuilderResult} containing the built project and possible errors * @throws ProjectBuilderException if the project cannot be created * @throws IllegalArgumentException if an argument is {@code null} or invalid */ @Nonnull ProjectBuilderResult build(ProjectBuilderRequest request) throws ProjectBuilderException; /** * Creates a {@link org.apache.maven.api.Project} from a POM file.Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Nov 16 20:36:20 UTC 2024 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
assertThrows(SmbException.class, () -> { strictValidator.validatePath("\\share\\file<script>.txt"); }); } @Test public void testTrailingSpace() throws Exception { assertThrows(SmbException.class, () -> { validator.validatePath("\\share\\file "); }); } @Test public void testTrailingPeriod() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertEquals(0, buffer[2]); // salt length assertEquals(0, buffer[3]); } @Test @DisplayName("Should decode context correctly") void testDecode() throws SMBProtocolDecodingException { // Arrange context = new PreauthIntegrityNegotiateContext(); byte[] buffer = new byte[] { 0x02, 0x00, // 2 hash algos
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
* @param off offset into the token array * @param len length of token data * @return result token * @throws SmbException if an SMB protocol error occurs * @throws CIFSException if a general CIFS error occurs */ byte[] initSecContext(byte[] token, int off, int len) throws CIFSException; /** * Gets the NetBIOS name of the remote endpoint. * @return the name of the remote endpointRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
/** * Creates a new object instance from the crawler container. * @return A new instance of the component specified by componentName * @throws Exception if the component cannot be created */ @Override public T create() throws Exception { return (T) crawlerContainer.getComponent(componentName); } /** * Wraps an object instance into a pooled object.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/DfsResolverTest.java
} // Test for isTrustedDomain method @Test void testIsTrustedDomain_DfsDisabled() throws CIFSException { when(mockConfig.isDfsDisabled()).thenReturn(true); assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain")); } @Test void testIsTrustedDomain_NoUserDomain() throws CIFSException { when(mockConfig.isDfsDisabled()).thenReturn(false);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
/** * @throws Exception */ @Before public void setUp() throws Exception { TimeZone.setDefault(TimeZone.getTimeZone("GMT")); } /** * @throws Exception */ @After public void tearDown() throws Exception { TimeZone.setDefault(null); } /** * @throws Exception */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0)