- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 3,883 for void (0.02 sec)
-
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
*/ @Test public void testAdd_int() throws Exception { final int[] array = new int[] { 1 }; final int[] newArray = ArrayUtil.add(array, 2); assertThat(newArray.length, is(2)); assertThat(newArray[0], is(1)); assertThat(newArray[1], is(2)); } /** * @throws Exception */ @Test public void testIndexOf() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
*/ @ElementTypesAreNonnullByDefault @GwtCompatible(emulated = true) public class StringsTest extends TestCase { public void testNullToEmpty() { assertEquals("", Strings.nullToEmpty(null)); assertEquals("", Strings.nullToEmpty("")); assertEquals("a", Strings.nullToEmpty("a")); } public void testEmptyToNull() { assertNull(Strings.emptyToNull(null)); assertNull(Strings.emptyToNull(""));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
} public void setSizeForDelete(final int sizeForDelete) { this.sizeForDelete = sizeForDelete; } public void setRetryInterval(final long retryInterval) { this.retryInterval = retryInterval; } public void setMaxRetryCount(final int maxRetryCount) { this.maxRetryCount = maxRetryCount; } public void setConnTimeout(final long connTimeout) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 19.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
unsafeImpl = UnsignedBytes.LexicographicalComparatorHolder.UnsafeComparator.INSTANCE; } @Benchmark void longEqualJava(int reps) { for (int i = 0; i < reps; ++i) { if (javaImpl.compare(ba1, ba2) != 0) { throw new Error(); // deoptimization } } } @Benchmark void longEqualUnsafe(int reps) { for (int i = 0; i < reps; ++i) { if (unsafeImpl.compare(ba1, ba2) != 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
public short time_hi_and_version; public byte clock_seq_hi_and_reserved; public byte clock_seq_low; public byte[] node; @Override public void encode ( NdrBuffer _dst ) throws NdrException { _dst.align(4); _dst.enc_ndr_long(this.time_low); _dst.enc_ndr_short(this.time_mid); _dst.enc_ndr_short(this.time_hi_and_version);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:40:13 UTC 2019 - 8.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java
public void addQuery(QueryBuilder queryBuilder) { assertObjectNotNull("queryBuilder", queryBuilder); regQ(queryBuilder); } public void queryString(String queryString) { checkEsInvalidQuery("queryString", queryString); doQueryString(queryString, null); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
public class MultisetRemoveTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemoveNegative() { assertThrows(IllegalArgumentException.class, () -> getMultiset().remove(e0(), -1)); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemoveUnsupported() { assertThrows(UnsupportedOperationException.class, () -> getMultiset().remove(e0(), 2)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
} } @CollectionSize.Require(ZERO) public void testEmptyMapFirst() { assertThrows(NoSuchElementException.class, () -> navigableMap.firstKey()); } @CollectionSize.Require(ZERO) public void testEmptyMapLast() { assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey())); } @CollectionSize.Require(ONE) public void testSingletonMapFirst() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
@CollectionSize.Require(absent = ZERO) public void testAddAllAtIndex_supportedAllPresent() { assertTrue( "addAll(n, allPresent) should return true", getList().addAll(0, MinimalCollection.of(e0()))); expectAdded(0, e0()); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) public void testAddAllAtIndex_unsupportedAllPresent() { assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java
* */ class ActivationPropertyTest { @Test void testHashCodeNullSafe() { new ActivationProperty().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ActivationProperty().equals(null)); new ActivationProperty().equals(new ActivationProperty()); } @Test void testEqualsIdentity() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0)