Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 3,452 for object4 (0.05 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof AsList) {
            AsList that = (AsList) object;
            return this.parent.equals(that.parent);
          }
          // We could delegate to super now but it would still box too much
          if (!(object instanceof List)) {
            return false;
          }
          List<?> that = (List<?>) object;
          if (this.size() != that.size()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

    public class MultisetsImmutableEntryTest extends TestCase {
      private static final @Nullable String NE = null;
    
      private static <E extends @Nullable Object> Entry<E> entry(final E element, final int count) {
        return Multisets.immutableEntry(element, count);
      }
    
      private static <E extends @Nullable Object> Entry<E> control(E element, int count) {
        return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //             System.runFinalization();
      //         }
      //         System.exit(0);
      //     }
    
      //     public static TestSuite newTestSuite(Object... suiteOrClasses) {
      //         TestSuite suite = new TestSuite();
      //         for (Object suiteOrClass : suiteOrClasses) {
      //             if (suiteOrClass instanceof TestSuite)
      //                 suite.addTest((TestSuite) suiteOrClass);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypesTest.java

           * make a ton of sense to have a separate tests for each. But having tests for each doesn't
           * really hurt anything, and maybe it will serve a purpose in a future in which Java has a
           * built-in nullness feature?
           */
          "ExtendsObject",
        })
        <T extends Object> void withObjectBound(List<T> list) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypesTest.java

           * make a ton of sense to have a separate tests for each. But having tests for each doesn't
           * really hurt anything, and maybe it will serve a purpose in a future in which Java has a
           * built-in nullness feature?
           */
          "ExtendsObject",
        })
        <T extends Object> void withObjectBound(List<T> list) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. tests/test_tuples.py

                        "type": "object",
                        "properties": {
                            "x": {"title": "X", "type": "number"},
                            "y": {"title": "Y", "type": "number"},
                        },
                    },
                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
                        "properties": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. docs/bucket/versioning/DESIGN.md

    | ----------|-------------|----------------------------------------
    | xlHeader  | [4]byte     | `'X', 'L', '2', ' '`
    | xlVersion | [4]byte     | `'1', ' ', ' ', ' '`
    | xlMetaV2  | msgp object | All versions as single messagepack object
    | [EOF] | |
    
    ### v1.1+
    
    Version 1.1 added inline data, which will be placed after the metadata.
    
    Therefore, the metadata is wrapped as a binary array for easy skipping.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

      @AndroidIncompatible // depends on details of GC
      public void testFreesNextReference() {
        Iterator<Object> itr =
            new AbstractIterator<Object>() {
              @Override
              public Object computeNext() {
                return new Object();
              }
            };
        WeakReference<Object> ref = new WeakReference<>(itr.next());
        GcFinalization.awaitClear(ref);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        assertEquals(1, Iterators.size(registry.getSubscribers(new Object())));
        assertEquals(1, Iterators.size(registry.getSubscribers(1)));
    
        registry.register(new IntegerSubscriber());
        assertEquals(3, Iterators.size(registry.getSubscribers("")));
        assertEquals(1, Iterators.size(registry.getSubscribers(new Object())));
        assertEquals(2, Iterators.size(registry.getSubscribers(1)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        // it still should only have executed twice due to memoization
        assertEquals(2, countingSupplier.calls);
      }
    
      public void testOfInstanceSuppliesSameInstance() {
        Object toBeSupplied = new Object();
        Supplier<Object> objectSupplier = Suppliers.ofInstance(toBeSupplied);
        assertSame(toBeSupplied, objectSupplier.get());
        assertSame(toBeSupplied, objectSupplier.get()); // idempotent
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top