Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 4,893 for object (0.05 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

      }
    
      public void testToArray_largeEnough() {
        Object[] actual = getList().toArray(new Object[getNumElements()]);
        assertArrayEquals("toArray(largeEnough) order should match list", createOrderedArray(), actual);
      }
    
      private static void assertArrayEquals(String message, Object[] expected, Object[] actual) {
        assertEquals(message, asList(expected), asList(actual));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

     *
     * @author Cliff Biffle
     * @author Colin Decker
     */
    @NullUnmarked
    public class SubscriberTest extends TestCase {
    
      private static final Object FIXTURE_ARGUMENT = new Object();
    
      private EventBus bus;
      private boolean methodCalled;
      private @Nullable Object methodArgument;
    
      @Override
      protected void setUp() throws Exception {
        bus = new EventBus();
        methodCalled = false;
        methodArgument = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      CacheBuilderFactory withValueStrengths(Set<Strength> valueStrengths) {
        this.valueStrengths = new LinkedHashSet<>(valueStrengths);
        return this;
      }
    
      Iterable<CacheBuilder<Object, Object>> buildAllPermutations() {
        Iterable<List<Object>> combinations =
            buildCartesianProduct(
                concurrencyLevels,
                initialCapacities,
                maximumSizes,
                expireAfterWrites,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        SettableFuture<Object> future2 = SettableFuture.create();
    
        // A more organic OOM from a toString implementation
        Object object =
            new Object() {
              @Override
              public String toString() {
                return new String(new char[50_000]);
              }
            };
        List<Object> list = Collections.singletonList(object);
        for (int i = 0; i < 10; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

        return ImmutableList.of();
      }
    
      @Override
      public String toString() {
        return "[]";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Set) {
          Set<?> that = (Set<?>) object;
          return that.isEmpty();
        }
        return false;
      }
    
      @GwtIncompatible // not used in GWT
      @Override
      boolean isHashCodeFast() {
        return true;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        /**
         * Returns {@literal true} if the object is an array. Returns {@literal false} if the object is {@literal null}.
         *
         * @param object
         *            the object
         * @return {@literal true} if the object is an array; {@literal false} if the object is {@literal null}
         */
        public static boolean isArray(final Object object) {
            return object != null && object.getClass().isArray();
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 41.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

        void deleteWebConfig() {
            final Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", NUM * 2);
            final String webConfigId = getWebConfigId();
            checkMethodBase(searchBody).delete("/api/admin/webconfig/setting/" + webConfigId).then().body("response.status", equalTo(0));
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/FilteredMultimapValues.java

    import java.util.Iterator;
    import java.util.Map.Entry;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation for {@link FilteredMultimap#values()}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class FilteredMultimapValues<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractCollection<V> {
      @Weak private final FilteredMultimap<K, V> multimap;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. tests/test_filter_pydantic_sub_model_pv2.py

                                    "type": "object",
                                    "title": "Tags",
                                    "default": {},
                                },
                            },
                        },
                        "ModelB": {
                            "title": "ModelB",
                            "required": ["username"],
                            "type": "object",
                            "properties": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            assertEquals(2, (Object) p1.size());
            Object o23 = p1.getComments("trees");
            assertEquals(List.of("#", "# List of trees", "#"), o23);
            Object o22 = p1.getProperty("trees");
            assertEquals("fir, oak, maple", o22);
            Object o21 = p1.getComments("fruits");
            assertEquals(List.of("#", "# List of good fruits", "#"), o21);
            Object o2 = p1.getProperty("fruits");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 16.3K bytes
    - Click Count (0)
Back to Top