- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 3,883 for void (0.11 sec)
-
guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
public class MinimalIterableTest extends TestCase { public void testOf_empty() { Iterable<String> iterable = MinimalIterable.<String>of(); Iterator<String> iterator = iterable.iterator(); assertFalse(iterator.hasNext()); assertThrows(NoSuchElementException.class, () -> iterator.next()); assertThrows(IllegalStateException.class, () -> iterable.iterator()); } public void testOf_one() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java
* . */ @Test public void testIsNotEmptyCollectionOfQ() { final Collection<String> c = new ArrayList<String>(); c.add("hoge"); assertThat(CollectionsUtil.isNotEmpty(c), is(true)); } /** * Test method for * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Map)} * . */ @Test public void testIsEmptyMapOfQQ() {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_reader_test.cc
TFE_MonitoringCounter0* CreateCounter0(const char* counter_name); TFE_MonitoringCounter1* CreateCounter1(const char* counter_name, const char* label); void IncrementCounter0(TFE_MonitoringCounter0* counter, int64_t delta = 1); void IncrementCounter1(TFE_MonitoringCounter1* counter, const char* label, int64_t delta = 1); TEST(CAPI, MonitoringCellReader0) { auto counter_name = "test/counter0";
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 20 03:14:47 UTC 2023 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
} } public void testFloorPowerOfTwoNegative() { for (long x : NEGATIVE_LONG_CANDIDATES) { assertThrows(IllegalArgumentException.class, () -> LongMath.floorPowerOfTwo(x)); } } public void testCeilingPowerOfTwoZero() { assertThrows(IllegalArgumentException.class, () -> LongMath.ceilingPowerOfTwo(0L)); } public void testFloorPowerOfTwoZero() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
} @GwtIncompatible public void testMin_noArgs() { assertThrows(IllegalArgumentException.class, () -> min()); } public void testMin() { assertThat(min(LEAST)).isEqualTo(LEAST); assertThat(min(GREATEST)).isEqualTo(GREATEST); assertThat(min((int) 8, (int) 6, (int) 7, (int) 5, (int) 3, (int) 0, (int) 9)) .isEqualTo((int) 0); } public void testConstrainToRange() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
public class CrawlingInfoHelperTest extends UnitFessTestCase { private CrawlingInfoHelper crawlingInfoHelper; @Override public void setUp() throws Exception { super.setUp(); crawlingInfoHelper = new CrawlingInfoHelper(); } public void test_generateId() { final Map<String, Object> dataMap = new HashMap<String, Object>(); dataMap.put("url", "http://example.com/");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
public void setUserBoost(final float userBoost) { this.userBoost = userBoost; } public void setReadings(final String[][] readings) { this.readings = readings; } public void setFields(final String[] fields) { this.fields = fields; } public void setTags(final String[] tags) { this.tags = tags; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 20.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
* with it. * * @throws IOException if a network error occurs */ public void close() throws IOException { file.close(); tmp = null; } /** * Writes the specified byte to this file output stream. * * @throws IOException if a network error occurs */ public void write( int b ) throws IOException { tmp[0] = (byte)b; write( tmp, 0, 1 ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
} @J2ktIncompatible @GwtIncompatible // SerializableTester public void testStringConverterSerialization() { SerializableTester.reserializeAndAssert(Longs.stringConverter()); } public void testToArray() { // need explicit type parameter to avoid javac warning!? List<Long> none = Arrays.<Long>asList(); assertThat(Longs.toArray(none)).isEqualTo(EMPTY);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java
path = pipe.unc; } public void close() throws IOException { pipe.close(); } public void write( int b ) throws IOException { tmp[0] = (byte)b; write( tmp, 0, 1 ); } public void write( byte[] b ) throws IOException { write( b, 0, b.length ); } public void write( byte[] b, int off, int len ) throws IOException { if( len < 0 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.6K bytes - Viewed (0)