- Sort Score
- Result 10 results
- Languages All
Results 871 - 880 of 2,976 for throw (0.02 sec)
-
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
@Param({"0", "1", "5", "10"}) int numThreads; private final Set<Thread> blockedThreads = new HashSet<>(); @BeforeExperiment void setUp() throws Exception { if (state != State.NOT_DONE && (numListeners != 0 || numThreads != 0)) { throw new SkipThisScenarioException(); } } // This exclusion doesn't exclude the TOMBSTONE objects we set. So 'done' NEW futures will look // larger than they are.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java
*/ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 24) { throw new SMBProtocolDecodingException("Expected structureSize = 24"); } this.oplockLevel = buffer[bufferIndex + 2];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
// Constructor accepts null principal without throwing exception NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, null); // getRemoteUser() will throw NPE when trying to call getName() on null principal assertThrows(NullPointerException.class, () -> request.getRemoteUser()); assertNull(request.getUserPrincipal()); assertEquals("NTLM", request.getAuthType());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
void testReset() { // Reset should not throw exception assertDoesNotThrow(() -> transaction.reset()); // Transaction should be ready for reuse assertTrue(transaction.hasMoreElements()); } @Test @DisplayName("Test reset with key and lastName") void testResetWithKeyAndLastName() { // Reset with parameters should not throw exception
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java
// 404 throw responseManager.new404("Thumbnail for " + form.docId + " is not found."); } final File thumbnailFile = thumbnailManager.getThumbnailFile(doc); if (thumbnailFile == null) { if (fessConfig.isThumbnailEnabled()) { thumbnailManager.offer(doc); } // 404
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
@Override protected T computeNext(T previous) { throw new AssertionFailedError(); } } private static class BrokenAbstractSequentialIterator extends AbstractSequentialIterator<Object> { BrokenAbstractSequentialIterator() { super("UNUSED"); } @Override protected Object computeNext(Object previous) { throw new SomeUncheckedException(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
if (k.isInstance(x)) { return k.cast(x); } } throw new NoSuchFieldError("the Unsafe"); }); } catch (PrivilegedActionException e) { throw new RuntimeException("Could not initialize intrinsics", e.getCause()); } } static { theUnsafe = getUnsafe();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
} } public void testBulkLoad_clobber() throws ExecutionException { Object extraKey = new Object(); Object extraValue = new Object(); CacheLoader<Object, Object> loader = new CacheLoader<Object, Object>() { @Override public Object load(Object key) throws Exception { throw new AssertionError(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
* * @param url An smb URL string representing the file to write to * @throws SmbException if an SMB error occurs * @throws MalformedURLException if the URL is not properly formatted * @throws UnknownHostException if the host cannot be resolved */ public SmbFileOutputStream(final String url) throws SmbException, MalformedURLException, UnknownHostException { this(url, false); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermQueryCommand.java
if (values.length > 2) { throw new InvalidQueryException(messages -> messages.addErrorsInvalidQuerySortValue(UserMessages.GLOBAL_PROPERTY_KEY, text), "Invalid sort field: " + termQuery); } final String sortField = values[0]; if (!getQueryFieldConfig().isSortField(sortField)) { throw new InvalidQueryException(
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.6K bytes - Viewed (0)