- Sort Score
- Result 10 results
- Languages All
Results 1011 - 1020 of 3,883 for void (0.03 sec)
-
guava-tests/test/com/google/common/collect/Collections2Test.java
.createTestSuite(); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Collections2.class); } public void testOrderedPermutationSetEmpty() { List<Integer> list = newArrayList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 10:16:44 UTC 2024 - 19.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} void sleepMillis(int millis) { sleepMicros("U", MILLISECONDS.toMicros(millis)); } void sleepMicros(String caption, long micros) { instant += MICROSECONDS.toNanos(micros); events.add(caption + String.format(Locale.ROOT, "%3.2f", (micros / 1000000.0))); } @Override protected void sleepMicrosUninterruptibly(long micros) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} void sleepMillis(int millis) { sleepMicros("U", MILLISECONDS.toMicros(millis)); } void sleepMicros(String caption, long micros) { instant += MICROSECONDS.toNanos(micros); events.add(caption + String.format(Locale.ROOT, "%3.2f", (micros / 1000000.0))); } @Override protected void sleepMicrosUninterruptibly(long micros) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
*/ @Test public void testLoadPropertiesUrl() { final Properties properties = new Properties(); PropertiesUtil.load(properties, url); assertThat(properties.getProperty("a"), is("A")); } /** * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, URL)} */ @Test public void testLoadPropertiesUrlThrowIOException() {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
@CollectionSize.Require(SEVERAL) public void testRemovePresentConcurrentWithValuesIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<V> iterator = getMap().values().iterator(); getMap().remove(k0()); iterator.next(); }); } @MapFeature.Require(SUPPORTS_REMOVE) public void testRemove_notPresent() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
@SuppressWarnings("unused") // accessed reflectively public void testPublic() {} @SuppressWarnings("unused") // accessed reflectively void testNotPublic() {} } // Shouldn't be mistaken as Foo's test static class Foo2Test { @SuppressWarnings("unused") // accessed reflectively public void testPublic() {} } private List<Class<?>> findClassesToTest(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 21:37:55 UTC 2019 - 5.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
return props; } @Test void testNullSafe() throws Exception { Profile p = Profile.newInstance(); assertActivation(false, p, newContext(null, null)); p = p.withActivation(Activation.newInstance()); assertActivation(false, p, newContext(null, null)); } @Test void testWithNameOnly_UserProperty() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
typedef void (*MemoryReleaser)(void* data, size_t len, void* arg); // Create a tensor instance from the given data buffer and description. // `memory_releaser` will be called on destruction, and it's responsible for // cleaning up the underlying buffer. virtual AbstractTensorInterface* CreateTensor( DataType dtype, const int64_t* dims, int num_dims, void* data, size_t len,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
} public void testSubSet_outOfOrder() { ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); assertThrows(IllegalArgumentException.class, () -> set.subSet(3, 2)); } public void testSubSet_tooLarge() { assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).subSet(4, 6)).isEmpty(); } public void testSubSet_tooSmall() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 19K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
* @author Kurt Alfred Kluever */ public class Crc32cHashFunctionTest extends TestCase { public void testEmpty() { assertCrc(0, new byte[0]); } public void testZeros() { // Test 32 byte array of 0x00. byte[] zeros = new byte[32]; assertCrc(0x8a9136aa, zeros); } public void testZeros100() { // Test 100 byte array of 0x00. byte[] zeros = new byte[100];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.5K bytes - Viewed (0)