- Sort Score
- Result 10 results
- Languages All
Results 1621 - 1630 of 3,662 for Void (0.02 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
} @MapFeature.Require(SUPPORTS_PUT) public void testPutIfAbsent_supportedAbsent() { assertNull("putIfAbsent(notPresent, value) should return null", putIfAbsent(e3())); expectAdded(e3()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_supportedPresent() { assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java
} /** * Sets the delay time in milliseconds after processing a URL. * * @param delayMillisAfterProcessing the delay time in milliseconds after processing */ public void setDelayMillisAfterProcessing(final long delayMillisAfterProcessing) { this.delayMillisAfterProcessing = delayMillisAfterProcessing; } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
} } }, RANDOM { @Override void arrange(List<Integer> list) {} }; abstract void arrange(List<Integer> list); } private ImmutableList<Integer> input; @BeforeExperiment void setUp() { checkArgument(size > 0, "empty collection not supported"); Set<Integer> set = new LinkedHashSet<>(size); Random random = new Random(); while (set.size() < size) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* checkArgument(value >= 0, "input is negative: %s", value); * // calculate square root * } * } * * <p>so that a hypothetical bad caller of this method, such as: * * {@snippet : * void exampleBadCaller() { * double d = sqrt(-1.0); * } * } * * <p>would be flagged as having called {@code sqrt()} with an illegal argument. * * <h3>Performance</h3> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 22:11:00 UTC 2025 - 53K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
@NullUnmarked public class StandardSystemPropertyTest extends TestCase { public void testGetKeyMatchesString() { for (StandardSystemProperty property : StandardSystemProperty.values()) { String fieldName = property.name(); String expected = Ascii.toLowerCase(fieldName).replaceAll("_", "."); assertEquals(expected, property.key()); } } public void testGetValue() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultData.java
*/ void setData(byte[] data); /** * Retrieves the encoding used for the access result data. * * @return the encoding as a String. */ String getEncoding(); /** * Sets the encoding for the access result data. * * @param encoding the encoding to set */ void setEncoding(String encoding);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
private SmbFileOutputStream outputStream; @BeforeEach void setUp() { // Common setup for most tests lenient().when(mockFileHandle.getTree()).thenReturn(mockTreeHandle); lenient().when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @Test void testWriteSingleByte() throws IOException, CIFSException { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
* @param maxSize the maximum allowed size * @param fieldName the field name for error reporting * @throws IllegalArgumentException if size is invalid */ public static void validateBufferSize(int size, int maxSize, String fieldName) { if (size < 0) { throw new IllegalArgumentException(fieldName + " size cannot be negative: " + size); } if (size > maxSize) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java
synonymFile = new SynonymFile("1", file1.getAbsolutePath(), new Date()); } @Override public void tearDown() throws Exception { file1.delete(); } */ @Override public void setUp() throws Exception { super.setUp(); synonymFile = new SynonymFile("1", "dummy", new Date()); List<SynonymItem> itemList = new ArrayList<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
@DisplayName("Constructor should handle null parent") void testConstructor_NullParent_ThrowsNPE() { // When & Then: Null parent should cause NullPointerException assertThrows(NullPointerException.class, () -> new NetServerEnumIterator(null, treeHandle, "*", 0, null)); } @Test @DisplayName("Constructor should handle null tree handle") void testConstructor_NullTreeHandle_ThrowsNPE() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0)