- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,224 for works (0.15 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
// It would be nice to be able to return a real concurrent // collection like ConcurrentLinkedQueue, so that e.g. concurrent // iteration would work, but that would not be GWT-compatible. // We are not "just" inheriting from ArrayList here as this doesn't work for J2kt. return new AbstractList<T>() { final ArrayList<T> data = new ArrayList<>(); @Override public int size() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 17.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
} verify(autoCloseTree).close(); } /** * Test for unwrap with nested wrapping. * Verifies that unwrap works correctly with multiple levels of wrapping. */ @Test void testUnwrap_nestedWrapping() { // Create a chain of wrapped trees CustomSmbTree innerTree = mock(CustomSmbTree.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
public void testToStringRequiresValidConfig() { // Constructor with null config throws exception, so we can't test toString with null config // Instead, test that toString works with a valid config // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); // When String result = smbComTreeDisconnect.toString(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* Fully maps a file read-only in to memory as per {@link * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}. * * <p>Files are mapped from offset 0 to its length. * * <p>This only works for files ≤ {@link Integer#MAX_VALUE} bytes. * * @param file the file to map * @return a read-only buffer reflecting {@code file} * @throws FileNotFoundException if the {@code file} does not exist
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
assertFalse(item1.equals(null)); // Test with different class assertFalse(item1.equals("string")); } public void test_equals_withUnsortedInputs() { // Test that equals works correctly even when inputs are initially unsorted String[] inputs1 = { "z", "a", "m" }; String[] inputs2 = { "m", "z", "a" }; CharMappingItem item1 = new CharMappingItem(1L, inputs1, "output");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
return super.loadDataStoreNameList(); } }; // Note: ResourceUtil.getPluginJarFiles is a static method, so we can't mock it directly // The test will verify the method works with the actual ResourceUtil implementation // Test with reflection to access protected method List<String> names = testFactory.loadDataStoreNameList();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
return Collectors.collectingAndThen( Collectors.toMap(keyFunction, valueFunction, mergeFunction, LinkedHashMap::new), ImmutableMap::copyOf); } @SuppressWarnings("unchecked") // An empty map works for all types. public static <K, V> ImmutableMap<K, V> of() { return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY; } public static <K, V> ImmutableMap<K, V> of(K k1, V v1) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* hint, so this technique may fail at the whim of the JDK implementation, for example if a user * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for * ordinary tests. * * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time * period or an interrupt while waiting for the expected event will result in a {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
/** * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarked public class ImmutableLongArrayTest extends TestCase { // Test all creation paths very lazily: by assuming asList() works public void testOf0() { assertThat(ImmutableLongArray.of().asList()).isEmpty(); } public void testOf1() { assertThat(ImmutableLongArray.of(0).asList()).containsExactly(0L); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
@Test @DisplayName("Context should work with real configuration") void testWithRealConfiguration() throws CIFSException { // Given BaseConfiguration realConfig = new BaseConfiguration(true); // When BaseContext realContext = new BaseContext(realConfig); // Then assertNotNull(realContext, "Context should work with real configuration");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0)