Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 1,118 for onex (0.02 seconds)

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

    import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class AbstractInvocationHandlerTest extends TestCase {
    
      private static final ImmutableList<String> LIST1 = ImmutableList.of("one", "two");
      private static final ImmutableList<String> LIST2 = ImmutableList.of("three");
    
      public void testDelegate() {
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingList(LIST1)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        sizesToTest.retainAll(features);
        features.removeAll(sizesToTest);
    
        addImpliedFeatures(sizesToTest);
        sizesToTest.retainAll(asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL));
    
        logger.fine("   Sizes: " + formatFeatureSet(sizesToTest));
    
        if (sizesToTest.isEmpty()) {
          throw new IllegalStateException(
              name
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

        Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1);
        entries.add(entry(null, v3()));
        Map<K, V> other = newHashMap(entries);
    
        assertFalse(
            "Two Maps should not be equal if exactly one of them contains a null key.",
            getMap().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNullValue() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

        int initialSize = getMap().size();
        assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0()));
        assertEquals(
            "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size());
        expectMissing(e0());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.NON_STANDARD_TOSTRING;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

        CompactHashMap<Integer, String> map = CompactHashMap.create();
        map.put(1, "1");
        Entry<Integer, String> entry = getOnlyElement(map.entrySet());
        map.remove(1);
        entry.setValue("one");
        assertThat(map).containsEntry(1, "one");
      }
    
      public void testAllocArraysDefault() {
        CompactHashMap<Integer, String> map = CompactHashMap.create();
        assertThat(map.needsAllocArrays()).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       * java.util.TreeMap}).
       *
       * <p>Each method invocation on the set returned by this method results in exactly one method
       * invocation on the backing map or its {@code keySet} view, with one exception. The {@code
       * addAll} method is implemented as a sequence of {@code put} invocations on the backing map.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //      since, after all, this class is also a reentrant mutual exclusion lock!?
    
      /*
       * One of the key challenges of this class is to prevent lost signals, while trying hard to
       * minimize unnecessary signals. One simple and correct algorithm is to signal some other waiter
       * with a satisfied guard (if one exists) whenever any thread occupying the monitor exits the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/GcFinalization.java

      }
    
      /**
       * Tries to perform a "full" garbage collection cycle (including processing of weak references and
       * invocation of finalize methods) and waits for it to complete. Ensures that at least one weak
       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
Back to Top