- Sort Score
- Num 10 results
- Language All
Results 911 - 920 of 3,804 for throws (0.05 seconds)
-
src/test/java/jcifs/smb/SmbTreeImplTest.java
@Test void testDfs() throws SmbException { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertFalse(tree.isDfs()); assertFalse(tree.isInDomainDfs()); tree.markDomainDfs(); assertTrue(tree.isInDomainDfs()); } // Test case for treeConnect method with SMB1 @Test void testTreeConnectSmb1() throws CIFSException, IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
public byte[] compress(byte[] data, int algorithm) throws CIFSException { if (data == null) { throw new CIFSException("Data cannot be null"); } return compress(data, 0, data.length, algorithm); } @Override public byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException { if (data == null) { throw new CIFSException("Data cannot be null"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
assertNull(exceptions[i], "Thread " + i + " threw exception"); } // Verify alive is false assertFalse("alive should be false after all stop() calls", dataStore.alive); } /** * Test that multiple threads can safely read alive field while one writes. */ @Test public void test_aliveField_concurrentReadWrite() throws Exception { dataStore.alive = true;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
*/ @Override protected void tearDown() throws Exception { Throwable t = threadFailure.getAndSet(null); if (t != null) { if (t instanceof Error) { throw (Error) t; } else if (t instanceof RuntimeException) { throw (RuntimeException) t; } else if (t instanceof Exception) { throw (Exception) t; } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java
* @return an integer representing the exit code of the invocation (0 typically indicates success) * @throws InvokerException if an error occurs during the invocation process. */ int invoke(@Nonnull InvokerRequest invokerRequest) throws InvokerException; /** * Closes and disposes of this {@link Invoker} instance, releasing any resources it may hold.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 31 20:56:58 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmSsp.java
* @return credentials passed in the servlet request * @throws IOException * If an IO error occurs. */ public NtlmPasswordAuthentication doAuthentication(final CIFSContext tc, final HttpServletRequest req, final HttpServletResponse resp, final byte[] challenge) throws IOException { return authenticate(tc, req, resp, challenge); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
* Get a send region from the pool or allocate a new one * * @param minSize minimum required size * @return memory region for sending * @throws IOException if allocation fails */ public RdmaMemoryRegion getSendRegion(int minSize) throws IOException { if (minSize <= sendBufferSize) { RdmaMemoryRegion region = availableSendRegions.poll(); if (region != null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.7K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java
* @param options possible parsing options, may be {@code null} * @return the parsed {@link Model}, never {@code null} * @throws ModelParserException if the model cannot be parsed */ @Nonnull Model parse(@Nonnull Source source, @Nullable Map<String, ?> options) throws ModelParserException; /** * Locate and parse the model in the specified directory.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Sep 10 17:18:47 GMT 2024 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
void testConstructorWithNullFileId() { // Should not throw exception Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName); assertNotNull(requestWithNull); } @Test @DisplayName("Constructor with null fileName should accept null") void testConstructorWithNullFileName() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java
* @throws SettingsBuilderException if the effective settings could not be built */ @Nonnull SettingsBuilderResult build(@Nonnull SettingsBuilderRequest request); /** * Builds the effective settings of the specified settings sources. * * @return the result of the settings building, never {@code null}Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 5.1K bytes - Click Count (0)