- Sort Score
 - Result 10 results
 - Languages All
 
Results 1341 - 1350 of 3,933 for avoid (0.04 sec)
- 
				
				
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
} } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testAsMapGetNullKeyPresent() { initMultimapWithNullKey(); assertContentsAnyOrder(multimap().asMap().get(null), getValueForNullKey()); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testAsMapGetNullKeyAbsent() { assertNull(multimap().asMap().get(null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.8K bytes - Viewed (0) - 
				
				
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
@IgnoreJRERequirement // We opt into library desugaring for our tests. public class MapComputeTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testCompute_absentToPresent() { assertEquals( "Map.compute(absent, functionReturningValue) should return value", v3(), getMap() .compute( k3(),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 7.2K bytes - Viewed (0) - 
				
				
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
@Override public void encode(final NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(length); _dst.enc_ndr_short(impersonation_level); _dst.enc_ndr_small(context_mode); _dst.enc_ndr_small(effective_only); } @Override public void decode(final NdrBuffer _src) throws NdrException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 42.5K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/smb/Kerb5ContextTest.java
ctx = new Kerb5Context("host.example", "cifs", null, 0, 0, null); } @AfterEach void tearDown() { if (mockedStatic != null) { mockedStatic.close(); } } private static void setPrivateField(Object target, String name, Object value) throws Exception { Field f = target.getClass().getDeclaredField(name);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) - 
				
				
guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutIfAbsent_supportedAbsent() { assertNull( "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3())); 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: Thu Nov 14 23:40:07 UTC 2024 - 4.8K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
@Test @DisplayName("constructor accepts null andx") void constructorWithNullAndx() { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertNotNull(msg, "Message must not be null after construction"); } @ParameterizedTest @ValueSource(ints = { 0, 1, 5, -1, 10 }) @DisplayName("writeParameterWordsWireFormat always returns 0") void writeParameterWordsWireFormatReturnsZero(int index) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) - 
				
				
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
} public void test_load_emptyList() { mockBhv.setTestData(new ArrayList<>()); int count = relatedQueryHelper.load(); assertEquals(0, count); String[] results = relatedQueryHelper.getRelatedQueries("anyterm"); assertEquals(0, results.length); } public void test_load_singleTerm() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16.3K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/util/SecureKeyManagerTest.java
private byte[] testKey; @BeforeEach public void setUp() { keyManager = new SecureKeyManager(); testKey = new byte[16]; new SecureRandom().nextBytes(testKey); } @AfterEach public void tearDown() { if (keyManager != null) { keyManager.close(); } } @Test public void testStoreAndRetrieveKey() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) - 
				
				
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
} public void testParse_maximumWeightRepeated() { assertThrows(IllegalArgumentException.class, () -> parse("maximumWeight=10, maximumWeight=20")); } public void testParse_maximumSizeAndMaximumWeight() { assertThrows(IllegalArgumentException.class, () -> parse("maximumSize=10, maximumWeight=20")); } public void testParse_concurrencyLevel() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 19.1K bytes - Viewed (0) - 
				
				
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
// maximum size, size of initial contents, default capacity... private static void checkNatural(MinMaxPriorityQueue<Integer> queue) { assertSame(Ordering.natural(), queue.comparator()); } private static void checkUnbounded(MinMaxPriorityQueue<Integer> queue) { assertEquals(Integer.MAX_VALUE, queue.maximumSize); } public void testHeapIntact() { Random random = new Random(0); int heapSize = 99;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (0)