- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 536 for getSet (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java
public void testPutDuplicateValue() { List<Entry<K, V>> entries = copyToList(multimap().entries()); for (Entry<K, V> entry : entries) { resetContainer(); K k = entry.getKey(); V v = entry.getValue(); Set<V> values = multimap().get(k); Set<V> expectedValues = copyToSet(values); assertFalse(multimap().put(k, v)); assertEquals(expectedValues, values);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
private int getSearchAttributes(SmbComDelete smbComDelete) { try { Field field = smbComDelete.getClass().getDeclaredField("searchAttributes"); field.setAccessible(true); return field.getInt(smbComDelete); } catch (Exception e) { throw new RuntimeException("Failed to get searchAttributes field", e); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSinkTester.java
static TestSuite tests(String name, CharSinkFactory factory) { TestSuite suite = new TestSuite(name); for (Entry<String, String> entry : TEST_STRINGS.entrySet()) { String desc = entry.getKey(); TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc); suite.addTest(stringSuite); } return suite; } static TestSuite suiteForString(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
Field informationLevelField = Trans2QueryFSInformation.class.getDeclaredField("informationLevel"); informationLevelField.setAccessible(true); assertEquals(level, informationLevelField.getInt(cmd), "informationLevel should be persisted"); } @Test @DisplayName("writeSetupWireFormat writes the subCommand and a trailing 0") void testWriteSetupWireFormat() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMapKeySet.java
} @Override public boolean contains(@Nullable Object object) { return map.containsKey(object); } @Override K get(int index) { return map.entrySet().asList().get(index).getKey(); } @Override public void forEach(Consumer<? super K> action) { checkNotNull(action); map.forEach((k, v) -> action.accept(k)); } @Override boolean isPartialView() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java
public class MultimapKeySetTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testKeySet() { for (Entry<K, V> entry : getSampleElements()) { assertTrue(multimap().keySet().contains(entry.getKey())); } } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testKeySetContainsNullKeyPresent() { initMultimapWithNullKey();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java
*/ package jcifs.smb1.smb1; import jcifs.smb1.Config; class SmbComReadAndX extends AndXServerMessageBlock { private static final int BATCH_LIMIT = Config.getInt("jcifs.smb1.smb.client.ReadAndX.Close", 1); private long offset; private int fid; private final int openTimeout; int maxCount, minCount, remaining; SmbComReadAndX() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
} for (final Map.Entry<String, String> entry : conditionMap.entrySet()) { if (docMap.get(entry.getKey()) instanceof final String value && value.matches(entry.getValue())) { if (logger.isDebugEnabled()) { logger.debug("[{}] match {}:{}", entry.getKey(), name, value); } return true; } } return false; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertEquals(context.getNotificationFilter(), decodedContext.getNotificationFilter()); assertArrayEquals(context.getLeaseKey().getKey(), decodedContext.getLeaseKey().getKey()); } @Test public void testConcurrentAccess() throws Exception { String directoryPath = "/test/concurrent";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/CharEscaperBuilder.java
*/ public char[] @Nullable [] toArray() { char[][] result = new char[max + 1][]; for (Entry<Character, String> entry : map.entrySet()) { result[entry.getKey()] = entry.getValue().toCharArray(); } return result; } /** * Convert this builder into a char escaper which is just a decorator around the underlying array * of replacement char[]s.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 3.9K bytes - Click Count (0)