- Sort Score
- Result 10 results
- Languages All
Results 1881 - 1890 of 2,976 for throwIt (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
} @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES) public void testFind_nullNotContainedAndUnsupported() { try { assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null)); } catch (NullPointerException tolerated) { } } @CollectionFeature.Require(ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testFind_nonNullWhenNullContained() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
} @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedAndUnsupported() { expectNullMissingWhenNullUnsupported("contains(null) should return false or throw"); } @CollectionFeature.Require(ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testContains_nonNullWhenNullContained() { initCollectionWithNullElement();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
} @Test @DisplayName("encode should throw NPE on null input") void testEncodeNull() { assertThrows(NullPointerException.class, () -> Base64.encode(null)); } @Test @DisplayName("decode should throw NPE on null input") void testDecodeNull() { assertThrows(NullPointerException.class, () -> Base64.decode(null)); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java
throw new UnsupportedOperationException(msg); } @Override protected <RESULT extends Entity> ListResultBean<RESULT> createListResultBean(final ConditionBean cb, final List<RESULT> selectedList) { if (selectedList instanceof EsPagingResultBean) { return (ListResultBean<RESULT>) selectedList; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
if (str == null) { return new byte[0]; } try { return str.getBytes(config.getOemEncoding()); } catch (final UnsupportedEncodingException e) { throw new RuntimeCIFSException("Unsupported OEM encoding " + config.getOemEncoding(), e); } } /** * Decodes a string from UTF-16LE (Unicode Little Endian) bytes. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
* and performs bulk indexing operations with proper error handling. * * @param searchEngineClient the search engine client to use for indexing * @param docList the list of documents to be indexed * @throws SearchEngineClientException if the bulk indexing operation fails */ public void sendDocuments(final SearchEngineClient searchEngineClient, final DocList docList) { if (docList.isEmpty()) { return;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 26.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
} @Benchmark void oldRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Then assertNotNull(msrpcSamrConnect2, "MsrpcSamrConnect2 should be created successfully"); } @Test @DisplayName("Should set ptype field to 0") void shouldSetPtypeToZero() throws NoSuchFieldException, IllegalAccessException { // When MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java
/** * Creates artifact coordinates. * * @param request the request holding coordinates creation parameters * @return an {@code ArtifactCoordinates}, never {@code null} * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid */ @Nonnull ArtifactCoordinates create(@Nonnull ArtifactCoordinatesFactoryRequest request); /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Mar 24 14:10:11 UTC 2025 - 3.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractorTest.java
public class ZipExtractorTest extends PlainTestCase { private static final Logger logger = LogManager.getLogger(ZipExtractorTest.class); public ZipExtractor zipExtractor; @Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer(); container.singleton("archiveStreamFactory", ArchiveStreamFactory.class)Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 3.7K bytes - Viewed (0)